Professional Documents
Culture Documents
Orca Share Media1672015578744 7012941629989376375
Orca Share Media1672015578744 7012941629989376375
function say(teks)
SendPacket(2, "action|input\n|text|"..teks)
Sleep(200)
end
function tele(id)
for k,v in pairs(GetTiles()) do
if v.fg == id or v.bg == id then
FindPath(v.x, v.y)
Sleep(700)
end
end
end
seed = block + 1
function check(id)
for _, inv in pairs(GetInventory()) do
if inv.id == id then
return inv.amount
end
end
return 0
end
function drop(id)
SendPacket(2, "action|drop\n|itemID|"..id)
Sleep(delaydrop)
end
function pos()
return {x = math.floor(GetLocal().posX//32), y = math.floor(GetLocal().posY//32)}
end