Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --KissaOS - OS
- shell.run("clear")
- textutils.slowPrint("KissaOS Login")
- textutils.slowPrint("Username: ")
- user = read()
- if user == "user" then
- textutils.slowPrint("Password: ")
- else
- shell.run("clear")
- textutils.slowPrint("Access Denied.")
- textutils.slowPrint("Computer will reboot in 3 seconds...")
- sleep(3)
- os.reboot()
- end
- pass = read("*")
- if pass == "pass" then
- shell.run("clear")
- textutils.slowPrint("Access Granted.")
- textutils.slowPrint("Welcome to KissaOS!")
- sleep(1)
- shell.run("menu")
- else
- shell.run("clear")
- textutils.slowPrint("Access Denied.")
- textutils.slowPrint("Computer will reboot in 3 seconds...")
- sleep(3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement