Can anyone please help me fix this so that the cash is given AFTER the purchase?? Because riht now, it gives it before...
-- Yep, it's in a LocalScript, in case anyone asks
buybutton = script.Parent
msp = game:GetService("MarketplaceService")
id = 19251916
p = game.Players.LocalPlayer
buybutton.MouseButton1Click:connect(function ()
msp:PromptPruductPurchase(p,id)
p.leaderstats.Diamonds = p.leaderstats.Diamonds + 1000
end)

2 comments
So all I have to do is do :PromptProductPurchase for each Gui, then use ProcessReceipt? Could I please have your ROBLOX Username incase I need further assistance on this?
Umm. Isn't it that ScriptingHelpers forces us to use our roblox names to sign up?