Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- failed = 0
- while true do
- shell.run("clear")
- if failed == 3 then
- print("Du hast das Password 3 Mal falsch eingegeben!")
- print("You havent typed the password correctly three times!")
- sleep(60)
- failed = 0
- return true
- end
- write("Password: ")
- m = read()
- if m == 8559 then
- print("Access granted!")
- rs.setOutput("left", true)
- sleep(5)
- rs.setOutput("left", false)
- failed = 0
- else
- print("Access denied!")
- sleep(2)
- failed++
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement