Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local moves = 0
- if turtle.detectUp() then
- while turtle.detectUp() do
- turtle.digUp()
- turtle.up()
- moves = moves + 1
- end
- end
- while moves > 0 do
- turtle.down()
- moves = moves - 1
- end
- turtle.dig()
- turtle.forward()
- end
Add Comment
Please, Sign In to add comment