Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while turtle.detect() do
- turtle.dig()
- print("Just keep digging!")
- turtle.up()
- print("Moving on up!")
- end
- while not turtle.detect() and not turtle.detectDown() do
- turtle.down()
- print("Downgrading")
- end
- print("Job is completed")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement