I am trying to add a new gamepass. However for some reason the code I use to check whether the player has the gamepass always returns false. I honestly dont know what causes it. I uploaded the gamepass hours ago, so roblox must’ve registered that i have the gamepass.
-- Check if the player already owns the game pass
local success, message = pcall(function()
hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, gamePassID)
end)