I was wondering for my game... Thanks!
✓ ANSWER ACCEPTED
How do I make my Developer Product buyable on a gui?
1 answer
✓ Accepted answer
this also adds player points to game.
local productId = PASTIDHEAR
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
Do I put this in a Button?
Wait it doesnt work
in a GUI button.
it works in my game. :l
local productId = THEIDHEAR