Начинающий
-
Автор темы
- #1
Код:
local pui = require("neverlose/pui")
local top = pui.create("table")
local defensive = top:switch("Defensive Anti-Aim", false, function(settings)
return {
pitch = settings:combo("Pitch", {"None", "Down", "Up", "Random", "PAKETA", "Semi-Up", "Semi-Down"}),
yaw = settings:combo("Yaw", {"None", "Spinbot", "Opposite", "SideWays", "Random", "3-way", "5-way"}),
disablers = settings:selectable("Disablers", {"Freestanding", "Manual Yaw Base"}),
}
end)
local values = {
pitch_value = 0,
yaw_value = 0,
PAKETA = 0,
spin = 0,
opposite = 0,
sideways = 0,
way5 = {-1,0.5,0,0.5,1},
way3 = {-1,0,1},
}
local ref = {
hidden = ui.find("Aimbot", "Anti Aim", "Angles", "Yaw", "Hidden"),
}
events.createmove:set(function(cmd)
local way5_value = 180 * values.way5[globals.tickcount % 5 + 1]
local way3_value = 180 * values.way3[globals.tickcount % 3 + 1]
if values.PAKETA >= 89 then
values.PAKETA = -89
else
values.PAKETA = values.PAKETA + 1
end
if values.spin >= 180 then
values.spin = -180
else
values.spin = values.spin + 20
end
if values.opposite >= 180 then
values.opposite = -180
else
values.opposite = values.opposite + 180
end
if values.sideways >= 180 then
values.sideways = -180
else
values.sideways = values.sideways + 90
end
if defensive.pitch:get() == "Down" then pitch_value = 89 elseif defensive.pitch:get() == "Up" then pitch_value = -89 elseif defensive.pitch:get() == "Random" then pitch_value = utils.random_int(-89,89) elseif defensive.pitch:get() == "PAKETA" then pitch_value = values.PAKETA elseif defensive.pitch:get() == "Semi-Up" then pitch_value = -44 elseif defensive.pitch:get() == "Semi-Down" then pitch_value = 44 end
if defensive.yaw:get() == "Spinbot" then yaw_value = values.spin elseif defensive.yaw:get() == "Opposite" then yaw_value = values.opposite elseif defensive.yaw:get() == "SideWays" then yaw_value = values.sideways elseif defensive.yaw:get() == "Random" then yaw_value = utils.random_int(-180,180) elseif defensive.yaw:get() == "3-way" then yaw_value = way3_value elseif defensive.yaw:get() == "5-way" then yaw_value = way5_value end
if defensive:get() then
ref.hidden:set(true)
rage.antiaim:override_hidden_pitch(pitch_value)
rage.antiaim:override_hidden_yaw_offset(yaw_value)
else
ref.hidden:set(false)
end
end)