Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- write("Enter Password: ")
- pass = pcall(read)
- if pass == "password" then
- redstone.setOutput("left",true)
- term.setTextColor(colors.lime)
- print("Password Correct!")
- sleep(3)
- redstone.setOutput("left",false)
- os.reboot()
- else
- term.setTextColor(colors.red)
- print("Password Incorrect!")
- sleep(3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement