Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turtle.up()
- turtle.up()
- while true do
- for i = 0, 7 do
- local detect = turtle.detect()
- if detect then
- turtle.dig()
- end
- detect = turtle.detectDown()
- if detect then
- turtle.digDown()
- end
- turtle.forward()
- end
- turtle.turnRight()
- for i = 0, 1 do
- detect = turtle.detectDown()
- if detect then
- turtle.dig()
- end
- detect = turtle.detectDown()
- if detect then
- turtle.digDown()
- end
- turtle.forward()
- end
- turtle.turnRight()
- for i = 0, 7 do
- detect = turtle.detect()
- if detect then
- turtle.dig()
- end
- detect = turtle.detectDown()
- if detect then
- turtle.digDown()
- end
- turtle.forward()
- end
- turtle.turnRight()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement