Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Loading Easy Lock V1.0")
- sleep(1)
- textutils.slowPrint("...")
- sleep(1)
- textutils.slowPrint("..)
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Easy Lock V1.0 Loaded")
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- print("EL Login 1.0")
- write("User:")
- input = read()
- if input == User then
- write("Pass:")
- else
- shell.run("Nope")
- end
- input = read("*")
- if input == Pass then
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Welcome Admin")
- sleep(2)
- shell.run("Exit2")
- else
- shell.run("Nope")
- end
- Nope: The First Warning
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("User/Pass not recognized... Please try again")
- sleep(2)
- shell.run("Retry")
- Retry: The Second Chance
- User = "Admin"
- Pass = "Admin"
- term.clear()
- term.setCursorPos(1,1)
- print("EL Login 1.0")
- write("User:")
- input = read()
- if input == User then
- write("Pass:")
- else
- shell.run("Nope2")
- end
- input = read("*")
- if input == Pass then
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Welcome Admin")
- sleep(2)
- shell.run("Exit2")
- else
- shell.run("Nope2")
- end
- Nope2: The Final Warning
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("User/Pass not recognized... Please try again")
- sleep(2)
- shell.run("Retry2")
- Retry2: The Last Chance
- User = "Admin"
- Pass = "Admin"
- term.clear()
- term.setCursorPos(1,1)
- print("EL Login 1.0 | Failure will lock computer")
- write("User:")
- input = read()
- if input == User then
- write("Pass:")
- else
- shell.run("Lock")
- end
- input = read("*")
- if input == Pass then
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Welcome Admin")
- sleep(2)
- shell.run("Exit2")
- else
- shell.run("Lock")
- end
- Lock: The Loops
- Unlock - "Administrator"
- textutils.slowPrint("Computer Locked")
- sleep(2)
- local input = ""
- while input ~= Unlock do
- term.clear()
- term.setCursorPos(1,1)
- print("Computer Locked")
- write("Unlock Key:")
- input = read("*")
- end
- textutils.slowPrint("Unlock Key Entered...")
- sleep(2)
- shell.run("Beta1.0")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement