edoreld

Untitled

Mar 13th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. while true do
  2. if rs.getInput("left") then
  3. rs.setOutput("front", true)
  4. os.sleep(0.5)
  5. rs.setOutput("front", false)
  6. rs.setOutput("right", true)
  7. os.sleep(5)
  8. rs.setOutput("left", false)
  9. end
  10. os.sleep(1)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment