mirror of
https://github.com/UltimateMenu/UltimateMenu.git
synced 2025-09-19 20:26:35 +08:00
26 lines
500 B
Lua
26 lines
500 B
Lua
![]() |
-- https://dsc.gg/l7neg-
|
||
|
-- https://l7neg.tk
|
||
|
--©️ 2023 L7NEG
|
||
|
local WH = script("am_mp_warehouse")
|
||
|
local function Cloop(bool)
|
||
|
while bool do
|
||
|
if WH:is_active() then
|
||
|
menu.send_key_up(87)
|
||
|
menu.send_key_press(69)
|
||
|
sleep(1)
|
||
|
if not WH:is_active() then
|
||
|
menu.send_key_press(13)
|
||
|
menu.send_key_down(83)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
|
||
|
menu.add_toggle("Automatic Sell Crate AFK Female", function()
|
||
|
return boolcl
|
||
|
end, function()
|
||
|
boolcl = not boolcl
|
||
|
Cloop(boolcl)
|
||
|
|
||
|
end)
|