-
Автор темы
- #1
JavaScript:
UI.AddCheckbox("Custom aa");
UI.AddCheckbox("Off fakelags onstand")
UI.AddDropdown("Presets", ["None", "Lowdelta", "Fekijj +w" ]);
UI.AddLabel("---------------STANDING---------------");
UI.AddSliderInt("YAW when standing", -180, 180);
UI.AddSliderInt("Body yaw when standing", -60, 60);
UI.AddSliderInt("Real offset when standing", 0, 60);
UI.AddSliderInt("LBY offset when standing", 0, 60);
UI.AddCheckbox("At targets onstand");
UI.AddDropdown("AA Type when standing", [ "Normal", "Opposite", "Sway" ]);
UI.AddLabel("---------------WALKING---------------");
UI.AddSliderInt("YAW when walking", -180, 180);
UI.AddSliderInt("Body yaw when walking", -60, 60);
UI.AddSliderInt("Real offset when walking", -60, 60);
UI.AddSliderInt("LBY offset when walking", 0, 60);
UI.AddCheckbox("At targets onwalk");
UI.AddDropdown("AA Type when walking", [ "Normal", "Opposite", "Sway" ]);
UI.AddLabel("---------------MOVING---------------");
UI.AddSliderInt("YAW when moving", -180, 180);
UI.AddSliderInt("Body yaw when moving", -60, 60);
UI.AddSliderInt("Real yaw when moving", -60, 60);
UI.AddSliderInt("LBY offset when moving", 0, 60);
UI.AddCheckbox("At targets onmove");
UI.AddDropdown("AA Type when moving", [ "Normal", "Opposite", "Sway" ]);
var velocity = parseFloat(getVelocity(Entity.GetLocalPlayer()));
function getVelocity(index) {
players = Entity.GetPlayers();
for (i = 0; i < players['length']; i++) {;
}; {
var velocity = Entity.GetProp(index, 'CBasePlayer', 'm_vecVelocity[0]');
var velocity_result = Math['sqrt'](velocity[0] * velocity[0] + velocity[1] * velocity[1])
}
return velocity_result
}
function aa()
{
if(UI.GetValue("Script items", "Custom aa"))
{
if(getVelocity(Entity.GetLocalPlayer()) <= 3)
{
if(UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter"))
{
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", UI.GetValue("Script items", "AA Type when walking"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", UI.GetValue("Script items", "YAW when standing"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", UI.GetValue("Script items", "At targets onstand"));
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(UI.GetValue("Script items", "Body yaw when standing"));
AntiAim.SetRealOffset(UI.GetValue("Script items", "Real offset when standing"));
AntiAim.SetLBYOffset(0 - UI.GetValue("Script items", "LBY offset when standing"));
}
else
{
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", UI.GetValue("Script items", "AA Type when walking"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", UI.GetValue("Script items", "YAW when standing"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", UI.GetValue("Script items", "At targets onstand"));
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(0 - UI.GetValue("Script items", "Body yaw when standing"));
AntiAim.SetRealOffset(0 - UI.GetValue("Script items", "Real offset when standing"));
AntiAim.SetLBYOffset(UI.GetValue("Script items", "LBY offset when standing"));
}
}
if(getVelocity(Entity.GetLocalPlayer()) > 3 && getVelocity(Entity.GetLocalPlayer()) <= 150)
{
if(UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter"))
{
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", UI.GetValue("Script items", "AA Type when walking"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", UI.GetValue("Script items", "YAW when walking"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", UI.GetValue("Script items", "At targets onwalk"));
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(UI.GetValue("Script items", "Body yaw when walking"));
AntiAim.SetRealOffset(UI.GetValue("Script items", "Real offset when walking"));
AntiAim.SetLBYOffset(0 - UI.GetValue("Script items", "LBY offset when walking"));
}
else
{
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", UI.GetValue("Script items", "AA Type when walking"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", UI.GetValue("Script items", "YAW when walking"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", UI.GetValue("Script items", "At targets onwalk"));
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(0 - UI.GetValue("Script items", "Body yaw when walking"));
AntiAim.SetRealOffset(0 - UI.GetValue("Script items", "Real offset when walking"));
AntiAim.SetLBYOffset(UI.GetValue("Script items", "LBY offset when walking"));
}
}
if(getVelocity(Entity.GetLocalPlayer()) >= 151)
{
if(UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter"))
{
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", UI.GetValue("Script items", "AA Type when moving"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", UI.GetValue("Script items", "YAW when moving"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", UI.GetValue("Script items", "At targets onmove"));
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(UI.GetValue("Script items", "Body yaw when moving"));
AntiAim.SetRealOffset(UI.GetValue("Script items", "Real yaw when moving"));
AntiAim.SetLBYOffset(0 - UI.GetValue("Script items", "LBY offset when moving"));
}
else
{
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", UI.GetValue("Script items", "AA Type when moving"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", UI.GetValue("Script items", "YAW when moving"));
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", UI.GetValue("Script items", "At targets onmove"));
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(0 - UI.GetValue("Script items", "Body yaw when moving"));
AntiAim.SetRealOffset(0 - UI.GetValue("Script items", "Real yaw when moving"));
AntiAim.SetLBYOffset(UI.GetValue("Script items", "LBY offset when moving"));
}
}
}
else
{
AntiAim.SetOverride(0);
}
}
function presets()
{
if(UI.GetValue("Script items", "Presets") == 1)
{
UI.SetValue("Script items", "Yaw offset when moving", 10)
UI.SetValue("Script items", "Body yaw when walking", 0);
UI.SetValue("Script items", "Real offset when walking", -20);
UI.SetValue("Script items", "LBY offset when walking", 0);
UI.SetValue("Script items", "AA Type when walking", 1);
UI.SetValue("Script items", "At targets onwalk", 1);
UI.SetValue("Script items", "Presets", 0);
}
if(UI.GetValue("Script items", "Presets") == 2)
{
UI.SetValue("Script items", "Yaw offset when standing", 3);
UI.SetValue("Script items", "Body yaw when standing", 4);
UI.SetValue("Script items", "Real offset when standing", 60);
UI.SetValue("Script items", "LBY offset when standing", -60);
UI.SetValue("Script items", "AA Type when standing", 2);
UI.SetValue("Script items", "Yaw offset when moving", 10)
UI.SetValue("Script items", "Body yaw when walking", 0);
UI.SetValue("Script items", "Real offset when walking", -20);
UI.SetValue("Script items", "LBY offset when walking", 0);
UI.SetValue("Script items", "AA Type when walking", 1);
UI.SetValue("Script items", "Yaw offset when moving", 3);
UI.SetValue("Script items", "Body yaw when moving", 4);
UI.SetValue("Script items", "Real offset when moving", 60);
UI.SetValue("Script items", "LBY offset when moving", 60);
UI.SetValue("Script items", "AA Type when moving", 2);
UI.SetValue("Script items", "At targets onstand", 1);
UI.SetValue("Script items", "At targets onwalk", 1);
UI.SetValue("Script items", "At targets onmove", 1);
UI.SetValue("Script items", "Presets", 0);
}
}
function fakelags()
{
if(UI.GetValue("Script items", "Off fakelags onstand"))
{
if(getVelocity(Entity.GetLocalPlayer()) <= 3)
{
UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 0);
}
else
{
UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 16);
}
}
}
Global.RegisterCallback("CreateMove", "presets");
Global.RegisterCallback("CreateMove", "fakelags");
Global.RegisterCallback("CreateMove", "aa");
Global.RegisterCallback("CreateMove", "getVelocity");