Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- side = "left" -- Specify this based on where the clock is needed
- rsCheck = redstone.getInput("top") -- For a lever on the top to disable the clock
- while true do
- while rsCheck == "false" do
- redstone.setOutput(side, true)
- sleep(0.1)
- redstone.setOutput(side, false)
- sleep(0.1)
- if redstone.getInput("top") == "true" then rsCheck = "true" end
- end
- if redstone.getInput("top") == "false" then rsCheck = "false" end
- sleep(0.5) -- Prevents the computer from quitting the program due to too fast of a loop repeat
- end
Advertisement
Add Comment
Please, Sign In to add comment