Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while turtle.detect() do
- turtle.dig()
- print("Digging the block")
- turtle.up()
- print("Moving up")
- end
- while not turtle.detect() and not turtle.detectDown() do
- turtle.down()
- print("Moving down")
- end
- while turtle.detect("chest") do
- turtle.unload
- print("unload to chest")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement