0% found this document useful (0 votes)
32 views1 page

Moveblock

The script is designed for the game Growtopia, allowing users to automate the process of taking and dropping items in specified worlds. It includes functions to join worlds, check inventory, drop items, and navigate to coordinates. The script continuously attempts to execute the 'take' function to manage item transactions based on inventory levels.

Uploaded by

fosil7615
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Moveblock

The script is designed for the game Growtopia, allowing users to automate the process of taking and dropping items in specified worlds. It includes functions to join worlds, check inventory, drop items, and navigate to coordinates. The script continuously attempts to execute the 'take' function to manage item transactions based on inventory levels.

Uploaded by

fosil7615
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

----Script by croSS----

LogToConsole("`0[`2Starting`0]`o[`2Script `cby `4croSS`o]")


growtopia.notify("`2I want `4MONEY")
----Patokan----
tw = ""----take world name
tx = 0 -----take cor x
ty = 0 -----take cor y
dw = ""-----drop world name
dx = 0 -----drop cor x
dy = 0 -----drop cor y
blockid = 0 -----ID Block you want to move
delay = 500 -----delay findpath
----Da Script----
function warp(worldname)
SendPacket(3, "action|join_request\nname|"..worldname.."\ninvitedWorld|0")
Sleep(4000)
end

function inv(item)
for _, object in pairs(GetInventory()) do
if object.id == item then
return object.amount
end
end
return 0
end

function drop()
SendPacket(2,"action|drop\n|itemID|"..blockid)
SendPacket(2,"action|dialog_return\ndialog_name|drop_item\nitemID|"..blockid.."|\
ncount|200")
end

function take()
if inv(blockid) >= 200 then
warp(dw)
FindPath(dx,dy)
sleep(delay)
drop(blockid)
elseif inv(blockid) < 200 then
warp(tw)
FindPath(tx,ty)
sleep(delay)
end
end

while true do
pcall(take(), 1)
end

You might also like