var jitter_cache = UI.GetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"])
var yaw_cache = UI.GetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"])
UI.AddCheckbox(["Rage", "Anti Aim", "Directions"],"Safe head");
function Safe_Head()
{
localplayer_index = Entity.GetLocalPlayer( );
if (UI.GetValue(["Rage", "Anti Aim", "Directions","Safe head"]) && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]))
{
UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 10);
UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], 0);
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(0);
AntiAim.SetRealOffset(-30);
}
else
{
UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], jitter_cache);
UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], yaw_cache);
AntiAim.SetOverride(0);
}
}
function Main()
{
Cheat.RegisterCallback("CreateMove", "Safe_Head");
}
Main();