I'm making a donation button and it works. But i also want a donation board wich also works.
But how would i check if a product purchase has been finished? So i can give the player the points for the leaderboard?
script.Parent.MouseButton1Click:Connect(function()
local player = script.Parent.Parent.Parent.Parent.Parent
local marketplaceservice = game:GetService("MarketplaceService")
local purchase = marketplaceservice:PromptProductPurchase(player, 1138590988)
end)

2 comments
can you show me your developer product script?
Edited