Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- --os.pullEvent("redstone")
- if redstone.getInput("front") then
- redstone.setOutput("bottom",true)
- sleep(0.5)
- redstone.setOutput("top",true)
- else
- redstone.setOutput("top",false)
- sleep(0.5)
- redstone.setOutput("bottom",false)
- end
- sleep(1)
- end
- print("how did I get here")
Advertisement
Add Comment
Please, Sign In to add comment