> `local MarketplaceService = game:GetService('MarketplaceService') > local devproductid = 94449467 > > MarketplaceService.ProcessReceipt = function(receiptInfo) > for i, player in ipairs(game.Players:GetChildren()) do > if player.userId == receiptInfo.PlayerId then > if receiptInfo.ProductId == devproductid then > player.Stats.Coins.Value = player.Stats.Coins.Value + 25 > end > end > end > return Enum.ProductPurchaseDecision.PurchaseGranted > end > `
This wiki article will teach you how to: http://wiki.roblox.com/index.php?title=Handling_multiple_developer_products