Guest User

Untitled

a guest
Nov 17th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("xDeathwing Computer Security 1.0")
  5. print("Username: xDeathwing")
  6. write("Password: ")
  7. function pass()
  8. t = io.read()
  9. if t == "barisucar123" then
  10. print ("Access Granted, welcome to your computer!")
  11. sleep(2)
  12. term.clear()
  13. term.setCursorPos(1,1)
  14. else
  15. print ("Acces Denied, please try again.")
  16. sleep(1)
  17. term.clear()
  18. term.setCursorPos(1,1)
  19. print("xDeathwing Computer Security 1.0")
  20. print("Username: xDeathwing")
  21. write("Password: ")
  22. pass()
  23. end
  24. end
  25. pass()
Add Comment
Please, Sign In to add comment