SCRPT Lua
SCRPT Lua
set_border_color|0,191,255,100
set_bg_color|0,0,0,255
add_label_with_icon|big|`cProxy By Aizen``|left|14788|
add_spacer|small|
add_label|small|``Hello `c]]..getLocal().name..[[ |left|
add_label|small|``if you have any question, feel free to ask me!!``|left|
add_spacer|small|
add_label|small|`c----------------------------------------------------``|left|
add_label_with_icon|small|``Your UID `c[`0]]..getLocal().userId..[[`c]``|left|482|
add_label_with_icon|small|``Your Dicord Id `c[`0]]..getDiscordID()..[[`c]``|left|
482|
add_label_with_icon|small|``Your Position `c[`0]]..(getLocal().pos.x // 32)..[[`0 -
]]..(getLocal().pos.y // 32)..[[`c]``|left|482|
add_label|small|`c----------------------------------------------------``|left|
add_label_with_icon|big|`cBe Careful! |left|3102|
add_spacer|small|
add_spacer|small|
add_label_with_icon|small|``Do `c/Menu ``For Commands|left|482|
add_label_with_icon|small|``Press Friend Button ``For Several Features|left|482|
add_label_with_icon|small|``If You Use `cPos1 ``It Will Drop Left|left|482|
add_label_with_icon|small|``If You Use `cPos2 ``It Will Drop Right|left|482|
add_spacer|small|
add_spacer|small|
add_custom_button|kapa1|textLabel:`c Next
;middle_colour:200;border_colour:1000000000000;display:block;|
]]
sendVariant({[0] = "OnDialogRequest", [1] = dialog})
menu = [[
set_border_color|0,191,255,100
set_bg_color|0,0,0,255
add_label_with_icon|big|`cProxy By Aizen``|left|14788|
add_spacer|big|
add_label_with_icon|big|`cDrop Commands``|left|7188|
add_spacer|small|
add_label_with_icon|small|``[`c/wd``] Drop World Lock|left|482|
add_label_with_icon|small|``[`c/dd``] Drop Diamond Lock|left|482|
add_label_with_icon|small|``[`c/bd``] Drop Blue Gem Lock|left|482|
add_label_with_icon|small|``[`c/daw``] Drop All Locks|left|482|
add_spacer|small|
add_label_with_icon|big|`cWin/Pos Commands``|left|7188|
add_spacer|small|
add_label_with_icon|small|``[`c/w1``] Drop Lock To Winner 1[`4Soon``]|left|482|
add_label_with_icon|small|``[`c/w2``] Drop Lock To Winner 2[`4Soon``]|left|482|
add_label_with_icon|small|``[`c/p1``] Player 1's Positon [`cLeft Room``]|left|482|
add_label_with_icon|small|``[`c/p2``] Player 2's Positon [`cRight Room``]|left|482|
add_label_with_icon|small|``[`c/take``] Take Bets [`c/p1`` , `c/p2``]|left|482|
add_spacer|small|
add_spacer|small|
add_custom_button|kapa3|textLabel:`c Next
;middle_colour:200;border_colour:1000000000000;display:block;|
]]
AdvMenu = [[
set_border_color|0,191,255,100
set_bg_color|0,0,0,255
add_label_with_icon|big|`cAdvanced Menu|left|14788|
add_spacer|small|
text_scaling_string|asdasdasdsaas|
add_button_with_icon|Take|`cTake Bet|staticBlueFrame|6140||
add_button_with_icon|w1|`4Soon|staticBlueFrame|7188||
add_button_with_icon|w2|`4Soon|staticBlueFrame|7188||
add_button_with_icon|wrench|`4Soon|staticBlueFrame|32||
add_button_with_icon||END_LIST|noflags|0||
add_button_with_icon|slog|`4Soon|staticBlueFrame|758||
add_button_with_icon|p1|`cPos1|staticBlueFrame|1422||
add_button_with_icon|p2|`cPos2|staticBlueFrame|1422||
add_button_with_icon|menu|`cMenu|staticBlueFrame|3524||
add_button_with_icon||END_LIST|noflags|0||
add_spacer|small|
add_custom_button|wh|textLabel:`c
Next ;middle_colour:200;border_colour:1000000000000;display:b
lock;|
]]
pdelay = 100
function checkitm(id)
for _, inv in pairs(getInventory()) do
if inv.id == id then
return inv.amount
end
end
return 0
end
function console(str)
logToConsole("``[`cAizen``] "..str)
end
function collect()
tiles = {
{p1x, p1y},
{p2x, p2y}
}
for _, obj in pairs(getWorldObject()) do
for _, tiles in pairs(tiles) do
if (obj.pos.x)//32 == tiles[1] and (obj.pos.y)//32 == tiles[2] then
sendPacketRaw(false, {type=11,value=obj.oid,x=obj.pos.x,y=obj.pos.y})
end
end
end
end
AddHook("onTextPacket", "packet",
function(type,packet)
if packet:find("action|friends") then
sendVariant({[0] = "OnDialogRequest", [1] = AdvMenu})
end
if packet:find("/daw") then
DropItem(7188, checkitm(7188))
DropItem(1796, checkitm(1796))
DropItem(242, checkitm(242))
return true
end
AddHook("OnVarlist", "Hook",
function(var)
if var[0] == "OnDialogRequest" then
if var[1]:find("Drop World Lock") or var[1]:find("Drop Diamond Lock") or
var[1]:find("Drop Blue Gem Lock")
then return true
end
end
end)