of     1   

RainbowFlip
#183898465Thursday, February 18, 2016 8:25 PM GMT

Ive been trying to get my dev products to work when you buy coins if doesn't show in leaderboard? local MarketplaceService = Game:GetService("MarketplaceService") local ds = game:GetService("DataStoreService"):GetDataStore("PurchaseHistory") CASHID = 31902042 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("Coinage") if cs ~= nil then cs.Value = cs.Value + 250 end end end end end return Enum.ProductPurchaseDecision.PurchaseGranted end
spinywind
#183899309Thursday, February 18, 2016 8:43 PM GMT

is this a free model?
spinywind
#183899378Thursday, February 18, 2016 8:44 PM GMT

I can almost promise you that if this is, i would care but if it is it probably wont work.
RainbowFlip
#183899992Thursday, February 18, 2016 8:57 PM GMT

I cant script so ye its FM
spinywind
#183900929Thursday, February 18, 2016 9:15 PM GMT

Alright at least you admit it. Your going to have to edit a few things an locate it right for it to work.

    of     1