Advertisement
xKevinn

Untitled

Feb 13th, 2013
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. count = 2
  2. goforward = true
  3. turtle.forward()
  4. turtle.placeDown()
  5. count = count + 1
  6. while goforward == true do
  7.     turtle.dig()
  8.     turtle.forward()
  9.     if turtle.detectDown() == false then
  10.         count = count + 1
  11.     else
  12.         goforward = false
  13.     end
  14.     turtle.placeDown()
  15. end
  16. turtle.turnRight()
  17. turtle.forward()
  18. turtle.turnRight()
  19. for i=1, count do
  20.     turtle.placeDown()
  21.     turtle.forward()
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement