Advertisement
Guest User

123

a guest
Dec 26th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.53 KB | None | 0 0
  1. shell.run("clear")
  2. sleep(1)
  3. print("")
  4. textutils.slowPrint(" BIOS:138: Unexpected Error <eof> 'while' ")
  5. print("")
  6. textutils.slowPrint(" Attempting To Launch")
  7. print("")
  8. textutils.slowPrint(" GYHJGBNTJGHJHBDFGJKNHHGVF")
  9. print("")
  10. term.setTextColor(colors.pink)
  11. textutils.slowPrint(" PRINTING RANDOM LETTERS-")
  12. term.setTextColor(colors.magenta)
  13. print("")
  14. textutils.slowPrint(" VGVFUNVYHBFGHBYUHHVHDCVUBNUJGRCF")
  15. term.setTextColor(colors.blue)
  16. print("")
  17. textutils.slowPrint("JJUKHBVRHSDJFHGKLI:KLLMJNBVTEDFBJ")
  18. print("")
  19. term.setTextColor(colors.white)
  20. shell.run("clear")
  21. textutils.slowPrint(" Loading PowerOS v.1.2")
  22. print("")
  23. textutils.slowPrint("  Please Wait...")
  24. sleep(3)
  25. shell.run("clear")
  26. sleep(2)
  27. term.setTextColor(colors.purple)
  28. textutils.slowPrint("-------------------------")
  29. textutils.slowPrint("|---- PowerOS v.1.2 ----|")
  30. textutils.slowPrint("-------------------------")
  31. term.setTextColor(colors.cyan)
  32. print("")
  33. print(" Would You Like To Access Files On This PC?")
  34. print("If Not, PowerOS Will Shutdown...")
  35. sleep(1)
  36. print("")
  37. print("Yes or No?")
  38. print("")
  39. result = read()
  40. if result == "no" then
  41. sleep(1)
  42. term.clear()
  43. textutils.slowPrint(" PowerOS Shutting Down...")
  44. sleep(3)
  45. shell.run("clear")
  46. os.shutdown()
  47. elseif result == "yes" then
  48. sleep(1)
  49. end
  50. while true do
  51. shell.run("clear")
  52. term.setTextColor(colors.purple)
  53. print("-------------------------")
  54. print("|---- PowerOS v.1.2 ----|")
  55. print("-------------------------")
  56. term.setTextColor(colors.cyan)
  57. print("")
  58. print("")
  59. print(" -------------------------------")
  60. print(" |                            |")
  61. print(" |     Username:              |")
  62. print(" |                            |")
  63. print(" |     Password:              |")
  64. print(" |                            |")
  65. print(" ------------------------------")
  66. term.setTextColor(colors.white)
  67. term.setCursorPos(18,8)
  68. username = read()
  69. term.setCursorPos(18,10)
  70. password = read("*")
  71. if username == "Ruinham"
  72. and password == "Sodje123" or
  73. username == "Killachris225"
  74. and password == "password" then
  75. sleep(1)
  76. break
  77. else
  78. sleep(1)
  79. end
  80. end
  81. shell.run("clear")
  82. term.setTextColor(colors.purple)
  83. print("-------------------------")
  84. print("|---- PowerOS v.1.2 ----|")
  85. print("-------------------------")
  86. term.setTextColor(colors.cyan)
  87. print("")
  88. print("")
  89. textutils.slowPrint(" What Is Your Name...?")
  90. print("")
  91. write("  Your Name: ")
  92. name = read()
  93. shell.run("clear")
  94. term.setTextColor(colors.purple)
  95. print("-------------------------")
  96. print("|---- PowerOS v.1.2 ----|")
  97. print("-------------------------")
  98. term.setTextColor(colors.cyan)
  99. print("")
  100. print("")
  101. if username == "Ruinham" then
  102. print(" Ruinham, Your Name is "..tostring(name))
  103. print("")
  104. print(" Am I Correct?")
  105. print("")
  106. answer = read()
  107. if answer == "yes" then
  108. sleep(1)
  109. shell.run("clear")
  110. term.setTextColor(colors.purple)
  111. print("-------------------------")
  112. print("|---- PowerOS v.1.2 ----|")
  113. print("-------------------------")
  114. term.setColorText(colors.cyan)
  115. elseif answer == "no" then
  116. sleep(1)
  117. os.reboot()
  118. end
  119. end
  120. if username == "Killachris225" then
  121. print(" Killachris225, Your Name is "..tostring(name))
  122. print("")
  123. print(" Am I Correct?")
  124. print("")
  125. answer = read()
  126. shell.run("clear")
  127. term.setTextColor(colors.purple)
  128. print("-------------------------")
  129. print("|---- PowerOS v.1.2 ----|")
  130. print("-------------------------")
  131. term.setTextColor(colors.cyan)
  132. if answer == "yes" then
  133. sleep(1)
  134. print("Im Sorry But You Do Not Have Access To Programs")
  135. sleep(3)
  136. os.shutdown()
  137. elseif answer == "no" then
  138. sleep(1)
  139. os.reboot()
  140. end
  141. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement