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

MarketplaceService Help please?

Asked by 8 years ago

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)

0
PromptProductPurchase is only for Dev products, I think. But if you want something given to a player, reply to my comment and I will answer. TheDeadlyPanther 2460 — 8y

1 answer

Log in to vote
0
Answered by
ImfaoXD 158
8 years ago
id = 29666143
player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptPurchase(player,id)
end)

Is this what you're talking about?

Ad

Answer this question