Guest User

Untitled

a guest
Apr 4th, 2018
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1.  
  2. oldPull = os.pullEvent
  3. os.pullEvent = os.pullEventRaw
  4. while true do
  5. term.clear()
  6. term.setCursorPos(1,1)
  7. print("Borta Computer Security 1.1")
  8. print("UserName: Nynoray")
  9. write("Password: ")
  10. if read("*") == "rhino" then
  11. print("Access Granted.")
  12. sleep(2)
  13. term.clear()
  14. term.setCursorPos(1,1)
  15. break
  16. else
  17. print ("Incorrect Login Details.")
  18. sleep(1)
  19. end
  20. end
  21. os.pullEvent = oldPull
Add Comment
Please, Sign In to add comment