Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)os.pullEvent = os.pullEventRaw
- password = "2521"
- masterpassword = "2111"
- print("Mount Weather Security Terminal")
- write "Please Authenticate: "
- local input = read("*")
- if input == (password) then
- print("Password Accepted - Access Granted")
- redstone.setOutput("back", true)
- sleep(5)
- os.shutdown()
- elseif input == (masterpassword) then
- print("Welcome, Alex. Your terminal is unlocked.")
- sleep(2)
- print("Please save after making your changes.")
- else
- print("Password Incorrect - Rebooting Now.")
- sleep(2)
- os.shutdown()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement