var jitter_cache = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset")
var yaw_cache = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset")
UI.AddCheckbox("Safe head");
UI.AddHotkey("Safe head key");
function Safe_Head()
{
if (UI.IsHotkeyActive("Script items", "Safe head key") && UI.GetValue("Script items", "Safe head") && UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk"))
{
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 10);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(0);
AntiAim.SetRealOffset(-30);
}
else
{
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yaw_cache);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", jitter_cache);
AntiAim.SetOverride(0);
}
}
Cheat.RegisterCallback("CreateMove", "Safe_Head");