CobraOs

Untitled

Nov 11th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. local pullEvent = os.pullEvent
  2. while true do
  3. term.clear()
  4. term.setCursorPos(1, 1)
  5. print("Please Enter Password:")
  6. input = read("*")
  7. if input == "robit" then
  8. redstone.setOutput("left", true)
  9. os.sleep(2)
  10. redstone.setOutput("left", false)
  11. end
  12. if input == "tomtrein" then
  13. redstone.setOutput("bottom", true)
  14. os.sleep(0.5)
  15. redstone.setOutput("bottom", false)
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment