I'm Trying To Make A Roblox Script That Detects If You Use The Right User And Pass But Its Not Working Here It Is (DONT WORRY IT IS NOT THEIR ROBLOX USER AND PASS JUST ONE FOR MY GAME)
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Parent.Enabled = false local User = game.Players.LocalPlayer.PlayerSettings.Username.Value local Pass = game.Players.LocalPlayer.PlayerSettings.Password.Value local UserText = script.Parent.Parent.UsernameBox.Text local PassText = script.Parent.Parent.PasswordBox.Text if UserText == User and PassText == Pass then script.Parent.Visible = true end end)