Advertisement
XxLen_KagaminexX

ODDOS UPDATED

May 2nd, 2022 (edited)
1,078
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.15 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. p = "225459805"
  4. print("   odd Security v1.4.5   ")
  5. print("=========================")
  6. print("|| UserName: yourname  ||")
  7. write("|| Password: ********  ||")
  8. print("     =========================")
  9. write("Password: ")
  10. pt = read("*")
  11. if pt == (p) then
  12. term.clear()
  13. term.setCursorPos(21, 9)
  14. print("Logging In..")
  15. sleep(2)
  16. term.clear()
  17. term.setCursorPos(21, 9)
  18. print("Login succesful!")
  19. sleep(1)
  20. term.setCursorPos(22, 9)
  21. print("Welcome user!")
  22. sleep(2)
  23. term.clear()
  24. term.setCursorPos(21, 9)
  25. print("Starting odd OS...")
  26. sleep(3)
  27. term.clear()
  28. term.setCursorPos(21, 9)
  29. print("Reading Files...")
  30. sleep(2)
  31. term.clear()
  32. term.setCursorPos(21, 9)
  33. print("Clearing Cache...")
  34. sleep(2)
  35. term.clear()
  36. term.setCursorPos(21, 9)
  37. print("Startup Succesful!")
  38. sleep(1)
  39. term.clear()
  40. term.setCursorPos(1, 1)
  41. print("odd OS v1.4.5")
  42. write("")
  43. elseif pt == "admin" then
  44. write("Admin Mode")
  45. else
  46. term.clear()
  47. term.setCursorPos(21, 9)
  48. print("Logging in...")
  49. sleep(3)
  50. term.clear()
  51. term.setCursorPos(21, 9)
  52. print("Incorrect Password!")
  53. term.setCursorPos(23, 8)
  54. print("Shutting Down...")
  55. sleep(3)
  56. os.shutdown()
  57. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement