Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

MarketplaceService Help please?

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 comment

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.

1 answer

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?

This discussion is preserved as it was. New answers, comments, and votes are closed.