Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local pass
- local realPass = "mango"
- local adminPass = "DoctorWho"
- shell.run("clear")
- print("Enter Passcode:")
- pass = read("*")
- if(pass == realPass) then
- print("Password Correct")
- redstone.setOutput("bottom", true)
- sleep(1.5)
- redstone.setOutput("bottom", false)
- os.reboot()
- elseif(pass == adminPass) then
- else
- print("Password Incorrect")
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement