oxgon

Oxgon's Wither Boss Computer

Mar 14th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. -- Oxgon's Wither Boss Computer
  2.  
  3. function left()
  4. redstone.setOutput("left", true)
  5. sleep(4)
  6. redstone.setOutput("left", false)
  7. end
  8.  
  9. function right()
  10. redstone.setOutput("right", true)
  11. sleep(20)
  12. redstone.setOutput("right", false)
  13. end
  14.  
  15.  
  16. -- Start of program
  17. while(not rs.getInput("top")) do sleep(3) end
  18. left()
  19. sleep(17)
  20. right()
Advertisement
Add Comment
Please, Sign In to add comment