Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Usernames = {
- ["TEST"] = true;
- ["ani67"] = true;
- [""] = true;
- [""] = true;
- [""] = true;
- [""] = true;
- [""] = true;
- [""] = true;
- }
- local Passwords = {
- ["123"] = true;
- }
- local Login = game.CoreGui.Login
- local Key = Login.Main.WhitelistFrame.Key
- local Username = Login.Main.UserFrame.UserBox
- local Userpassed = false
- local WLPassed = false
- if Usernames[Username.Text] then
- Userpassed = true
- else
- game.Players.LocalPlayer:Kick("Detected Crack Attempt")
- end
- if Passwords[Key.Text] then
- WLPassed = true
- else
- game.Players.LocalPlayer:Kick("Detected Crack Attempt")
- end
- if Userpassed == true then
- if WLPassed == true then
- -- your script here after they get true
- print("Welcome back :)")
- script.Parent.Frame.Visible = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement