Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dig(times)
- for i=times, 1, -1 do
- redstone.setOutput("right", true)
- sleep(1)
- redstone.setOutput("right", false)
- sleep(8)
- end
- end
- io.write("How many times: ")
- local times = io.read()
- dig(times)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement