idk if this works but
gps = game:GetService("GamePassService");
id = script:WaitForChild("GamePassID");
game.Players.PlayerAdded:connect(function(Player)
Player:WaitForDataReady()
if gps:PlayerHasPass(Player , id.Value) then
[gui].Visible = true
end
end)
put that into a script
and make sure to put NumberValue into the script.
the value in the NumberValue should be the id of your destinated gamepass.
make sure the numbervalue's name is "GamePassID" |