Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- count = 1
- goforward = true
- turtle.forward()
- turtle.placeDown()
- count = count + 1
- while goforward == true do
- turtle.dig()
- turtle.forward()
- if turtle.detectDown() == false then
- count = count + 1
- else
- goforward = false
- end
- turtle.placeDown()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- for i=1, count do
- turtle.placeDown()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement