MarketplaceService broken?

When I attempt to prompt a product/gamepass purchase, nothing is output/happens.

My code:

local plr = game.Players.LocalPlayer
local id = 9291228

script.Parent.MouseButton1Click:Connect(function()
local mps = game:GetService("MarketplaceService")
mps:PromptGamePassPurchase(plr, id)
end)

1 Like

wrap it in a pcall so it can never yield or error

1 Like

It’s still not working when wrapped in a pcall

Try removing special characters from your gamepass name (such as %). Had the same issue a while back and that fixed it for me.

1 Like

Oh, yeah i do have a % in the tittle

1 Like