|
| 28 Jun 2014 08:09 PM |
So I'm creating a shop gui using developer products:
local MarketplaceService = Game:GetService("MarketplaceService") local buyButton = script.Parent local productId = 20308410 buyButton.MouseButton1Click:connect(function() local player = script.Parent.Parent.Parent.Parent.Parent MarketplaceService:PromptProductPurchase(player, productId) end)
The purchase works and all, but I am not sure where to code the part where it gives the player the purchased item. Keyword is WHERE. I know how to code it and all, but I just do not know where to code it. My guess is you have to use the receipts or whatever, but I am not sure how to do that. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
|
| 28 Jun 2014 09:04 PM |
| Still no responses - forums, scripting friends, scripting helpers. |
|
|
| Report Abuse |
|
|