Since the past day I've been trying to use the code for my gui it basiclly makes the gui visible when someone has the gamepass but it is not working I did everything correctly and it still not working heres my code Hope you guys find a solution to my problem~~~~~~~~~~~~~~~~~
game.Players.PlayerAdded:connect(function(player)
if Game:GetService("GamePassService"):PlayerHasPass(player, id) then
print(player.Name .. " has the game pass!")
else
print(player.Name .. " doesn't have the game pass...")
end
end)

1 comment
Thank you so much for considering to help me