Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- while not redstone.getInput("top") do
- os.queueEvent("randomEvent")
- os.pullEvent()
- end
- print("yes")
- redstone.setOutput("left", true)
- os.sleep(1)
- redstone.setOutput("left", false)
- if redstone.getInput("left") then
- redstone.setOutput("right", true)
- os.sleep(10)
- redstone.setOutput("right", false)
- else
- os.sleep(10)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement