Works properly only if ur resolution is 1920x1080 cause im a shit coder
indicators.js - AnonFiles
anonfiles.com
JavaScript:
UI.AddCheckbox("Information box")
UI.AddColorPicker("Color 1")
UI.AddColorPicker("Color 2")
function setenabled() {
if (UI.GetValue("Script items", "Information box")) {
UI.SetEnabled("Color 1", true)
UI.SetEnabled("Color 2", true)
} else {
UI.SetEnabled("Color 1", false)
UI.SetEnabled("Color 2", false)
}
}
function infbox() {
if (UI.GetValue("Script items", "Information box")) {
var screen = Render.GetScreenSize();
var real = Local.GetRealYaw();
var fake = Local.GetFakeYaw();
var amount = Math.min(Math.abs(real - fake) / 2, 60).toFixed(1);
font = Render.AddFont("Verdana", 10, 100);
col = UI.GetColor("Script items", "Color 1")
col2 = UI.GetColor("Script items", "Color 2")
/* black lines(made it gradient for no reason) */
Render.GradientRect(screen[0] / 2.33 + 1, screen[1] / 15, 280, 50, 1, [0, 0, 0, 255], [0, 0, 0, 255]);
Render.GradientRect(screen[0] / 2.33 + 1, screen[1] / 8.7, 280, 50, 1, [0, 0, 0, 255], [0, 0, 0, 255]);
/* gradient lines */
Render.GradientRect(screen[0] / 2.33 + 1, screen[1] / 15.8, 280, 3, 1, [col[0], col[1], col[2], col[3]], [col2[0], col2[1], col2[2], col2[3]]);
Render.GradientRect(screen[0] / 2.33 + 1, screen[1] / 8.9, 280, 3, 1, [col[0], col[1], col[2], col[3]], [col2[0], col2[1], col2[2], col2[3]]);
Render.GradientRect(screen[0] / 2.33 + 1, screen[1] / 6.2, 280, 3, 1, [col[0], col[1], col[2], col[3]], [col2[0], col2[1], col2[2], col2[3]]);
Render.GradientRect(screen[0] / 2.33 + 1, screen[1] / 15.1, 3, 105, 1, [col[0], col[1], col[2], col[3]], [col[0], col[1], col[2], col[3]]);
/* text */
if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter")) {
Render.StringCustom(screen[0] / 2.3, screen[1] / 14.4, 0, "one", [255, 255, 255, 255], font);
Render.StringCustom(screen[0] / 2.24, screen[1] / 14.4, 0, "tap", [col[0], col[1], col[2], col[3]], font);
} else {
Render.StringCustom(screen[0] / 2.3, screen[1] / 14.4, 0, "one", [col[0], col[1], col[2], col[3]], font);
Render.StringCustom(screen[0] / 2.24, screen[1] / 14.4, 0, "tap", [255, 255, 255, 255], font);
}
Render.StringCustom(screen[0] / 2.168, screen[1] / 14.4, 0, "desync: ", [255, 255, 255, 255], font);
Render.StringCustom(screen[0] / 2.042, screen[1] / 14.4, 0, amount, [col[0], col[1], col[2], col[3]], font);
if (UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction")) {
Render.StringCustom(screen[0] / 1.967, screen[1] / 14.4, 0, "freestanding: [on]", [col[0], col[1], col[2], col[3]], font);
} else {
Render.StringCustom(screen[0] / 1.967, screen[1] / 14.4, 0, "freestanding: [off]", [255, 255, 255, 255], font);
}
if (UI.GetValue("Anti-Aim", "Rage Anti-Aim", "At targets")) {
Render.StringCustom(screen[0] / 2.3, screen[1] / 11.2, 0, "At targets: [on]", [col[0], col[1], col[2], col[3]], font);
} else {
Render.StringCustom(screen[0] / 2.3, screen[1] / 11.2, 0, "At targets: [off]", [255, 255, 255, 255], font);
}
Render.StringCustom(screen[0] / 2.025, screen[1] / 11.2, 0, "Fakelag:", [255, 255, 255, 255], font);
Render.GradientRect(screen[0] / 1.91 + 1, screen[1] / 10.3, 58, 3, 1, [255, 255, 255, 255], [255, 255, 255, 255]);
Render.GradientRect(screen[0] / 1.91 + 1, screen[1] / 10.3, UI.GetValue("Anti-Aim", "Fake-Lag", "Limit") * 3.67, 3, 1, [col[0], col[1], col[2], col[3]], [col2[0], col2[1], col2[2], col2[3]]);
Render.StringCustom(screen[0] / 1.8, screen[1] / 11.2, 0, " (" + UI.GetValue("Anti-Aim", "Fake-Lag", "Limit") + ")", [col[0], col[1], col[2], col[3]], font);
if (UI.IsHotkeyActive("Rage", "Exploits", "Doubletap")) {
Render.StringCustom(screen[0] / 2.3, screen[1] / 8.4, 0, "Doubletap: [on]", [col[0], col[1], col[2], col[3]], font);
} else {
Render.StringCustom(screen[0] / 2.3, screen[1] / 8.4, 0, "Doubletap: [off]", [255, 255, 255, 255], font);
}
if (UI.IsHotkeyActive("Rage", "Exploits", "Hide shots")) {
Render.StringCustom(screen[0] / 2.02, screen[1] / 8.4, 0, "Onshot Anti-Aim: [on]", [col[0], col[1], col[2], col[3]], font);
} else {
Render.StringCustom(screen[0] / 2.02, screen[1] / 8.4, 0, "Onshot Anti-Aim: [off]", [255, 255, 255, 255], font);
}
if (UI.IsHotkeyActive("Rage", "General", "Force body aim")) {
Render.StringCustom(screen[0] / 2.3, screen[1] / 7.2, 0, "Force baim: [on]", [col[0], col[1], col[2], col[3]], font);
} else {
Render.StringCustom(screen[0] / 2.3, screen[1] / 7.2, 0, "Force baim: [off]", [255, 255, 255, 255], font);
}
if (UI.IsHotkeyActive("Rage", "General", "Force safe point")) {
Render.StringCustom(screen[0] / 2.02, screen[1] / 7.2, 0, "Force safe point: [on]", [col[0], col[1], col[2], col[3]], font);
} else {
Render.StringCustom(screen[0] / 2.02, screen[1] / 7.2, 0, "Force safe point: [off]", [255, 255, 255, 255], font);
}
}
}
function onDraw() {
setenabled();
infbox();
}
Cheat.RegisterCallback("Draw", "onDraw")