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: Help Developer Product script!

Previous Thread :: Next Thread 
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
10 Aug 2014 09:30 PM
What Am I doing wrong?!?



local MarketplaceService = Game:GetService("MarketplaceService")
local ds = game:GetService("DataStoreService"):GetDataStore("PurchaseHistory")
local id= 20862676
MarketplaceService.ProcessReceipt = function(receiptInfo)
local playerProductKey = "player_" .. receiptInfo.PlayerId .. "_product_" .. receiptInfo.ProductId
local numberBought = ds:IncrementAsync(playerProductKey, 1)
game.Workspace.DisplayScreen.SurfaceGui.TextBox.Text = receiptInfo.PlayerId .. " has bought " .. numberBought .. " items."
return Enum.ProductPurchaseDecision.PurchaseGranted
end
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
10 Aug 2014 09:30 PM
Stop reposting
Report Abuse
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
10 Aug 2014 09:33 PM
Then help
Report Abuse
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
10 Aug 2014 09:34 PM
b
Report Abuse
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
10 Aug 2014 09:36 PM
wsqax
Report Abuse
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
10 Aug 2014 09:42 PM
qwdxsd
Report Abuse
Vescatur is not online. Vescatur
Joined: 18 Feb 2012
Total Posts: 3426
10 Aug 2014 09:46 PM
http://wiki.roblox.com/index.php?title=Developer_product

http://www.roblox.com/Developer-Product-Sample-place?id=147965737
Report Abuse
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
10 Aug 2014 09:58 PM
Aint working for me :(
Report Abuse
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
10 Aug 2014 10:06 PM
Nvm worked! :D

Thx so much!
Report Abuse
Vescatur is not online. Vescatur
Joined: 18 Feb 2012
Total Posts: 3426
10 Aug 2014 10:08 PM
have fun with it.
Report Abuse
iWildTiger is not online. iWildTiger
Joined: 21 Feb 2014
Total Posts: 3907
11 Aug 2014 07:53 AM
Actually one problem, What would I do if I wanted many because It only works with one.
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