Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- while true do
- up()
- turtle.dig()
- turtle.forward()
- sleep(.1)
- down()
- turtle.dig()
- turtle.forward()
- sleep(.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement