-- Chandelier: 340 -- Laser Grid: 5666 -- Pepper Tree: 4584 -- Fish Tank: 4584 -- High Tech Block: 324 -- Magic Bell: 5990 -- Sugar Cane: 954 -- Steel Block: 186 -- Bathtub: 230 id = 340 place_delay = 200 break_delay = 180 collect_delay = 500 collect_range = 4 triesThreshold = 10 -- Well, it will tries to break 10 times before it move into next block. XCoords = 2 -- Will break 2 blocks left, 1 block center, 2 block right. YCoords = -1 -- -1 for up, 1 for goin' down. function put(x, y) requestTileChange(x, y, id) sleep(place_delay) end function punch(x, y) requestTileChange(x, y, 18) sleep(break_delay) end function collect() sleep(180) requestCollectByRange(collect_range) sleep(collect_delay) end function pnb() collect() for offsetX = -XCoords, XCoords do local c_tile = checkTile((getLocal().pos.x // 32) + offsetX, (getLocal().pos.y // 32) + YCoords) if c_tile ~= nil and c_tile.fg == 0 then put(c_tile.pos.x, c_tile.pos.y) end end sleep(200) for offsetX = -XCoords, XCoords do local tries = 0 local c_tile = checkTile((getLocal().pos.x // 32) + offsetX, (getLocal().pos.y // 32) + YCoords) while c_tile ~= nil and c_tile.fg ~= 0 and tries < triesThreshold do punch(c_tile.pos.x, c_tile.pos.y) sleep(50) c_tile = checkTile(c_tile.pos.x, c_tile.pos.y) tries = tries + 1 end end end while true do pnb() end