Hello,
I’ve been working on a new project and was just testing game passes and noticed they are able to be bought multiple times despite them clearly being game passes.
Here is some proof in both images and in studio
The code to prompt it
Proof it is a game pass and not a developer product
Footage of the issue in studio
I’ve done this multiple times in multiple different projects and this is the first and only time I’ve seen a issue like this and any help on this matter would be appreciated.
That should not be possible. How I handle the checking is as follows:
local hasPass = false
local success, message = pcall(function()
hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, id)
end)
if not success then
warn("Error while checking if player has pass: " .. tostring(message))
return
end
-- Check if Player already owns the Game Pass
if hasPass then
---- Player already owns the game pass; tell them somehow
warn("You already own this game pass: " .. tostring(message))
else
-- Continue with purchase
print("Puchase pass", id)
MPS:PromptGamePassPurchase(player, id)