Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

PromptProductPurchase not working as it should?

Asked by
Velsity 218 Moderation Voter
4 years ago
Edited 4 years ago
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 6648532) then
            player.TeamColor = BrickColor.new("Storm blue")
            player:LoadCharacter()
        else
            game:GetService("MarketplaceService"):PromptProductPurchase(player, 6648532)
        end

Instead of prompting the actual gamepass, it just prompts a random place.How would I fix this?

Answer this question