Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)os.pullEvent = os.pullEventRaw
- password = "111"
- masterpassword = "1111"
- print("Welcome to PlebCorp - founded by Euan!")
- sleep(1)
- print("Iniating Security Check Sequence..."
- sleep(1)
- write "Please Enter Password: "
- local input = read("*")
- if input == (password) then
- print("Password Accepted - Access Granted")
- print("Welcome to PlebCorp!")
- redstone.setOutput("back", true)
- sleep(5)
- os.shutdown()
- elseif input == (masterpassword) then
- print("Welcome, Euan. Your terminal is unlocked using your masterpassword.")
- 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