Guest User

Untitled

a guest
Sep 18th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.90 KB | None | 0 0
  1. password = "1337"
  2. Username = "kadecamz"
  3. term.clear()
  4. sleep(0.1)
  5. term.setCursorPos(1,1)
  6. print "Enter your username and password!"
  7. term.setCursorPos(1,2)
  8. print "Enter commands in the username section"
  9. sleep(0.1)
  10. term.setCursorPos(1,4)
  11. write "Username: "
  12. term.setCursorPos(10,4)
  13. input = read()
  14. if input == "kadecamz" then
  15. print "Username correct!"
  16. write "Password: "
  17. sleep(1)
  18. term.setCursorPos(10,6)
  19. else
  20. print "Username is not valid in our system"
  21. sleep(2)
  22. os.reboot()
  23. end
  24. elseif input == "modify" then
  25. print "You can now modify incase of bugs"
  26. sleep(2)
  27. end
  28. input = read("*")
  29. if input == "1337" then
  30. print "Access Permitted!"
  31. sleep(2)
  32. print "You may now enter this computer"
  33.  
  34. elseif input == "modify" then
  35. print "You may now modify PC incase of errors"
  36. sleep(1)
  37. else
  38. write "Try again!"
  39. sleep(2)
  40. term.clear()
  41. sleep(1)
  42. term.setCursorPos(1,1)
  43. sleep(0.1)
  44. shell.run("startup")
  45. end
Add Comment
Please, Sign In to add comment