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 » Game Design
Home Search
 

Re: My tycoon dev products work but do not give me money

Previous Thread :: Next Thread 
Storylife is online. Storylife
Joined: 27 Nov 2010
Total Posts: 19373
09 Aug 2017 12:05 PM
i am able to buy them successfully but they do not give me the cash when i do


this is script:

MarketplaceService.ProcessReceipt = function(receiptInfo)
local productId = receiptInfo.ProductId
local playerId = receiptInfo.PlayerId
local player = getPlayerFromId(playerId)
local productName
if productId == 91528845 then
productName = "$1,000!"
local cashmoney = game.ServerStorage.MoneyStorage:FindFirstChild(player.Name)
if cashmoney then
cashmoney.Value = cashmoney.Value + 1000
return Enum.ProductPurchaseDecision.PurchaseGranted
end

pls help ?


Report Abuse
Skenderbeu98 is not online. Skenderbeu98
Joined: 11 Aug 2013
Total Posts: 467
09 Aug 2017 12:22 PM
local cashmoney = game.ServerStorage.MoneyStorage:FindFirstChild(player.Name)
if cashmoney then
cashmoney.Value = cashmoney.Value + 1000

You are trying to add a number value to what is presumably a folder...good job.
Report Abuse
Storylife is online. Storylife
Joined: 27 Nov 2010
Total Posts: 19373
09 Aug 2017 12:37 PM
well i just want some help and its not a folder its a Properties that has players in it


Report Abuse
Storylife is online. Storylife
Joined: 27 Nov 2010
Total Posts: 19373
09 Aug 2017 03:15 PM
can anyone help me please


Report Abuse
Pxlarr is online. Pxlarr
Joined: 04 Sep 2015
Total Posts: 7126
09 Aug 2017 03:16 PM
Wait for Zednov's tycoon kit to come out. Also here is Zednov's dev product kit.

Dev Product Video: https://www.youtube.com/watch?v=VjK4XUPdJfU


I make stuff I guess?
Report Abuse
Storylife is online. Storylife
Joined: 27 Nov 2010
Total Posts: 19373
09 Aug 2017 03:17 PM
i cant change my kit, i already have the map and everything made i just need to fix this stuff


Report Abuse
Storylife is online. Storylife
Joined: 27 Nov 2010
Total Posts: 19373
09 Aug 2017 03:21 PM
please someone help me, ive been trying to get help for hours


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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