Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm Trying To Make A Roblox Script That Detects If You Use The Right User And Pass Could You Help?

Asked by 2 years ago
Edited 2 years ago

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)
0
Did you try printing out the User and Pass variables? KochbananemitGuave 15 — 2y
0
No Idk How To ShakeBubble 15 — 2y
0
I Might Not Respond Soon I'll Be In Studio Trying To Fix This Script But I'll Let You Know If I Fix It ShakeBubble 15 — 2y

Answer this question