generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Developer Product Question

Previous Thread :: Next Thread 
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
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
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
28 Jun 2014 08:11 PM
b1
Report Abuse
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
28 Jun 2014 08:19 PM
b2
Report Abuse
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
28 Jun 2014 08:24 PM
Any ideas?
Report Abuse
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
28 Jun 2014 08:34 PM
b3
Report Abuse
GreatOculus is not online. GreatOculus
Joined: 30 Aug 2009
Total Posts: 2103
28 Jun 2014 09:04 PM
Still no responses - forums, scripting friends, scripting helpers.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image