how to check if player owns both gamepasses code example
Example: check if player owns gamepass
local id = 15359561 -- Your Gamepass ID Here
game.Players.PlayerAdded:connect(function(player)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, id) then
print("User Owns Gamepass")
else
print("Player Does Not Own Gamepass")
end
end)