Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- u = "robinpmac"
- p = "password"
- a = term.setCursorPos
- -- Initial boot up screen, 1 time only
- term.clear()
- a(1, 1)
- print("Macrosoft Corperation")
- sleep(.5)
- write("Running Startup")
- sleep(.5)
- textutils.slowPrint("...")
- sleep(.5)
- for i=1, 2 do
- a(19, 2)
- print(" | ")
- sleep(.1)
- --
- a(19, 2)
- print(" / ")
- sleep(.1)
- --
- a(19, 2)
- print(" -- ")
- sleep(.1)
- --
- a(19, 2)
- print(" / ")
- sleep(.1)
- --
- a(19, 2)
- print(" | ")
- sleep(.1)
- --
- a(19, 2)
- print(" / ")
- sleep(.1)
- --
- a(19, 2)
- print(" -- ")
- sleep(.1)
- --
- a(19, 2)
- print(" / ")
- sleep(.1)
- --
- a(19, 2)
- print(" | ")
- sleep(.1)
- end
- sleep(2)
- term.clear()
- shell.run("loadbar")
- x = ""
- while x ~= u do
- term.setBackgroundColor(colors.cyan)
- term.clear()
- a(22, 8)
- print("Username:")
- a(22, 9)
- local input = read()
- if input == u then
- for i=1, 2 do
- term.scroll(1)
- sleep(.25)
- end
- a(22, 10)
- print("Password")
- a(22, 11)
- local input = read("*")
- if input == p then
- term.clear()
- a(12, 8)
- print("Loading Your Personal Settings")
- a(25, 9)
- textutils.slowPrint("...")
- sleep(2)
- term.setBackgroundColor(colors.black)
- term.clear()
- a(1, 1)
- print("Macrosoft Ceilings 8.2")
- break
- else
- term.clear()
- term.setTextColor(colors.red)
- a(18, 8)
- print("Invalid Password")
- term.setTextColor(colors.white)
- sleep(2)
- end
- else
- term.clear()
- term.setTextColor(colors.red)
- a(18, 8)
- print("Invalid Username")
- term.setTextColor(colors.white)
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement