Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("clear")
- sleep(1)
- print("")
- textutils.slowPrint(" BIOS:138: Unexpected Error <eof> 'while' ")
- print("")
- textutils.slowPrint(" Attempting To Launch")
- print("")
- textutils.slowPrint(" GYHJGBNTJGHJHBDFGJKNHHGVF")
- print("")
- term.setTextColor(colors.pink)
- textutils.slowPrint(" PRINTING RANDOM LETTERS-")
- term.setTextColor(colors.magenta)
- print("")
- textutils.slowPrint(" VGVFUNVYHBFGHBYUHHVHDCVUBNUJGRCF")
- term.setTextColor(colors.blue)
- print("")
- textutils.slowPrint("JJUKHBVRHSDJFHGKLI:KLLMJNBVTEDFBJ")
- print("")
- term.setTextColor(colors.white)
- shell.run("clear")
- textutils.slowPrint(" Loading PowerOS v.1.2")
- print("")
- textutils.slowPrint(" Please Wait...")
- sleep(3)
- shell.run("clear")
- sleep(2)
- term.setTextColor(colors.purple)
- textutils.slowPrint("-------------------------")
- textutils.slowPrint("|---- PowerOS v.1.2 ----|")
- textutils.slowPrint("-------------------------")
- term.setTextColor(colors.cyan)
- print("")
- print(" Would You Like To Access Files On This PC?")
- print("If Not, PowerOS Will Shutdown...")
- sleep(1)
- print("")
- print("Yes or No?")
- print("")
- result = read()
- if result == "no" then
- sleep(1)
- term.clear()
- textutils.slowPrint(" PowerOS Shutting Down...")
- sleep(3)
- shell.run("clear")
- os.shutdown()
- elseif result == "yes" then
- sleep(1)
- end
- while true do
- shell.run("clear")
- term.setTextColor(colors.purple)
- print("-------------------------")
- print("|---- PowerOS v.1.2 ----|")
- print("-------------------------")
- term.setTextColor(colors.cyan)
- print("")
- print("")
- print(" -------------------------------")
- print(" | |")
- print(" | Username: |")
- print(" | |")
- print(" | Password: |")
- print(" | |")
- print(" ------------------------------")
- term.setTextColor(colors.white)
- term.setCursorPos(18,8)
- username = read()
- term.setCursorPos(18,10)
- password = read("*")
- if username == "Ruinham"
- and password == "Sodje123" or
- username == "Killachris225"
- and password == "password" then
- sleep(1)
- break
- else
- sleep(1)
- end
- end
- shell.run("clear")
- term.setTextColor(colors.purple)
- print("-------------------------")
- print("|---- PowerOS v.1.2 ----|")
- print("-------------------------")
- term.setTextColor(colors.cyan)
- print("")
- print("")
- textutils.slowPrint(" What Is Your Name...?")
- print("")
- write(" Your Name: ")
- name = read()
- shell.run("clear")
- term.setTextColor(colors.purple)
- print("-------------------------")
- print("|---- PowerOS v.1.2 ----|")
- print("-------------------------")
- term.setTextColor(colors.cyan)
- print("")
- print("")
- if username == "Ruinham" then
- print(" Ruinham, Your Name is "..tostring(name))
- print("")
- print(" Am I Correct?")
- print("")
- answer = read()
- if answer == "yes" then
- sleep(1)
- shell.run("clear")
- term.setTextColor(colors.purple)
- print("-------------------------")
- print("|---- PowerOS v.1.2 ----|")
- print("-------------------------")
- term.setColorText(colors.cyan)
- elseif answer == "no" then
- sleep(1)
- os.reboot()
- end
- end
- if username == "Killachris225" then
- print(" Killachris225, Your Name is "..tostring(name))
- print("")
- print(" Am I Correct?")
- print("")
- answer = read()
- shell.run("clear")
- term.setTextColor(colors.purple)
- print("-------------------------")
- print("|---- PowerOS v.1.2 ----|")
- print("-------------------------")
- term.setTextColor(colors.cyan)
- if answer == "yes" then
- sleep(1)
- print("Im Sorry But You Do Not Have Access To Programs")
- sleep(3)
- os.shutdown()
- elseif answer == "no" then
- sleep(1)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement