Voinszb
Voinszb
GrowID = GetLocal().name
SaveConfig = "save.txt" --//Don't Change This//--
filename =
"/storage/emulated/0/Android/data/launcher.powerkuy/ScriptLua/"..SaveConfig
function log(str)
LogToConsole(systemlog.."`o"..str)
end
function drop(id,amount)
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|"..amount.."\n\n")
end
function cty(id,id2,amount)
for _, inv in pairs(GetInventory()) do
if inv.id == id then
if inv.amount < amount then
ct = {}
ct.x = 0
ct.y = 0
ct.type = 10
ct.value = id2
ct.px = 0
ct.py = 0
ct.state = 0
ct.netid = 0
SendPacketRaw(false, ct)
end
end
end
end
function place(id,x,y)
pkt = {}
pkt.x = GetLocal().posX
pkt.y = GetLocal().posY
pkt.px = x;
pkt.py = y;
pkt.type = 3
pkt.value = id;
SendPacketRaw(false, pkt)
Sleep(200)
end
function wear(id)
ct = {}
ct.type = 10
ct.value = id
SendPacketRaw(false, ct)
end
function ont(str)
sa = {}
sa.v0 = "OnTalkBubble"
sa.v1 = GetLocal().netID
sa.v2 = str
SendVariant(sa)
end
function checkamount(id)
for _, inv in pairs(GetInventory()) do
if inv.id == id then
return inv.amount
end
end
return 0
end
function take()
tiles = {
{xt1,yt1},
{xt2,yt2}
}
for _, obj in pairs(GetObjectList()) do
for _, tiles in pairs(tiles) do
if (obj.posX)//32 == tiles[1] and (obj.posY)//32 == tiles[2] then
local pkt = {}
pkt.type = 11
pkt.value = obj.id
pkt.x = obj.posX
pkt.y = obj.posY
SendPacketRaw(false,pkt)
table.insert(data, {id=obj.itemid, count=obj.amount})
end
end
end
Data()
end
function Data()
Amount = 0
for _, list in pairs(data) do
Name = ""
if list.id == 11550 then
Name = "`bBlack Gem Lock"
Amount = Amount + list.count * 1000000
elseif list.id == 7188 then
Name = "`eBlue Gem Lock"
Amount = Amount + list.count * 10000
elseif list.id == 1796 then
Name = "`1Diamond Lock"
Amount = Amount + list.count * 100
elseif list.id == 242 then
Name = "`9World Lock"
Amount = Amount + list.count
end
end
data = {}
end
function overlay(str)
ov = {}
ov.v0 = "OnTextOverlay"
ov.v1 = str
SendVariant(ov)
end
function inv(id)
for _, item in pairs(GetInventory()) do
if (item.id == id) then
return item.amount
end
end
return 0
end
function tax(percent,maxvalue)
if tonumber(percent) and tonumber(maxvalue) then
return (maxvalue*percent)/100
end
end
function math.percent(percent,maxvalue)
if tonumber(percent) and tonumber(maxvalue) then
return (maxvalue*percent)/100
end
return false
end
function eattax(x, y)
if math.abs(GetLocal().posX // 32 - x) > 8 or math.abs(GetLocal().posY // 32 - y) >
8 then
overlay("`9[Not Found]")
return nil
end
if GetTiles(x, y).collidable then
overlay("`9[Not Found]")
return nil
end
local Z = 0
if not GetTiles(x + 1, y).collidable then
Z = 1
elseif not GetTiles(x - 1, y).collidable then
Z = -1
else
overlay("`9[Make Sure U Break Any Block In Position Save]")
return nil
end
SendPacketRaw(false, { type = 0, x = (x + Z) * 32, y = y * 32, state = (Z == 1 and
48 or 32) })
end
tile = {
pos1 = {
{x = xgem1, y = ygem1}, {x = xgem1, y = ygem2}, {x = xgem1, y = ygem3}, {x = xgem2,
y = ygem1}, {x = xgem3, y = ygem1}
},
pos2 = {
{x = xgemm1, y = ygemm1}, {x = xgemm1, y = ygemm2}, {x = xgemm1, y = ygemm3}, {x =
xgemm2, y = ygemm1}, {x = xgemm3, y = ygemm1}
}
}
tile = {
pos1 = {
{x = xsv1, y = ysv1}, {x = xsv1, y = ysv2}, {x = xsv1, y = ysv3}, {x = xsv2, y =
ysv1}, {x = xsv3, y = ysv1}
},
pos2 = {
{x = xsvv1, y = ysvv1}, {x = xsvv1, y = ysvv2}, {x = xsvv1, y = ysvv3}, {x = xsvv2,
y = ysvv1}, {x = xsvv3, y = ysvv1}
}
}
function takegems()
tile = (tile);
Count = 0;
data = {};
do
for _, obj in pairs(GetObjectList()) do
for _, tiles in pairs(tile.pos1) do
if obj.itemid == 112 and (obj.posX)//32 == tiles.x and (obj.posY)//32 == tiles.y
then
Count = Count + obj.amount;
end
end
end
table.insert(data, Count)
Count = 0;
for _, obj in pairs(GetObjectList()) do
for _, tiles in pairs(tile.pos2) do
if obj.itemid == 112 and (obj.posX)//32 == tiles.x and (obj.posY)//32 == tiles.y
then
Count = Count + obj.amount;
end
end
end
table.insert(data, Count)
Count = 0;
if data[1] > data[2] then
SendPacket(2, "action|input\n|text|`0[`2WIN`0]`w`9Kiri:`0" .. data[1] .. " `bVS
`9Kanan:`0" .. data[2].. "`w`0[`4LOSE`0]`w");
elseif data[1] == data[2] then
SendPacket(2, "action|input\n|text|`#(TIE)`9Kiri:`0".. data[1] .." `bVS
`9Kanan:`0".. data[2] .." `#(TIE)`bRES BOT");
else
SendPacket(2, "action|input\n|text|`0[`4LOSE`0]`w`9Kiri:`0" .. data[1] .. " `bVS
`9Kanan:`0" .. data[2].. "`w`0[`2WIN`0]`w");
end
data = {};
end;
end
function menu()
dialog = [[
add_label_with_icon|big|`bMATProxy|left|1790|
add_spacer|small|
add_textbox|`^Name : ]]..GrowID..[[|
add_textbox|`^Tax Set : `#]]..taxset..[[%|
add_spacer|small|
add_textbox|`^Feature & Menu|
add_spacer|small|
text_scaling_string|LLLLLLLLLLLLLLLLLLL|
add_button_with_icon|founder|`^Founder|staticYellowFrame|9474||
add_button_with_icon|command|`^Command|staticYellowFrame|5956||
add_button_with_icon|updt|`^Info Proxy|staticYellowFrame|986||
add_button_with_icon|sosmed|`^Media|staticYellowFrame|656||
add_button_with_icon|labelname|`^Visual Title|staticYellowFrame|1792||
add_button_with_icon|log|`^Change Logs|staticYellowFrame|6128|
add_button_with_icon||END_LIST|noflags|0||
add_textbox|
`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b
=`4=`b=`4=`b=`4=`b=`4=`b=`4=`b=`4=|left|
text_scaling_string|LLLLLLLLLLLLLLLLLLL|
add_button_with_icon|wrencho|`^Wrench Option|staticYellowFrame|32||
add_button_with_icon|ccbgl|`^CBgl|staticYellowFrame|7188||
add_button_with_icon|ccdl|`^Gems To Dls|staticYellowFrame|1796||
add_button_with_icon|skin|`^Skin Color|staticYellowFrame|274|
add_button_with_icon|vend|`^Fast Buy Vend|staticYellowFrame|9268|
add_button_with_icon|eatb|`^Auto Eat Bgems|staticYellowFrame|14154|
add_button_with_icon||END_LIST|noflags|0||
add_button|sosi| `^Back To Social Portal |NOFLAGS|0|
add_quick_exit||
]]
c = {}
c.v0 = "OnDialogRequest"
c.v1 = cmd
SendVariant(c)
end
if str:find("buttonClicked|command") then
proxy()
return true
end
if str:find("buttonClicked|sosmed") then
social = [[
add_label_with_icon|big|`oMedia Social Owner |left|656|
add_spacer|smal|
add_url_button||`4You`wTube `o: Matamis|NOFLAGS|https://youtube.com/@Matamis02?
si=dECjQSnXY1UUMV-E|Don't Forget To Subscribe & Like My YouTube|0|0|
add_spacer|smal|
add_textbox|`3Discord `o: Matamis02|left|
add_spacer|small|
add_button|proxy|Back|
add_quick_exit||
]]
so = {}
so.v0 = "OnDialogRequest"
so.v1 = social
SendVariant(so)
return true
end
if str:find("buttonClicked|wrencho") then
wrench = [[
add_label_with_icon|big|`oWrench Options|left|32|
add_spacer|small|
add_textbox|`2Mode : ]]..wrenchmode..[[|
add_button|pullw|Wrench `5Pull|NOFLAGS|0|
add_button|kickw|Wrench `4Kick|NOFLAGS|0|
add_button|banw|Wrench `4Ban|NOFLAGS|0|
add_button|autogo|Auto Say `2GO?|NOFLAGS|0|
add_spacer|small|
add_button|proxy|`wBack|
]]
w = {}
w.v0 = "OnDialogRequest"
w.v1 = wrench
SendVariant(w)
return true
end
if str:find("buttonClicked|skin") then
get = [[
add_label_with_icon|big|`oSkin Option|left|274|
add_spacer|small|
add_button|blinkl|Blink Color|NOFLAGS|0|
add_spacer|small|
add_button|hitam|Transparent `bBlack|NOFLAGS|0|
add_button|red|Transparent `4Red|NOFLAGS|0|
add_button|invis|`wInvis|NOFLAGS|0|
add_button|cyan|`cCyan|NOFLAGS|0|
add_button|green|Transparent `^Green|NOFLAGS|0|
add_button|darkgreen|Transparent `tDark Green|NOFLAGS|0|
add_button|purple|Transparent `#Purple|NOFLAGS|0|
add_spacer|small|
add_button|proxy|Back|
add_quick_exit||
]]
t = {}
t.v0 = "OnDialogRequest"
t.v1 = get
SendVariant(t)
return true
end
if str:find("buttonClicked|proxy") then
d = {}
d.v0 = "OnDialogRequest"
d.v1 = dialog
SendVariant(d)
return true
end
-- Setup Flag
if str:find("/flag") then
LogToConsole("`6/flag")
flg = [[
add_label_with_icon|big|`oList Country Flag|left|3394|
add_spacer|small|
add_textbox|`7It's Not Visual|
add_textbox|`#For Now Only 7 Flags|
add_button|indo|`2Indonesia|NOFLAGS|0|
add_button|korea|`2Korea|NOFLAGS|0|
add_button|jepang|`2Jepang|NOFLAGS|0|
add_button|amric|`2Amerika Serikat|NOFLAGS|0|
add_button|brazil|`2Brazil|NOFLAGS|0|
add_button|myanmar|`2Myanmar|NOFLAGS|0|
add_button|german|`2Germany|NOFLAGS|0|
add_spacer|small|
add_quick_exit||
]]
fg = {}
fg.v0 = "OnDialogRequest"
fg.v1 = flg
SendVariant(fg)
return true
end
-- End Setup Flag
-- Executed Flag
if str:find("buttonClicked|indo") then
SendPacket(2, "action|input\n|text|/setflag id")
overlay("`2Succes `9Change Flag To Indonesia")
log("`9Do `2/relog `9to apply it`o.")
return true
end
if str:find("buttonClicked|korea") then
SendPacket(2, "action|input\n|text|/setflag kr")
overlay("`2Succes `9Change Flag To Korea")
log("`9Do `2/relog `9to apply it`o.")
return true
end
if str:find("buttonClicked|jepang") then
SendPacket(2, "action|input\n|text|/setflag jp")
overlay("`2Succes `9Change Flag To Jepang")
log("`9Do `2/relog `9to apply it`o.")
return true
end
if str:find("buttonClicked|amric") then
SendPacket(2, "action|input\n|text|/setflag us")
overlay("`2Succes `9Change Flag To Amerika Serikat")
log("`9Do `2/relog `9to apply it`o.")
return true
end
if str:find("buttonClicked|brazil") then
SendPacket(2, "action|input\n|text|/setflag br")
overlay("`2Succes `9Change Flag To Brazil")
log("`9Do `2/relog `9to apply it`o.")
return true
end
if str:find("buttonClicked|myanmar") then
SendPacket(2, "action|input\n|text|/setflag mm")
overlay("`2Succes `9Change Flag To Myanmar")
log("`9Do `2/relog `9to apply it`o.")
return true
end
if str:find("buttonClicked|german") then
SendPacket(2, "action|input\n|text|/setflag de")
overlay("`2Succes `9Change Flag To Germany")
log("`9Do `2/relog `9to apply it`o.")
return true
end
-- End Executed
if str:find("buttonClicked|invis") then
SendPacket(2, "action|setSkin\ncolor|-150")
overlay("`9Set Your Skin Into `wInvisible")
return true
end
if str:find("buttonClicked|red") then
SendPacket(2, "action|setSkin\ncolor|1345519520")
overlay("`9Set Your Skin Into `4Red")
return true
end
if str:find("buttonClicked|green") then
SendPacket(2, "action|setSkin\ncolor|82738283")
overlay("`9Set Your Skin Into `rGreen")
return true
end
if str:find("buttonClicked|darkgreen") then
SendPacket(2, "action|setSkin\ncolor|6373772")
overlay("`9Set Your Skin Into `tDark Green")
return true
end
if str:find("buttonClicked|purple") then
SendPacket(2, "action|setSkin\ncolor|-7286672")
overlay("`9Set Your Skin Into `#Purple")
return true
end
if str:find("buttonClicked|cyan") then
SendPacket(2, "action|setSkin\ncolor|-1234567")
overlay("`9Set Your Skin Into `cCyan")
return true
end
if str:find("buttonClicked|blinkl") then
if blink == false then
blink = true
EditToggle("Blink Color", true)
overlay("`w[`9Succes `2Enable `9Blink Color`w]")
return true
end
end
if str:find("buttonClicked|blinkl") then
if blink == true then
blink = false
EditToggle("Blink Color", false)
overlay("`w[`9Succes `4Disable `9Blink Color`w]")
return true
end
end
-- End Skin Color
-- Setup Command
if str:find("/keep") then
local file = io.open(filename, "a")
file:write("telx = "..telx.."\ntely = "..tely.."\nx1 = "..x1.."\ny1 = "..y1.."\nx2
= "..x2.."\ny2 = "..y2.."\nxt1 = "..xt1.."\nyt1 = "..yt1.."\nxt2 = "..xt2.."\nyt2 =
"..yt2.."\n")
file:close()
overlay("`2Keep Configuration")
return true
end
if str:find("/load") then
Script =
io.input("/storage/emulated/0/Android/data/launcher.powerkuy/ScriptLua/" ..
SaveConfig):read("*a")
load(Script)()
overlay("`2Load Configuration")
return true
end
if str:find("/proxy") then
proxy()
return true
end
if str:find("/bc") then
SendPacket(2,"action|dialog_return\ndialog_name|info_box\nbuttonClicked|
make_bluegl")
overlay("`9Convert `bBlack Gem Lock `9To `eBlue Gem Lock")
return true
end
if str:find("/exit") then
LogToConsole("`6/exit")
SendPacket(3, "action|join_request\nname|exit\ninvitedWorld|0")
log("`9Exit World")
return true
end
if str:find("/win1") then
LogToConsole("`6/win1")
ireng = math.floor(jatuh/1000000)
bgl = math.floor(jatuh/10000)
jatuh = jatuh - bgl*10000
dl = math.floor(jatuh/100)
wl = jatuh % 100
eattax(x1, y1)
wear(7188)
wear(1796)
DropMode = true
hasil = (ireng ~= 0 and ireng.." `bBlack Gem Lock`#" or "`#").." "..(bgl ~= 0 and
bgl.." `eBlue Gem Lock`#" or "`#").." "..(dl ~= 0 and dl.." `1Diamond Lock`#" or
"`#").." "..(wl ~= 0 and wl.." `9World Lock`#" or "`#")
SendVariant({v0="OnTextOverlay", v1="`w[`2Bet : `#"..Amount.."`w]\n`w[`2Tax :
`#"..taxset.."%`w]\n`w[`2Drop : `#"..hasil.."`w]"})
return true
end
if str:find("/win2") then
LogToConsole("`6/win2")
ireng = math.floor(jatuh/1000000)
bgl = math.floor(jatuh/10000)
jatuh = jatuh - bgl*10000
dl = math.floor(jatuh/100)
wl = jatuh % 100
eattax(x2, y2)
wear(7188)
wear(1796)
DropMode = true
hasil = (ireng ~= 0 and ireng.." `bBlack Gem Lock`#" or "`#").." "..(bgl ~= 0 and
bgl.." `eBlue Gem Lock`#" or "`#").." "..(dl ~= 0 and dl.." `1Diamond Lock`#" or
"`#").." "..(wl ~= 0 and wl.." `9World Lock`#" or "`#")
SendVariant({v0="OnTextOverlay", v1="`w[`2Bet : `#"..Amount.."`w]\n`w[`2Tax :
`#"..taxset.."%`w]\n`w[`2Drop : `#"..hasil.."`w]"})
return true
end
if str:find("/buymega") then
LogToConsole("`6/buymega")
SendPacket(2,"action|dialog_return\ndialog_name|telephone\nnum|53785|\
nx|"..telx.."|\ny|"..tely.."|\nbuttonClicked|megaconvert")
log("`2Succes Buy `#Megaphone")
return true
end
if str:find("/woff") then
LogToConsole("`6/woff")
wrenchmode = "`7Default"
ban = false
kick = false
pull = false
saygo = false
overlay("`w[`4Disable `wWrench `2Mode`w]")
return true
end
if str:find("/st1") then
LogToConsole("`6/st1")
xt1 = GetLocal().posX//32
yt1 = GetLocal().posY//32
log("`9Pos Take `21 `9Saved `w[`9X : `2"..xt1.." `9Y : `2"..yt1.."`w]")
return true
end
if str:find("/st2") then
LogToConsole("`6/st2")
xt2 = GetLocal().posX//32
yt2 = GetLocal().posY//32
log("`9Pos Take `22 `9Saved `w[`9X : `2"..xt2.." `9Y : `2"..yt2.."`w]")
return true
end
if str:find("/sh1") then
LogToConsole("`6/sh1")
xgem1 = GetLocal().posX//32
ygem1 = GetLocal().posY//32
xgem2 = xgem1 - 1
xgem3 = xgem1 - 2
ygem2 = ygem1 + 1
ygem3 = ygem1 + 2
tile = {
pos1 = {
{x = xgem1, y = ygem1}, {x = xgem1, y = ygem2}, {x = xgem1, y = ygem3}, {x = xgem2,
y = ygem1}, {x = xgem3, y = ygem1}
},
pos2 = {
{x = xgemm1, y = ygemm1}, {x = xgemm1, y = ygemm2}, {x = xgemm1, y = ygemm3}, {x =
xgemm2, y = ygemm1}, {x = xgemm3, y = ygemm1}
}
}
log("`9Pos 1 `#Horizontal Gems `w[`2X : `#" ..xgem1.." `2Y : `#"..ygem1.."`w]
[`2X : `#"..xgem2.." `2Y : `#"..ygem2.."`w] [`2X : `#"..xgem3.." `2Y :
`#"..ygem3.."`w]")
return true
end
if str:find("/sh2") then
LogToConsole("`6/sh2")
xgemm1 = GetLocal().posX//32
ygemm1 = GetLocal().posY//32
xgemm2 = xgemm1 + 1
xgemm3 = xgemm1 + 2
ygemm2 = ygemm1 + 1
ygemm3 = ygemm1 + 2
tile = {
pos1 = {
{x = xgem1, y = ygem1}, {x = xgem1, y = ygem2}, {x = xgem1, y = ygem3}, {x = xgem2,
y = ygem1}, {x = xgem3, y = ygem1}
},
pos2 = {
{x = xgemm1, y = ygemm1}, {x = xgemm1, y = ygemm2}, {x = xgemm1, y = ygemm3}, {x =
xgemm2, y = ygemm1}, {x = xgemm3, y = ygemm1}
}
}
log("`9Pos 2 `#Horizontal Gems `w[`2X : `#" ..xgemm1.." `2Y : `#"..ygemm1.."`w]
[`2X : `#"..xgemm2.." `2Y : `#"..ygemm2.."`w] [`2X : `#"..xgemm3.." `2Y :`#
"..ygemm3.."`w]")
return true
end
if str:find("/sv1") then
LogToConsole("`6/sv1")
xsv1 = GetLocal().posX//32
ysv1 = GetLocal().posY//32
xsv2 = xsv1 - 1
xsv3 = xsv1 - 2
ysv2 = ysv1 - 1
ysv3 = ysv1 - 2
tile = {
pos1 = {
{x = xsv1, y = ysv1}, {x = xsv1, y = ysv2}, {x = xsv1, y = ysv3}, {x = xsv2, y =
ysv1}, {x = xsv3, y = ysv1}
},
pos2 = {
{x = xsvv1, y = ysvv1}, {x = xsvv1, y = ysvv2}, {x = xsvv1, y = ysvv3}, {x = xsvv2,
y = yevv1}, {x = xsvv3, y = ysvv1}
}
}
log("`9Pos 1 `#Vertikal Gems `w[`2X : `#" ..xsv1.." `2Y : `#"..ysv1.."`w] [`2X :
`#"..xsv2.." `2Y : `#"..ysv2.."`w] [`2X : `#"..xsv3.." `2Y : `#"..ysv3.."`w]")
return true
end
if str:find("/sv2") then
LogToConsole("`6/sv2")
xsvv1 = GetLocal().posX//32
ysvv1 = GetLocal().posY//32
xsvv2 = xsvv1 - 1
xsvv3 = xsvv1 - 2
ysvv2 = ysvv1 - 1
ysvv3 = ysvv1 - 2
tile = {
pos1 = {
{x = xsv1, y = ysv1}, {x = xsv1, y = ysv2}, {x = xsv1, y = ysv3}, {x = xsv2, y =
ysv1}, {x = xsv3, y = ysv1}
},
pos2 = {
{x = xsvv1, y = ysvv1}, {x = xsvv1, y = ysvv2}, {x = xsvv1, y = ysvv3}, {x = xsvv2,
y = ysvv1}, {x = xsvv3, y = ysvv1}
}
}
log("`9Pos 2 `#Vertikal Gems `w[`2X : `#" ..xsvv1.." `2Y : `#"..ysvv1.."`w] [`2X :
`#"..xsvv2.." `2Y : `#"..ysvv2.."`w] [`2X : `#"..xsvv3.." `2Y : `#"..ysvv3.."`w]")
return true
end
if str:find("/tg") then
takegems()
putchand = true
return true
end
if str:find("/take") then
LogToConsole("`6/take")
take()
tax = math.floor(Amount * taxset / 100)
jatuh = Amount - tax
LogToConsole("`2Bet : `#"..Amount.."\n`2Tax : `#"..taxset.."%\n`2Drop :
`#"..jatuh.."`2wls")
SendPacket(2, "action|input\n|text| `bBET : `#"..Amount.." `bTAX : `#"..taxset.."%
`bDROP : `#"..jatuh.." `2WLS")
return true
end
if str:find("/pos1") then
LogToConsole("`6/pos1")
x1 = GetLocal().posX//32
y1 = GetLocal().posY//32
log("`9Pos `21 `9Saved `w[`9X : `2"..x1.." `9Y : `2"..y1.."`w]")
return true
end
if str:find("/pos2") then
LogToConsole("`6/pos2")
x2 = GetLocal().posX//32
y2 = GetLocal().posY//32
log("`9Pos `22 `9Saved `w[`9X : `2"..x2.." `9Y : `2"..y2.."`w]")
return true
end
if str:find("/res") then
LogToConsole("`6/res")
SendPacket(2, "action|respawn")
log("`9Respawning")
return true
end
if str:find("/gp") then
if gasmode == false then
gasmode = true
overlay("`2Enable `9Gas Mode")
return true
end
end
if str:find("/gp") then
if gasmode == true then
gasmode = false
overlay("`4Disable `9Gas Mode")
return true
end
end
if str:find("/relog") then
LogToConsole("`6/relog")
SendPacket(3, "action|quit")
log("`9You Are `#Relogin")
return true
end
if str:find("/wall") then
LogToConsole("`6/wall")
for _, inv in pairs(GetInventory()) do
if inv.id == 242 then
drop(242,inv.amount)
log("`2Drop All `9World Lock")
SendPacket(2, "action|input\ntext|`w[`bSZ`4Proxy`w] `wDropped All `9World Lock")
return true
end
end
end
if str:find("/dall") then
LogToConsole("`6/dall")
for _, inv in pairs(GetInventory()) do
if inv.id == 1796 then
drop(1796,inv.amount)
log("`2Drop All `1Diamond Lock")
SendPacket(2, "action|input\ntext|`w[`bSZ`4Proxy`w] `wDropped All `1Diamond Lock")
return true
end
end
end
if str:find("/ball") then
LogToConsole("`6/ball")
for _, inv in pairs(GetInventory()) do
if inv.id == 7188 then
drop(7188,inv.amount)
log("`2Drop All `eBlue Gem Lock")
SendPacket(2, "action|input\ntext|`w[`bSZ`4Proxy`w] `wDropped All `eBlue Gem Lock")
return true
end
end
end
if str:find("/bball") then
LogToConsole("`6/bball")
for _, inv in pairs(GetInventory()) do
if inv.id == 11550 then
drop(11550,inv.amount)
log("`2Drop All `bBlack Gem Lock")
SendPacket(2, "action|input\ntext|`w[`bSZ`4Proxy`w] `wDropped All `bBlack Gem
Lock")
return true
end
end
end
if str:find("/tp") then
if path == false then
path = true
EditToggle("PathFinder", true)
overlay("`9[Pathfinder `2Enable`9]")
return true
end
end
if str:find("/tp") then
if path == true then
path = false
EditToggle("PathFinder", false)
overlay("`9[Pathfinder `4Disable`9]")
return true
end
end
if str:find("/settel") then
telx = GetLocal().posX//32
tely = GetLocal().posY//32
log("`9Position `2Telephone `9Saved `w[`9X : `2"..telx.." `9Y : `2"..tely.."`w]")
return true
end
return false
end -- End Hook SendPacket
function var(var)
-- Executed Convert WL
if var.v1 == "OnConsoleMessage" and var.v2:find("Collected") and var.v2:find("(%d+)
World Lock") then
wear(242)
return true
end
-- End Executed Convert WL
AddHook(hook, "OnSendPacket")
AddHook(var, "OnVariant")
SendPacket(2, "action|input\n|text|`w[`bSZ`4Proxy (nuke)`w]")
while true do
Sleep(2000)
-- Executed Drop All Lock
if dawlock then
if ireng then
drop(11550,ireng)
Sleep(500)
end
if bgl then
drop(7188,bgl)
Sleep(500)
end
if dl then
drop(1796,dl)
Sleep(500)
end
if wl then
drop(242,wl)
Sleep(500)
end
dawlock = false
-- End Execute Drop All Lock
-- Executed Cdrop
elseif cdrop then
if bgl then
drop(7188,bgl)
Sleep(500)
end
if dl then
drop(1796,dl)
Sleep(500)
end
if wl then
drop(242,wl)
Sleep(500)
end
Amount = nil
cdrop = false
-- End Executed Cdrop