Advertisement
TheSenate27

Morpheus

Nov 22nd, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. oldPull = os.pullEvent
  2. os.pullEvent = os.pullEventRaw
  3. while true do
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. print("Sperry Computer Security 1.1")
  7. print("Username: Wizard101")
  8. write("Password: ")
  9. if read("*") == "aY47BgD656" then
  10. print("Access Granted.")
  11. redstone.setOutput("right", true)
  12. sleep(2)
  13. redstone.setOutput("right", false)
  14. term.clear()
  15. term.setCursorPos(1,1)
  16. break
  17. else
  18. print ("Incorrect Login Details.")
  19. sleep(1)
  20. end
  21. end
  22. os.pullEvent = oldPull
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement