Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. length = 100
  2.  
  3. for i=1,length,1 do
  4. if turtle.detect() then
  5. turtle.dig()
  6. end
  7. if turtle.detectLeft() then
  8. turtle.digLeft()
  9. end
  10. if turtle.detectRight() then
  11. turtle.digRight()
  12. end
  13.  
  14. if turtle.detectUp() then
  15. turtle.digUp()
  16. end
  17.  
  18. turtle.forward()
  19.  
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement