Как по кнопке написать, Legit aa на дефолт aa nixware?

Xxxmyrbi

Nixre1377: Сливки шоу
Registered
Joined
May 18, 2020
Messages
953
Помогите пожалуйста

local Button = ui.add_key_bind("Legit aa", "Legit aa enable", 0, 1)
local none = ui.get_combo_box("antihit_fakeangles_pitch")
local backward = ui.get_combo_box("antihit_fakeangles_baseyaw")
client.register_callback("paint", function()

local bind_active = Button:is_active()

if bind_active then

backward:set_value(0, false)
none:set_value(0, false)
end
if bind_active == false then
backward:set_value(1, true)
none:set_value(1, true)
end
end)
 
Lua:
local legitkey = ui.add_key_bind("Legit aa key", "legitaa", 0, 2)
local fakepitch = ui.get_combo_box("antihit_antiaim_pitch")
local fakeyaw = ui.get_combo_box("antihit_antiaim_yaw")
local nixware_aa = ui.get_check_box("antihit_antiaim_enable")

fakepitch:set_value(0)
fakeyaw:set_value(0)

local function aanix()
    if legitkey:is_active() then
        nixware_aa:set_value(true)
    else
        nixware_aa:set_value(false)
    end
end

client.register_callback("paint", aanix)

для безопасности можешь воткнуть set_value'ы в цикл)
 
Back
Top