Advertisement
RachelElisse

Torches

Oct 12th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. function Forward(k)
  2. for i = 1, k do
  3.  
  4. while turtle.detect() do
  5. turtle.turnLeft()
  6. end
  7.  
  8. turtle.forward()
  9. turtle.forward()
  10. turtle.forward()
  11. turtle.forward()
  12. turtle.placeDown()
  13. end
  14. end
  15.  
  16. turtle.select(1)
  17. turtle.refuel(1)
  18. turtle.select(2)
  19.  
  20. k = 64
  21. Forward(k)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement