Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- timeout = 30
- while true do
- print("Waiting for cart")
- os.pullEvent("redstone")
- print("cart detected, counting down")
- sleep(timeout)
- print("Countdown done, launching cart")
- redstone.setOutput("back", true)
- sleep(3)
- redstone.setOutput("back", false)
- sleep(3)
- end
Add Comment
Please, Sign In to add comment