Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local username
- local password
- local success1 = false
- local success2 = false
- function login()
- print("Enter your username")
- username = read()
- print("Enter your password")
- password = read()
- if (username == "JackNoir8")
- then success1 = true
- end
- if (password == "password")
- then success2 = true
- end
- if (success1 && success2)
- then print("Login Attempt Successful")
- else print("Login Attempt Unsuccessful") login()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment