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

How do I make a Gamepass purchasable via GUI?

Asked by 9 years ago

I tried this, but it didn't work.

A = 178499394

script.Parent.MouseButton1Click:connect(function(player)
    Game.MarketplaceService:PromptPurchase(player, A)
end)

Answer this question