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

Why dev product no prompt?

script.Parent.ClickDetector.MouseClick:connect(function(player)
	game:GetService("MarketplaceService"):PromptPurchase(player, 972737495)
end)

fix pls says dev product is no sale when clearly is

1 comment

0

You would want to use PromptProductPurchase then, not PromptPurchase.

1 answer

✓ Accepted answer

You would want to use PromptProductPurchase then, not PromptPurchase. By the way, you don't have to use a click detector. You can replace ClickDetector.MouseClick with MouseButton1Click, and it will work just fine. Here's what I suggest your script should look like:

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

Hope this helps!

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