Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function forward()
- for i=1,3 do
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- end
- end
- function up()
- turtle.up()
- turtle.turnLeft()
- end
- function mine()
- for i=1,5 do
- turtle.dig()
- turtle.forward()
- end
- end
- function right()
- turtle.turnRight()
- turtle.turnRight()
- for i=1,5 do
- turtle.forward()
- end
- end
- function reset()
- turtle.turnLeft()
- turtle.forward()
- turtle.select(16)
- turtle.placeDown()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.down()
- end
- for i=1,10 do
- forward()
- up()
- mine()
- right()
- mine()
- right()
- reset()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement