Would this script work? It's supposed to give you cash ( Cash1) when you purchase the developer product.
local mpService = game.GetService("MarketplaceService") local RS = game:GetService("ReplicatedStorage") local Cash1 = RS.CashAmounts.Cash1 mpService.ProcessReceipt = function(purchaseInfo) local plr = game.Players.GetPlayerByUserId(purchaseInfo.PlayerId) if purchaseInfo.ProductId == 55131820 then --The value will be incremented... local Cash = plr.leaderstats.Cash Cash.Value = Cash.Value + Cash1.Value end return Enum.ProductPurchaseDecision.PurchaseGranted end