Advertisement
aodminecraft

Arc OS colour - Startup

Jul 28th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.89 KB | None | 0 0
  1. uname = "root"
  2. pword = "123456"
  3. local side = "left"
  4.  
  5. function os.pullEvent()
  6. local event, p1, p2, p3, p4, p5 = os.pullEventRaw()
  7. if event == "terminate" then
  8. end
  9. return event, p1, p2, p3, p4, p5
  10. end
  11.  
  12. sleep (0.5)
  13. bground = paintutils.loadImage(".background")
  14. paintutils.drawImage(bground,1,1)
  15. term.setCursorPos(1,1)
  16. term.setTextColor(colors.orange)
  17. print("Loading System Please Wait")
  18. sleep(0.25)
  19.  
  20. term.clear()
  21. bground = paintutils.loadImage(".background")
  22. paintutils.drawImage(bground,1,1)
  23. term.setCursorPos(1,1)
  24. term.setTextColor(colors.orange)
  25. print("Loading System Please Wait.")
  26. sleep(0.25)
  27.  
  28. term.clear()
  29. bground = paintutils.loadImage(".background")
  30. paintutils.drawImage(bground,1,1)
  31. term.setCursorPos(1,1)
  32. term.setTextColor(colors.orange)
  33. print("Loading System Please Wait..")
  34. sleep(0.25)
  35.  
  36. term.clear()
  37. bground = paintutils.loadImage(".background")
  38. paintutils.drawImage(bground,1,1)
  39. term.setCursorPos(1,1)
  40. term.setTextColor(colors.orange)
  41. print("Loading System Please Wait...")
  42. sleep(0.25)
  43.  
  44. term.clear()
  45. bground = paintutils.loadImage(".background")
  46. paintutils.drawImage(bground,1,1)
  47. term.setCursorPos(1,1)
  48. term.setTextColor(colors.orange)
  49. print("Loading System Please Wait....")
  50. sleep(0.25)
  51.  
  52. term.clear()
  53. bground = paintutils.loadImage(".background")
  54. paintutils.drawImage(bground,1,1)
  55. term.setCursorPos(1,1)
  56. term.setTextColor(colors.orange)
  57. print("Loading System Please Wait.....")
  58. sleep(0.25)
  59.  
  60. term.clear()
  61. bground = paintutils.loadImage(".background")
  62. paintutils.drawImage(bground,1,1)
  63. term.setCursorPos(1,1)
  64. term.setTextColor(colors.orange)
  65. print("Loading System Please Wait......")
  66. sleep(0.25)
  67.  
  68. term.clear()
  69. bground = paintutils.loadImage(".background")
  70. paintutils.drawImage(bground,1,1)
  71. term.setCursorPos(1,1)
  72. term.setTextColor(colors.orange)
  73. print("Loading System Please Wait.......")
  74. sleep(0.25)
  75.  
  76. term.clear()
  77. bground = paintutils.loadImage(".background")
  78. paintutils.drawImage(bground,1,1)
  79. term.setCursorPos(1,1)
  80. term.setTextColor(colors.orange)
  81. print("Loading System Please Wait........")
  82. sleep(0.25)
  83.  
  84. term.clear()
  85. bground = paintutils.loadImage(".background")
  86. paintutils.drawImage(bground,1,1)
  87. term.setCursorPos(1,1)
  88. term.setTextColor(colors.orange)
  89. print("Loading System Please Wait.........")
  90. sleep(0.25)
  91.  
  92. term.clear()
  93. bground = paintutils.loadImage(".background")
  94. paintutils.drawImage(bground,1,1)
  95. term.setCursorPos(1,1)
  96. term.setTextColor(colors.orange)
  97. print("Loading System Please Wait..........")
  98. sleep(0.25)
  99.  
  100. term.clear()
  101. bground = paintutils.loadImage(".background")
  102. paintutils.drawImage(bground,1,1)
  103. term.setCursorPos(1,1)
  104. term.setTextColor(colors.orange)
  105. print("Loading Boot")
  106. sleep(0.25)
  107.  
  108. term.clear()
  109. bground = paintutils.loadImage(".background")
  110. paintutils.drawImage(bground,1,1)
  111. term.setCursorPos(1,1)
  112. term.setTextColor(colors.orange)
  113. print("Loading Boot.")
  114. sleep(0.25)
  115.  
  116. term.clear()
  117. bground = paintutils.loadImage(".background")
  118. paintutils.drawImage(bground,1,1)
  119. term.setCursorPos(1,1)
  120. term.setTextColor(colors.orange)
  121. print("Loading Boot..")
  122. sleep(0.25)
  123.  
  124. term.clear()
  125. bground = paintutils.loadImage(".background")
  126. paintutils.drawImage(bground,1,1)
  127. term.setCursorPos(1,1)
  128. term.setTextColor(colors.orange)
  129. print("Loading Boot...")
  130. sleep(0.25)
  131.  
  132. term.clear()
  133. bground = paintutils.loadImage(".background")
  134. paintutils.drawImage(bground,1,1)
  135. term.setCursorPos(1,1)
  136. term.setTextColor(colors.orange)
  137. print("Loading Programs")
  138. sleep(0.25)
  139.  
  140. term.clear()
  141. bground = paintutils.loadImage(".background")
  142. paintutils.drawImage(bground,1,1)
  143. term.setCursorPos(1,1)
  144. term.setTextColor(colors.orange)
  145. print("Loading Programs.")
  146. sleep(0.25)
  147.  
  148. term.clear()
  149. bground = paintutils.loadImage(".background")
  150. paintutils.drawImage(bground,1,1)
  151. term.setCursorPos(1,1)
  152. term.setTextColor(colors.orange)
  153. print("Loading Programs..")
  154. sleep(0.25)
  155.  
  156. term.clear()
  157. bground = paintutils.loadImage(".background")
  158. paintutils.drawImage(bground,1,1)
  159. term.setCursorPos(1,1)
  160. term.setTextColor(colors.orange)
  161. print("Loading Programs...")
  162. sleep(0.25)
  163.  
  164. term.clear()
  165. term.setCursorPos(1,1)
  166. term.setTextColor(colors.red)
  167.  
  168. print '                   ------------'
  169. print '                      Arc OS   '
  170. print '                   ------------'
  171.  
  172. term.setTextColor(colors.yellow)
  173. write("Username: ")
  174. username = read()
  175. if username == (uname) then
  176. sleep(1)
  177.  
  178. term.clear()
  179. term.setCursorPos(1,1)
  180. term.setTextColor(colors.red)
  181.  
  182. print '                   ------------'
  183. print '                      Arc OS   '
  184. print '                   ------------'
  185.  
  186. term.setTextColor(colors.yellow)
  187. write("Password: ")
  188. password = read("*")
  189.  
  190. if password == (pword) then
  191. sleep(0.75)
  192. term.clear()
  193. term.setCursorPos(1,1)
  194. print("Welcome Back User!")
  195. shell.run("boot")
  196.  
  197. else
  198. print("Incorrect Password! Shutting Down System...!")
  199. sleep(2)
  200. shell.run("startup")
  201. end
  202.  
  203. else
  204. print("Incorrect Usrername! Shuttdown Down System...!")
  205. sleep(2)
  206. shell.run("startup")
  207. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement