var _0xb429 = ["Indicator", "Indicator color", "Misc", "JAVASCRIPT", "Script items", "Verdana", "toFixed", "abs", "min"];
UI.AddCheckbox(_0xb429[0]);
function draw() {
local = Entity.GetLocalPlayer();
if (!UI.GetValue(_0xb429[2], _0xb429[3], _0xb429[4], _0xb429[0]) || !Entity.IsValid(local) || !Entity.IsAlive(local)) {
return
};
font = Render.AddFont("verdana"[5], 8, 400);
x = screen_size[0];
y = screen_size[1];
col = UI.GetColor(_0xb429[2], _0xb429[3], _0xb429[4], _0xb429[1]);
real_yaw = Local.GetRealYaw();
fake_yaw = Local.GetFakeYaw();
delta = Math[_0xb429[8]](Math[_0xb429[7]](real_yaw - fake_yaw) / 2, 60)[_0xb429[6]](0);
delta_size = Render.TextSizeCustom(delta, font);
Render.StringCustom(x / 2, y / 2 + 20, 1, delta, [255, 255, 255, 255], font);
Render.Circle(x / 2 + delta_size[0] - 2, y / 2 + 25, 2, [255, 255, 255, 255]);
Render.GradientRect(x / 2, y / 2 + 40, (125 / 60) * delta, 5, 1, col, [0, 0, 0, 0]);
Render.GradientRect(x / 2 - (125 / 60) * delta + 1, y / 2 + 40, (125 / 60) * delta, 5, 1, [0, 0, 0, 0], col)
}