What do you want to achieve?
I want it so if I click the button and my name is achdef the PASS UI do not show up.
What is the issue? Include screenshots / videos if possible!
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried doing else, else if etc and even using a table.
local Open = script.Parent local AdminUI = script.Parent.Parent local Pass = AdminUI.Pass game.Players.PlayerAdded:Connect(function(plr) Open.MouseButton1Click:Connect(function() Pass.Visible = true elseif plr.Name == "achdef" then Pass.Visible = false print("debugging") end end) end