Professional Documents
Culture Documents
"dnjng",
"uxmdz",
"xsqji",
"enrzk",
"jeyct",
"jeycy",
"jeycg",
"jeycj",
} -- unli world
weebhookUrl = "https:\\"
-- ============================================
-- BIASALAH
efek1 = '| >> __**'..getBot().name..'**__ <<\n'
efek2 = '| >> **'
efek3 = '** \n'
efek4 = '\n|'
function sendMessage(msg)
local script = [[
$webhookUri = "]].. weebhookUrl ..[["
$Body = @{
'username' = 'Zann BoT GT'
'content' = ']]..efek1..efek2..msg..efek3..efek4..[['
'avatar_url' = 'https://www.linkpicture.com/q/LPic62a9894d07fbc126464920.jpg'
}
Invoke-RestMethod -Uri $webhookUri -Method 'post' -Body $Body
]]
local pipe = io.popen("powershell -command -", "w")
pipe:write(script)
pipe:close()
end
-- GROWSCAN
function gs(id)
count = 0
for _, object in pairs(getObjects()) do
if object.id == id then
count = count + object.count
end
end
return count
end
-- AUTO TRASH
trashs = { 5, 11, 4, 10, 2914, 5024, 5026, 5028, 5030, 5032, 5034, 5036, 5038,
5040, 5042, 5044 }
function trashh()
for i, trash in ipairs(trashs) do
if findItem(trash) > 0 then
sendPacket(2, "action|trash\n|itemID|" .. trash)
sleep(2000)
sendPacket(2, "action|dialog_return\ndialog_name|trash_item\
nitemID|" .. trash .. "|\ncount|" .. findItem(trash))
sleep(2000)
end
end
TrashF = { 2, 3, 14, 15 }
for i, trash in ipairs(TrashF) do
if findItem(trash) > 195 then
sendPacket(2, "action|trash\n|itemID|" .. trash)
sleep(2000)
sendPacket(2, "action|dialog_return\ndialog_name|trash_item\
nitemID|" .. trash .. "|\ncount|" .. 20)
sleep(2000)
end
end
end
-- CLEAR DIRT
function clearDirt()
for i = 1, 54, 2 do
for j = 2,97 do
if getTile(j,i).bg == 14 then
while getTile(j,i).bg == 14 or getTile(j,i).fg == 2 do
recon()
whiteDoorM()
findPath(j-1,i)
punch(1,0)
sleep(190)
if getTile(j,i).bg == 0 or getTile(j,i+1).fg == 0 then
collect(2)
end
trashh()
end
end
end
end
end
-- CLEAR ROCK
function clearRock()
if breakRock then
for _, tile in pairs(getTiles()) do
while tile.fg == 10 do
recon()
whiteDoorM()
findPath(tile.x,tile.y-1)
punch(0,1)
sleep(190)
if getTile(tile.x,tile.y).fg == 0 then
collect(2)
break
end
trashh()
end
end
end
end
-- clear lava
function clearLava()
for _, tile in pairs(getTiles()) do
while tile.fg == 4 do
recon()
whiteDoorM()
findPath(tile.x,tile.y-1)
punch(0,1)
sleep(190)
if getTile(tile.x,tile.y).fg == 0 then
collect(2)
break
end
trashh()
end
end
end
-- PLACE DIRT
function placeDirt()
for y = 52, 2, -2 do
for x = 2, 97 do
if getTile(x, y).fg == 0 then
plantHv()
whiteDoorM()
findPath(x, y - 1)
recon()
while getTile(x, y).fg == 0 and findItem(2) > 0 do
place(2, 0, 1)
sleep(190)
end
end
end
end
end