I put in the productID, but when someone buys something from my in-game it don't do nothing.
Script: script.Parent.Frame.Darkroot.MouseButton1Click:connect(function() game:GetService("MarketplaceService"):PromptProductPurchase(Player, 29666143, true, Enum.CurrencyType.Robux) end)
1 | id = 29666143 |
2 | player = game.Players.LocalPlayer |
3 |
4 | script.Parent.MouseButton 1 Click:connect( function () |
5 | game:GetService( "MarketplaceService" ):PromptPurchase(player,id) |
6 | end ) |
Is this what you're talking about?