Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Turtle strip mine by adencraft2000
- local shouldStop = false
- while not shouldStop do
- print("Press space to stop the strip mine")
- turtle.dig()
- turtle.up()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.down()
- turtle.forward()
- sleep(1)
- local event, keyCode = os.pullEvent("key")
- if keyCode == keys.space then
- shouldStop = true
- print("Stopping")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment