of     1   

Storylife
#223394867Wednesday, August 09, 2017 8:37 PM GMT

game.StarterGui.ResetPlayerGuiOnSpawn = false local MarketplaceService = game:GetService("MarketplaceService") function getPlayerFromId(id) for i,v in pairs(game.Players:GetChildren()) do if v.userId == id then return v end end return nil end 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 end it lets me buy it but it does not give me the cash
Storylife
#223395378Wednesday, August 09, 2017 8:47 PM GMT

bbb
lampard2012FC
#223395472Wednesday, August 09, 2017 8:48 PM GMT

Perhaps there is more help to get by posting this in the scripters forum, sorry I could not help more.
Lightning_Splash
#223395687Wednesday, August 09, 2017 8:52 PM GMT

local script or global?
INOOBE_YT
#223395709Wednesday, August 09, 2017 8:52 PM GMT

How much u offering? :3
AirLonzo
#223396031Wednesday, August 09, 2017 8:58 PM GMT

if productId == [ID] then local cashmoney = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name) if cashmoney then cashmoney.Value = cashmoney.Value + 1000 end put this script in server script storage
Storylife
#223397391Wednesday, August 09, 2017 9:23 PM GMT

do i put it in my existing script or as a new one ?
HugPuppyflower
#223397585Wednesday, August 09, 2017 9:26 PM GMT

OK I will be your scripter I know a little bit! And check out my games if you would like just go on my creations and click escape prison (beta)
HugPuppyflower
#223397735Wednesday, August 09, 2017 9:28 PM GMT

Sometimes a use Roblox models I do it so I will know what I want it to look like oh and my brother knows more scripting then me his username is Masked_Spider
gurmanplaysroblox12
#223397862Wednesday, August 09, 2017 9:30 PM GMT

he's not hiring, read.
AirLonzo
#223399385Wednesday, August 09, 2017 9:56 PM GMT

NEW
Storylife
#223401137Wednesday, August 09, 2017 10:28 PM GMT

Plestro it didnt work :/
v_ery
#223401824Wednesday, August 09, 2017 10:39 PM GMT

copy and paste the output
Storylife
#223403004Wednesday, August 09, 2017 11:02 PM GMT

18:58:46.036 - ServerScriptService.DevProductHandler:42: unexpected symbol near '=' 18:58:46.037 - ServerScriptService.developer script:6: 'end' expected (to close 'if' at line 1) near
Storylife
#223403886Wednesday, August 09, 2017 11:19 PM GMT

help
Storylife
#223404715Wednesday, August 09, 2017 11:34 PM GMT

kwwerkterkertekerk
drager980
#223405101Wednesday, August 09, 2017 11:42 PM GMT

-- Place this in ServerScriptStoragge thing or whatever local MarketplaceService = game:GetService("MarketplaceService") function getPlayerFromId(id) for _,player in pairs(game.Players:GetPlayers()) do if player.UserId == id then return player end end return false end function MarketplaceService.ProcessReceipt(receiptInfo) local productId = receiptInfo.ProductId local playerId = receiptInfo.PlayerId local player = getPlayerFromId(playerId) local productName if productId == 91528845 then local cashmoney = game.ServerStorage.MoneyStorage:FindFirstChild(player.Name) if cashmoney then cashmoney.Value = cashmoney.Value + 1000 else print("You do not have an object in ServerStorage.MoneyStorage for the player" end end end
Storylife
#223406557Thursday, August 10, 2017 12:13 AM GMT

thank you for the help, but do i place that in my current script or in a new one ?

    of     1