local access = "a person's name" local Player = game.Players.LocalPlayer if game:is(playernameaccess):(Player, access ) then script.Parent.Visible = true else script.Parent.Select.Disabled = true script.Parent.Visible = false end
I'm trying to make a player have access to vip but it won't work
Try replacing this line:
if game:is(playernameaccess):(Player, access ) then
By this:
if Player.Name == access then
After all, you're just trying to make it check the player's name. Since you're using game.Players.LocalPlayer, make sure this is in a LocalScript.