Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function miningRight()
- turtle.turnRight()
- if turtle.detect() then
- for i = 1, 20 do
- if turtle.detect() then
- repeat
- turtle.dig()
- local success, digdig = turtle.detect()
- until(success == false)
- end
- turtle.forward()
- turtle.digDown()
- end
- turtle.turnLeft()
- turtle.turnLeft()
- for i = 1, 20 do
- turtle.forward()
- end
- turtle.turnRight()
- else
- turtle.turnLeft()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement