Guest User

Untitled

a guest
Oct 25th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2. while not redstone.getInput("top") do
  3.   os.queueEvent("randomEvent")
  4.   os.pullEvent()
  5. end
  6. redstone.setOutput("left", true)
  7. os.sleep(1)
  8. redstone.setOutput("left", false)
  9. if redstone.getInput("left") then
  10.   redstone.setOutput("right", true)
  11.   os.sleep(10)
  12.   redstone.setOutput("right", false)
  13. else
  14.   os.sleep(10)
  15. end
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. end
Advertisement
Add Comment
Please, Sign In to add comment