Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local oldPull = os.pullEvent;
- os.pullEvent = os.pullEventRaw;
- shell.run("clear")
- print("Preparing to boot PC...")
- sleep(2)
- shell.run("clear")
- print(" __ __ _ __ __ ___ ")
- print(" \\ \\ / / (_) _ _ | \\/ | / __|")
- print(" \\ \\/\\/ / | | | ' \\ | |\\/| | | (__ ")
- print(" \\_/\\_/ |_| |_||_| |_| |_| \\___| 2012")
- print(" Millennium ")
- print(" ")
- print(" ")
- print(" ")
- correctuser = "Mike"
- write("Username:")
- user= read()
- if user == (correctuser) then
- else
- print("Incorrect Username!")
- sleep(1)
- shell.run("clear")
- print("Shutting down OS ... o o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... O o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o O o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o o O")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... O o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o O o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o o O")
- sleep(0.5)
- shell.run("clear")
- sleep(3)
- print("Goodbye")
- sleep(1)
- os.shutdown()
- end
- correctpass = "password"
- write("Password:")
- pass= read("*")
- if pass == (correctpass) then
- sleep(0.5)
- shell.run("clear")
- print("Username and Password Accepted!")
- sleep(1)
- shell.run("desktop")
- else
- print("Incorrect Password!")
- sleep(1)
- shell.run("clear")
- print("Shutting down OS ... o o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... O o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o O o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o o O")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... O o o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o O o")
- sleep(0.5)
- shell.run("clear")
- print("Shutting down OS ... o o O")
- sleep(0.5)
- shell.run("clear")
- sleep(3)
- print("Goodbye")
- sleep(1)
- os.shutdown()
- os.pullEvent = oldPull;
- end
Add Comment
Please, Sign In to add comment