0% found this document useful (0 votes)
1K views2 pages

Auto Clear World Script for Growtopia

The document contains code for clearing a world in the game Growtopia. It includes functions for punching tiles, joining a world, clearing tiles on the sides of the world, and clearing the main area in a loop. The code is meant to automatically and repeatedly clear a world of unwanted tiles.

Uploaded by

Irfan
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)
1K views2 pages

Auto Clear World Script for Growtopia

The document contains code for clearing a world in the game Growtopia. It includes functions for punching tiles, joining a world, clearing tiles on the sides of the world, and clearing the main area in a loop. The code is meant to automatically and repeatedly clear a world of unwanted tiles.

Uploaded by

Irfan
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
  • Game Setup and Initialization
  • Function Definitions
  • Main Execution Loop

urutan = 1

world = {"SET THIS"}

logToConsole("`2Auto Clear World Started")


sleep(4000)
logToConsole("`9Sc Remaked by zaidan#0157 and Fixed by: RaymarkGTX")
sleep(4000)

function punch(x, y)
local pkt = {}
[Link] = 3
[Link] = 18
[Link] = x
[Link] = y
pkt.x = getLocal().pos.x
pkt.y = getLocal().pos.y
sleep(200)
sendPacketRaw(false, pkt)
end

function join(name)
sleep(10)
sendPacket(2, "action|join_request\nname|" .. name .. "")
sendPacket(3, "action|join_request\nname|" .. name .. "\ninvitedWorld|0")
sleep(4000)
end

function side()
for x = 0, 99 do
for y = 0, 53 do
local k = checkTile(x, y)
if [Link] == 14 then
sleep(250)
findPath([Link].x, [Link].y - 1, 120)
sleep(200)
while checkTile(x, y).bg == 14 do
punch(x, y)
end
end
end
end
for x = 98, 99 do
for y = 0, 53 do
local k = checkTile(x, y)
if [Link] == 14 then
sleep(250)
findPath([Link].x, [Link].y - 1, 120)
sleep(200)
while checkTile(x, y).bg == 14 do
punch(x, y)
end
end
end
end
end

function main()
for y = 1, 53, 2 do
for x = 0, 99 do
local bg = checkTile(x, y)
if [Link] == 14 then
sleep(250)
findPath([Link].x, [Link].y - 2, 140)
sleep(200)
while checkTile([Link].x, [Link].y).bg == 14 do
punch([Link].x, [Link].y)
end
end
end
end
end

n = urutan
while true do
join(world[n])
side()
main()
n = n + 1
if n > #world then
n = 1
end
end

urutan = 1
world = {"SET THIS"}
logToConsole("`2Auto Clear World Started")
sleep(4000)
logToConsole("`9Sc Remaked by zaidan#0
local bg = checkTile(x, y)
            if bg.bg == 14 then
                sleep(250)
                findPath(bg

You might also like