UI.AddHotkey(["Rage", "Anti Aim", "General", "Key assignment"], "Flicker", "Flicker")
UI.AddSliderInt(["Rage", "Anti Aim", "General"], "Delta", 35, 120)
if (UI.GetValue(["Rage", "Anti Aim", "General", "Delta"])== 0){ UI.SetValue(["Rage", "Anti Aim", "General", "Delta"], 90) }
var a = 0.0;
var b = true;
var on_prediction = function() {
if (!UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Flicker"]) || !Entity.GetLocalPlayer() || Entity.GetProp(Entity.GetLocalPlayer(), 'CBaseGrenade', 'm_vecVelocity') > 5 || Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_fFlags") == 0) { return }
if (Globals.Realtime() - a >= 0.22 + (b && 0.01 || -0.01)) {
AntiAim.SetOverride(1)
AntiAim.SetFakeOffset(UI.GetValue(["Rage", "Anti Aim", "General", "Delta"]) * (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "AA direction inverter"]) ? -1 : 1))
a = Globals.Realtime();
b = !b;
}
else {
AntiAim.SetFakeOffset(0)
}
}
Cheat.RegisterCallback("CreateMove", "on_prediction");