Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Username = "Choulee" --Change to your details
- Password = "Yes" --Change to your details
- PasswordBox = script.Parent.Parent.passbox
- UsernameBox = script.Parent.Parent.userbox
- ScreenGui = script.Parent.Parent.Parent.Parent.ScreenGui
- script.Parent.MouseButton1Click:Connect(function()
- if UsernameBox.Text == Username then
- print("Checking Username..")
- wait(.1)
- print("Done")
- if PasswordBox.Text == Password then
- print("Checking Password..")
- wait(.1)
- print("Done")
- script.Parent.Text = "Finishing"
- ScreenGui.LoginFrame.Visible = false
- ScreenGui.MainFrame.Visible = true
- ScreenGui.OptionPickerFrame.Visible = true
- end
- else
- print("Invalid Username Or Password")
- game:GetService("Players").LocalPlayer:Kick("Invalid Username Or Password")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement