Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mode=-1
- while true do
- local event=os.pullEvent("redstone")
- mode=mode*(-1)
- if mode==1 then
- redstone.setOutput("left",true)
- sleep(5)
- redstone.setOutput("left",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment