bcash8

Untitled

Jan 7th, 2022 (edited)
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. while true do
  2. local moves = 0
  3. if turtle.detectUp() then
  4. while turtle.detectUp() do
  5. turtle.digUp()
  6. turtle.up()
  7. moves = moves + 1
  8. end
  9. end
  10. while moves > 0 do
  11. turtle.down()
  12. moves = moves - 1
  13. end
  14. turtle.dig()
  15. turtle.forward()
  16. end
Add Comment
Please, Sign In to add comment