SummitSummit

DigU2

Jun 5th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local count = 0
  2. term.write("How many blocks forward? :")
  3. count = read()
  4.  
  5. function Up()
  6. for i = 1, count do
  7. turtle.dig()
  8. turtle.digUp()
  9. turtle.up()
  10. turtle.dig()
  11. turtle.forward()
  12. turtle.dig()
  13. turtle.forward()
  14. turtle.digDown()
  15. end
  16. end
  17.  
  18. Up()
  19. print("Job's Done!")
Advertisement
Add Comment
Please, Sign In to add comment