Advertisement
hexaacid

Untitled

Feb 26th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. i=0
  2. while true do
  3.  
  4. if turtle.detect()==false then
  5. turtle.turnRight()
  6. i=i+1
  7. if i==4 then
  8. turtle.up()
  9. i=0
  10. end
  11. end
  12.  
  13. while turtle.detect() do
  14. turtle.dig()
  15. turtle.forward()
  16. end
  17.  
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement