IoIiderp

wall maker

Jun 3rd, 2021 (edited)
647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. for slot = 1, 16 do
  2.     turtle.select(slot)
  3.     local blocks = 64
  4.     while blocks > 0 do
  5.         if turtle.inspectDown() then
  6.             turtle.up()
  7.             turtle.placeDown()
  8.             turtle.forward()
  9.             turtle.down()
  10.             blocks = blocks - 1
  11.         else
  12.             turtle.up()
  13.             turtle.back()
  14.             turtle.turnRight()
  15.             turtle.forward()
  16.             turtle.down()
  17.         end
  18.     end
  19. end
Add Comment
Please, Sign In to add comment