UI.AddCheckbox("Indicators"), UI.AddColorPicker("Indicators color")
function desyncind() {
if (UI.GetValue("Script items", "Indicators") == 1) {
color = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "Indicators color");
var bc = Render.GetScreenSize();
x = bc[0];
y = bc[1];
font = Render.AddFont("Verdana", 7, 400);
local = Entity.GetLocalPlayer();
real_yaw = Local.GetRealYaw();
fake_yaw = Local.GetFakeYaw();
delta = Math.min(Math.abs(real_yaw - fake_yaw) / 2, 60).toFixed(0);
delta_size = Render.TextSizeCustom(delta, font);
var alpha = Math.sin(Math.abs(-3.14 + Globals.Curtime() * 5.333333333333333 % 6.28)) * 255;
Render.StringCustom(x / 2, y / 2 + 30, 1, delta, [255, 255, 255, 255], font);
Render.StringCustom(x / 2, y / 2 + 55, 1, "SixSense", [255, 255, 255, 255], font);
Render.GradientRect(x / 2, y / 1.975 + 45, .983 * delta, 3.3, 1, [color[0], color[1], color[2], alpha], [color[0], color[1], color[2], 0]);
Render.GradientRect(x / 2 - .983 * delta + 1, y / 1.975 + 45, .983 * delta, 3.3, 1, [color[0], color[1], color[2], 0], [color[0], color[1], color[2], alpha]); } }
Cheat.RegisterCallback("Draw", "desyncind");