Advertisement
hexaacid

Untitled

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