SummitSummit

antiChop

Jul 29th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local count = 0
  2. function antiChop()
  3. while turtle.detectDown() or turtle.detect() do
  4. turtle.digDown()
  5. turtle.dig()
  6. turtle.down()
  7. count = count + 1
  8. end
  9. turtle.turnRight()
  10. turtle.dig()
  11. turtle.forward()
  12. turtle.turnLeft()
  13. turtle.dig()
  14. while count > 0 do
  15. turtle.digUp()
  16. turtle.up()
  17. turtle.dig()
  18. count = count - 1
  19. end
  20. end
  21. turtle.dig()
  22. turtle.forward()
  23. antiChop()
  24. print("Job's Done!")
Advertisement
Add Comment
Please, Sign In to add comment