gamepassid=163752053 player = game.Players.LocalPlayer if game:GetService("GamePassService"):PlayerHasPass(player,gamepassid) then script.Parent.Visible = true else script.Parent.Visible = false end
when i join the game the gui just disappears and doesn't reconized the player if he/she has the gamepass
Since I can't comment, I will post it here. If something does not work, please tell us how it does not work, and if there are any errors, please post your output here also. And can you say if it is in a Script or a LocalScript also, because PlayerHasPass will not work in LocalScripts.