You are on page 1of 9

data = {}

local pull = false


local kick = false
local ban = false
local cbgl = true
local taxset = 5
local putchand = true
function cty(id,id2,amount)
for _, inv in pairs(GetInventory()) do
if inv.id == id then
if inv.amount < amount then
SendPacketRaw(false, { type = 10, value = id2})
end end end end
function wear(id)
SendPacketRaw(false, { type = 10, value = id})
end
function take()
tiles = {
{xt1,yt1},
{xt2,yt2},
{xt3,yt3},
{xt4,yt4}
}
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
SendPacketRaw(false, { type = 11, value = obj.id, x = obj.posX, y = obj.posY })
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 drop(id,amount)
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|"..amount.."\n\n")
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
return nil end
if GetTiles(x, y).collidable then
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
return nil end
SendPacketRaw(false, { type = 0, x = (x + Z) * 32, y = y * 32, state = (Z == 1 and
48 or 32) })
end
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;
SendPacketRaw(false, { type = 11, value = obj.id, x = obj.posX, y = obj.posY});
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
SendPacketRaw(false, { type = 11, value = obj.id, x = obj.posX, y = obj.posY});
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|[`2WinP1`w] (gems) `2" .. data[1] .. " `6vs
`4" .. data[2] .. " `w[`4LoseP2`w] (gems) ");
elseif data[1] == data[2] then
SendPacket(2, "action|input\n|text|`0[TIE] (gems) `c".. data[1] .." `6vs `c"..
data[2] .." `0[TIE] (gems) ");
else
SendPacket(2, "action|input\n|text|[`4LoseP1`w] (gems) `4" .. data[1] .. " `6vs `2"
.. data[2].. " `w[`2WinP2`w] (gems) ");
end
data = {};
end;
end
function Hook(type,str)
if str:find("action|wrench\n|netid|(%d+)") then
id = str:match("action|wrench\n|netid|(%d+)")
if pull == true then
netid0 = tonumber(id)
for _, plr in pairs(GetPlayerList()) do
if plr.netID == netid0 then
SendPacket(2,"action|dialog_return\ndialog_name|popup\nnetID|"..id.."|\
nbuttonClicked|pull")
SendPacket(2, "action|input\n|text|`w[`2 Gas Ga "..plr.name.." ? `w]")
return true
elseif kick == true then
SendPacket(2,"action|dialog_return\ndialog_name|popup\nnetID|"..id.."|\
nbuttonClicked|kick")
return true
elseif ban == true then
SendPacket(2,"action|dialog_return\ndialog_name|popup\nnetID|"..id.."|\
nbuttonClicked|world_ban")
return true end end end end
if str:find("/wp") then
if pull == false then
pull = true
kick = false
ban = false
LogToConsole ("`2PULL `0MODE `2ON")
return true end
elseif str:find("/wk") then
if kick == false then
kick = true
pull = false
ban = false
return true end
elseif str:find("/wb") then
if ban == false then
ban = true
kick = false
pull = false
return true end end
if str:find("/woff") then
ban = false
kick = false
pull = false
LogToConsole ("4Disabled `wWrench `2Mode")
return true end
if str:find("buttonClicked|ezbtk") then
xhost = GetLocal().posX//32
yhost = GetLocal().posY//32
xt1 = xhost - 3
yt1 = yhost - 2
xt2 = xhost + 3
yt2 = yhost - 2
xt3 = xt1 - 1
yt3 = yt1
xt4 = xt2 + 1
yt4 = yt1
x1 = xhost - 4
y1 = yhost - 2
x2 = xhost + 4
y2 = yhost - 2
xgem1 = xhost - 3
ygem1 = yhost
xgem2 = xgem1 - 1
xgem3 = xgem1 - 2
tile = {
pos1 = {
{x = xgem1, y = ygem1}, {x = xgem2, y = ygem1}, {x = xgem3, y = ygem1}
},
pos2 = {
{x = xgemm1, y = ygemm1}, {x = xgemm2, y = ygemm1}, {x = xgemm3, y = ygemm1}
}
}
xgemm1 = xhost + 3
ygemm1 = yhost
xgemm2 = xgemm1 + 1
xgemm3 = xgemm1 + 2
tile = {
pos1 = {
{x = xgem1, y = ygem1}, {x = xgem2, y = ygem1}, {x = xgem3, y = ygem1}
},
pos2 = {
{x = xgemm1, y = ygemm1}, {x = xgemm2, y = ygemm1}, {x = xgemm3, y = ygemm1}
}
}
LogToConsole("`2POS `0Hoster")
SendPacket(2, "action|input\n|text|DONE SETUP `wKesur#7723")
return true end
if str:find("buttonClicked|takebet") then
take()
takegems()
tax = math.floor(Amount * taxset / 100)
jatuh = Amount - tax
bet = math.floor(Amount / 2)
SendVariant({v0 = "OnTalkBubble" , v1 = GetLocal().netID, v2 = "[`2P1:
`9"..bet.."`w]`6VS`w[`2P2 :`9"..bet.."`w] [`0Tax: `2"..taxset.."%`w] [Total Drop:
`2"..jatuh.." `6WLS`w]"})
LogToConsole("[`2P1: `9"..bet.."`w]`6VS`w[`2P2 :`9"..bet.."`w] [`0Tax:
`2"..taxset.."%`w] [Total Drop: `2"..jatuh.." `6WLS`w]")
return true end
if str:find("buttonClicked|posw1")then
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`0" or "`0").." "..(bgl ~= 0 and
bgl.." `eBlue Gem Lock`0" or "`0").." "..(dl ~= 0 and dl.." `1Diamond Lock`0" or
"`0").." "..(wl ~= 0 and wl.." `9World Lock`0" or "`0")
SendPacket(2, "action|input\n|text|`1[`2KESUR#7723 `w] `2TAX `w[`95%`w]`bYA")
return true end
if str:find("buttonClicked|posw2") then
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`0" or "`0").." "..(bgl ~= 0 and
bgl.." `eBlue Gem Lock`0" or "`0").." "..(dl ~= 0 and dl.." `1Diamond Lock`0" or
"`0").." "..(wl ~= 0 and wl.." `9World Lock`0" or "`0")
SendPacket(2, "action|input\n|text|`w[`2KESUR#7723 `w]`2TAX `w[`95%`w]")
return true end
if str:find("/w (%d+)") then
count = str:match("/w (%d+)")
c = tonumber (count)
cty(242,1796,c)
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|242|\
nitem_count|"..count)
return true
end
if str:find("/d (%d+)") then
count = str:match("/d (%d+)")
c = tonumber (count)
cty(1796,242,c)
cty(1796,7188,c)
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|1796|\
nitem_count|"..count)
return true end
if str:find("/b (%d+)") then
count = str:match("/b (%d+)")
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|7188|\
nitem_count|"..count)
return true end
if str:find("/daw") then
LogToConsole("`6/daw")
bgl = inv(7188)
dl = inv(1796)
wl = inv(242)
ireng = inv(11550)
dawlock = true
LogToConsole("`2Drop All Lock")
return true end
if str:find("/sspam (.+)") then
spam = str:match("/sspam (.+)")
LogToConsole("`9Your Spam Message Has Been Set Into`w : " .. spam)
SendPacket(2, "action|input\n|text|/setSpam " .. spam)
return true end
if str:find("/nspam") then
SendPacket(2,"action|dialog_return\ndialog_name|cheats\ncheck_autospam|1")
LogToConsole("`2Activate `0Spam Mode")
return true
elseif str:find("/fspam") then
SendPacket(2,"action|dialog_return\ndialog_name|cheats\ncheck_autospam|0")
LogToConsole("`4Deactivate `9Spam Mode")
return true end
if str:find("friends") then
SendVariant({v0 = "OnDialogRequest", v1 = BTKDIALOG })
end
if str:find("buttonClicked|setupbtk") then
SendVariant({v0 = "OnDialogRequest", v1 = SETUP})
end
if str:find("/ar (%d+)") then
count = str:match("/ar (%d+)")
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|4604|\
nitem_count|"..count)
return true end
if str:find("/lo (%d+)") then
count = str:match("/lo (%d+)")
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|528|\
nitem_count|"..count)
return true end
if str:find("/bat (%d+)") then
count = str:match("/bat (%d+)")
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|-64|\
nitem_count|"..count)
return true end
if str:find("/depo (%d+)") then
count = str:match("/depo (%d+)")
SendPacket(2,"action|dialog_return\ndialog_name|bank_deposit\nbgl_count|"..count)
LogToConsole("`2[Depo `0"..count.." `e BGL`2]")
return true end
if str:find("/wd (%d+)") then
count = str:match("/wd (%d+)")
SendPacket(2,"action|dialog_return\ndialog_name|bank_withdraw\nbgl_count|"..count)
LogToConsole("`2[Withdraw `0"..count.." `e BGL`2]")
return true end
if str:find("buttonClicked|putchands") then
doange = true
dworld = "aov"
return true
end
return false end
function var(var)
if var.v1:find("OnConsoleMessage") and var.v2:find("Collected") and
var.v2:find("(%d+) World Lock") then
jumlah = var.v2:match("(%d+) World Lock")
wear(242)
end
if var.v1 == "OnConsoleMessage" and var.v2:find("(%d+) Diamond Lock") then
jumlah = var.v2:match("(%d+) Diamond Lock")
s = tonumber(jumlah)
for _, tile in pairs(GetTiles()) do
if tile.fg == 3898 then
for _, inv in pairs(GetInventory()) do
if inv.id == 1796 then
if inv.amount >= 150 or s >= 99 then
SendPacket(2,"action|dialog_return\ndialog_name|telephone\nnum|53785|\
nx|"..tile.x.."|\ny|"..tile.y.."|\nbuttonClicked|bglconvert")
end end end end end end
if var.v1:find("OnDialogRequest") and var.v2:find("Wow, that's fast delivery.")
then
return true end
if var.v1:find("OnDialogRequest") and var.v2:find("`wTelephone") then
if cbgl == true then
x = var.v2:match("embed_data|x|(%d+)")
y = var.v2:match("embed_data|y|(%d+)")
SendPacket(2,"action|dialog_return\ndialog_name|telephone\nnum|53785|\nx|"..x.."|\
ny|"..y.."|\nbuttonClicked|bglconvert")
return true end end
return false
end
AddHook(Hook, "OnSendPacket")
AddHook(var, "OnVariant")

function main()
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
Sleep(3000)
if DropMode then
if bgl then
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|7188|\
nitem_count|"..bgl)
Sleep(500)
end
if dl then
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|1796|\
nitem_count|"..dl)
Sleep(500)
end
if wl then
SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|242|\
nitem_count|"..wl)
Sleep(500)
end
jatuh = nil
DropMode = false
if putchand then
FindPath(xgem1,ygem1)
Sleep(300)
SendPacketRaw(false, {
type = 3,
value = 5640,
x = GetLocal().posX,
y = GetLocal().posY,
px = xgem1,
py = ygem1,
state = 16
})
FindPath(xgem2,ygem1)
Sleep(200)
SendPacketRaw(false, {
type = 3,
value = 5640,
x = GetLocal().posX,
y = GetLocal().posY,
px = xgem1-1,
py = ygem1,
state = 16
})
FindPath(xgem3,ygem1)
Sleep(200)
SendPacketRaw(false, {
type = 3,
value = 5640,
x = GetLocal().posX,
y = GetLocal().posY,
px = xgem1-2,
py = ygem1,
state = 16
})
Sleep(200)
FindPath(xgemm1,ygemm1)
Sleep(300)
SendPacketRaw(false, {
type = 3,
value = 5640,
x = GetLocal().posX,
y = GetLocal().posY,
px = xgemm1,
py = ygemm1,
state = 16
})
FindPath(xgemm2,ygemm1)
Sleep(200)
SendPacketRaw(false, {
type = 3,
value = 5640,
x = GetLocal().posX,
y = GetLocal().posY,
px = xgemm1+1,
py = ygemm1,
state = 16
})
FindPath(xgemm3,ygemm1)
Sleep(200)
SendPacketRaw(false, {
type = 3,
value = 5640,
x = GetLocal().posX,
y = GetLocal().posY,
px = xgemm1+2,
py = ygemm1,
state = 16
})
FindPath(xhost, yhost)
end
end
if doange then
SendPacket(2, "action|input\n|text|/wp AOV")
Sleep(2000)
SendPacket(2, "action|input\n|text|/b 10")
doange = false
end
Sleep(2000)
end

BTKDIALOG = [[
add_quick_exit|
add_label_with_icon|big|`9BTK `0HELPER|left|340|
add_textbox|MR : ]]..GetLocal().name..[[|left|
add_textbox|`6Proxy `0BY : `9KESUR#7723|left|
text_scaling_string|imlookingcool|
add_spacer|small||
add_button_with_icon|takebet|`2Take Bet+Gems|staticYellowFrame|6016||
add_button_with_icon||||||
add_button_with_icon|ezbtk|`2Auto SetUp|staticYellowFrame|12436||
add_button_with_icon||END_LIST|noflags|0||
add_button_with_icon|posw1|`2Win Player1|staticYellowFrame|2836||
add_button_with_icon|posw2|`2Win Player2|staticYellowFrame|2838||
add_button_with_icon|putchands|`bMysterious|staticYellowFrame|120||
add_spacer|small||
add_spacer|big|
end_dialog|go||
]]
function AvoidError()
if pcall(function()
main()
end) == false then
Sleep(100)
AvoidError()
end
Sleep(100)
AvoidError()
end
SendPacket(2, "action|input\n|text|`3BTK HELPER : KESUR#÷7724")
EditToggle("Anti Lag", true)
AvoidError()

You might also like