_DEBUG = true
local AntiAim = require("neverlose/anti_aim")
local Tab = ui.create("Main")
local AAPreset_1 = Tab:switch("Anti-Aim preset [1]", false)
local AA = {
YawOffset = ui.find("aimbot", "anti aim", "angles", "yaw", "offset"),
LeftDesync = ui.find("aimbot", "anti aim", "angles", "body yaw", "left limit"),
RightDesync = ui.find("aimbot", "anti aim", "angles", "body yaw", "right limit")
}
local Precache = {
YawOffset = ui.find("aimbot", "anti aim", "angles", "yaw", "offset"),
LeftDesync = ui.find("aimbot", "anti aim", "angles", "body yaw", "left limit"),
RightDesync = ui.find("aimbot", "anti aim", "angles", "body yaw", "right limit")
}
function DesyncSide()
local Side = 0
if AntiAim.get_inverter_state() == false then
Side = 1
else
Side = -1
end
return Side
end
local function AntiAimPresets()
local InverseRoll = math.floor(globals.realtime * -90) % -40
local AdaptiveFluctate = math.random(7,14)
local AdaptiveInverseRoll = InverseRoll + (AdaptiveFluctate * 2)
if AAPreset_1:get() then
AA.YawOffset:override(AdaptiveInverseRoll)
AA.LeftDesync:override(58 - AdaptiveFluctate)
AA.RightDesync:override(58 - AdaptiveFluctate)
end
end
function HookDraw()
AntiAimPresets()
end
events.render:set(HookDraw)