Professional Documents
Culture Documents
Harvest Island 1.lua
Harvest Island 1.lua
EditToggle("Anti Portal/Door",true)
function punch(x,y)
if GetTile(x,y).fg ~= 0 then
pkt = {} pkt.px = x pkt.py = y pkt.type = 3 pkt.value = 18 pkt.x =
GetLocal().posX pkt.y = GetLocal().posY
SendPacketRaw(false, pkt)
state = {4196896,16779296}
for _, st in ipairs(state) do
hld = {} hld.px = x hld.py = y hld.type = 0 hld.value = 0 hld.x =
GetLocal().posX hld.y = GetLocal().posY hld.state = st
SendPacketRaw(false,hld)
Sleep(200)
end
end
end
function getTiles()
tile = {}
for XS = 197,0,-6 do
XE = XS-5
for px = 0,199,1 do
for py = XE,XS do
int = GetTile(px,py)
table.insert(tile,int)
end
end
end
return tile
end