Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.detectDown() then
- print("Block detected!")
- sleep(2)
- else
- print("No block detected!")
- turtle.forward()
- sleep(1)
- turtle.digDown()
- sleep(1)
- turtle.placeDown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement