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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 27 Nov 2010 |
| Total Posts: 19373 |
|
| |
|
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
|
  |
| 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
|
  |
| 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 |
|
|