Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- password = "679805"
- inverted = false
- side = "right"
- opentime = 5
- rs.setOutput(side,inverted)
- write("Enter Password:")
- input = read("*")
- if input == password then
- if inverted == true then
- print("Access Granted")
- rs.setOutput(side, false)
- sleep(opentime)
- os.reboot()
- else
- print("Access Granted")
- rs.setOutput(side, true)
- sleep(opentime)
- os.reboot()
- end
- elseif input == "admin" then
- print("Going into Adming Mode...")
- sleep(2)
- else
- print("Acess Denied")
- sleep(3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement