Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --seting pass--
- pass = ("1234")
- ---------------
- while true do
- print("Enter password.")
- a = read()
- if a == pass then
- print("Password correct!")
- rs.setOutput("right", true)
- sleep(3)
- rs.setOutput("right", false)
- elseif a == "exit" then
- print("Good bay")
- else
- print("Password incorrect!")
- rs.setOutput("top", true)
- print("Enter Masster Pass")
- b = read()
- if b == "4321" then
- print("password correct!")
- rs.setOutput("top", false)
- else
- print("password incoorretc!")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement