Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- length = 100
- for i=1,length,1 do
- if turtle.detect() then
- turtle.dig()
- end
- if turtle.detectLeft() then
- turtle.digLeft()
- end
- if turtle.detectRight() then
- turtle.digRight()
- end
- if turtle.detectUp() then
- turtle.digUp()
- end
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement