Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function trash()
- turtle.select(1)
- turtle.placeUp()
- turtle.select(2)
- turtle.dropUp()
- end
- function up()
- for i=1,8,1 do
- turtle.digUp()
- turtle.up()
- sleep(0.5)
- end
- end
- function down()
- for i=1,8,1 do
- turtle.digDown()
- turtle.down()
- end
- end
- function cycle()
- up()
- turtle.dig()
- turtle.forward()
- sleep(.1)
- down()
- trash()
- sleep(0.001)
- turtle.dig()
- turtle.forward()
- sleep(.1)
- end
- while true do
- cycle()
- sleep(0.001)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement