Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function on()
- if redstone.getInput("left") == true then
- redstone.setOutput("right",false)
- print("on")
- else
- redstone.setOutput("right",true)
- print("off")
- end
- end
- while true do
- sleep(5)
- on()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement