Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MoveUp()
- turtle.digDown()
- turtle.placeDown()
- turtle.forward()
- end
- function TurnAround()
- turtle.turnLeft()
- turtle.turnLeft()
- end
- while not turtle.detectUp() do
- MoveUp()
- MoveUp()
- MoveUp()
- MoveUp()
- MoveUp()
- turtle.digDown()
- turtle.placeDown()
- TurnAround()
- sleep(120)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement