of     1   

789cab
#141328405Thursday, July 24, 2014 12:35 AM GMT

local MarketplaceService = Game:GetService("MarketplaceService") local ds = game:GetService("DataStoreService"):GetDataStore("PurchaseHistory") CASHID = 20622326 MarketplaceService.ProcessReceipt = function(receiptInfo) local playerProductKey = "player_" .. receiptInfo.PlayerId .. "_product_" .. receiptInfo.ProductId local numberBought = ds:IncrementAsync(playerProductKey, 1) for i,v in pairs (game.Players:GetChildren()) do if v.userId == receiptInfo.PlayerId then if receiptInfo.ProductId == CASHID then lds = v:FindFirstChild("leaderstats") if lds ~= nil then cs = lds:FindFirstChild("Money") if cs ~= nil then cs.Value = cs.Value + 500 end end end end end return Enum.ProductPurchaseDecision.PurchaseGranted end Script.Parent.MousButton1down:connect(function() Game:GetService("MarketplaceService"):PromptProductPurchase(player, productid) end) No output... Also I was told to go to the Scripters forum, which isn't necessarily for help. ||Goal: R$ 32/10,000 | Help me reach it by buying my clothing!||
Gamati
#141328876Thursday, July 24, 2014 12:40 AM GMT

not sure if this is the ONLY mistake, but this is a typo: Script.Parent.MousButton1down:connect(function()
789cab
#141329199Thursday, July 24, 2014 12:43 AM GMT

Well, that was fixed, but it still won't prompt purchase. ||Goal: R$ 32/10,000 | Help me reach it by buying my clothing!||
789cab
#141329785Thursday, July 24, 2014 12:49 AM GMT

not solved.. ||Goal: R$ 32/10,000 | Help me reach it by buying my clothing!||
789cab
#141330060Thursday, July 24, 2014 12:52 AM GMT

I NEED THIS. ||Goal: R$ 32/10,000 | Help me reach it by buying my clothing!||
789cab
#141330196Thursday, July 24, 2014 12:53 AM GMT

. ||Goal: R$ 32/10,000 | Help me reach it by buying my clothing!||.
VisualGraphics
#141330399Thursday, July 24, 2014 12:55 AM GMT

local MarketplaceService = Game:GetService("MarketplaceService") local ds = game:GetService("DataStoreService"):GetDataStore("PurchaseHistory") local player = game.Players.LocalPlayer productid = 20622326 MarketplaceService.ProcessReceipt = function(receiptInfo) local playerProductKey = "player_" .. receiptInfo.PlayerId .. "_product_" .. receiptInfo.ProductId local numberBought = ds:IncrementAsync(playerProductKey, 1) for i,v in pairs (game.Players:GetChildren()) do if v.userId == receiptInfo.PlayerId then if receiptInfo.ProductId == productid then lds = v:FindFirstChild("leaderstats") if lds ~= nil then cs = lds:FindFirstChild("Money") if cs ~= nil then cs.Value = cs.Value + 500 end end end end end return Enum.ProductPurchaseDecision.PurchaseGranted end Script.Parent.MouseButton1Click:connect(function() Game:GetService("MarketplaceService"):PromptProductPurchase(player, productid) end) --maybe
789cab
#141331121Thursday, July 24, 2014 1:03 AM GMT

nope... ||Goal: R$ 32/10,000 | Help me reach it by buying my clothing!||

    of     1