Начинающий
-
Автор темы
- #1
Луа для Аимвара на питч 0 в мануалах
code_language.lua:
local USER_NAME = 'СЮДА СВОЙ НИК'
local LOCAL_WATERMARK = draw.CreateFont("Arial", 13, 900)
local SIZE_X, SIZE_Y = draw.GetScreenSize()
local VERTICAL, HORIZONTAL = 30, 70
local FONT_INDICATOR = draw.CreateFont("Arial", 15, 1300)
local ct2_reference = gui.Reference("SETTINGS");
local REFERENCE = gui.Tab(ct2_reference ,"aawindow", "nl_pitch")
local WELCOME_BOX = gui.Groupbox(REFERENCE, "добро пожаловать в nl pitch, " .. USER_NAME .. "!")
local MASTER_CHECKBOX = gui.Checkbox(WELCOME_BOX, "master_enable", "включить луа", true)
local pitch = gui.Groupbox(WELCOME_BOX, "nl pitch")
pitch:SetDescription("Toggle/hold key")
local fake_flick_pitch1 = gui.Checkbox(pitch, "fake_flick_pitch", "Enable nl pitch for manual AAs(left)", false)
local last_fake_flick_tick = 0
local fake_flick_pitch2 = gui.Checkbox(pitch, "fake_flick_pitch", "Enable nl pitch for manual AAs(right)", false)
local last_fake_flick_tick = 0
local function nl_pitch()
if fake_flick_pitch1:GetValue() then
gui.SetValue("rbot.antiaim.advanced.pitch",2)
else
gui.SetValue("rbot.antiaim.advanced.pitch",1)
end
end
local function nl_pitch2()
if fake_flick_pitch1:GetValue() then
gui.SetValue("rbot.antiaim.advanced.pitch", 2)
end
end
local manualsgroup = gui.Groupbox(WELCOME_BOX, "мэналы")
local manuals = gui.Checkbox(manualsgroup, "manuals", "мануалы вкл", false)
local manual_right = gui.Checkbox(manualsgroup, "manual_right", "мэнл в право", false)
local manual_left = gui.Checkbox(manualsgroup, "manual_left", "мэнл в лево", false)
local manual_back = gui.Checkbox(manualsgroup, "manual_back", "мэнл назад(просто включить)", false)
local default_yaw = 179
local function manual_aa_yaw_func()
if MASTER_CHECKBOX:GetValue() and manuals:GetValue() then
local current_right_value = manual_right:GetValue()
local current_left_value = manual_left:GetValue()
local current_back_value = manual_back:GetValue()
if current_right_value then
manual_left:SetValue(false)
local yaw_value = -90
gui.SetValue("rbot.antiaim.base", yaw_value)
elseif current_left_value then
manual_right:SetValue(false)
local yaw_value = 90
gui.SetValue("rbot.antiaim.base", yaw_value)
elseif current_back_value then
manual_right:SetValue(false)
local yaw_value = 180
gui.SetValue("rbot.antiaim.base", yaw_value)
end
end
end
callbacks.Register("Draw", manual_aa_yaw_func)
callbacks.Register("Draw", nl_pitch)
callbacks.Register("Draw", nl_pitch2)
Последнее редактирование: