Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rs.setOutput("bottom",true)
- print("Waiting to Recive")
- while true do
- if (rs.getInput("front")) then
- print("sending")
- rs.setOutput("bottom",false)
- rs.setOutput("right",true)
- sleep(1)
- rs.setOutput("right",false)
- sleep(5)
- rs.setOutput("bottom",true)
- end
- os.queueEvent("randomEvent")
- os.pullEvent()
- i = 1
- i = 0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement