local devProductId = 44604629
local pl = game.Players.LocalPlayer

-- Don't mess with anything down below --
script.Parent.MouseButton1Click:connect(function()
	game:GetService("MarketplaceService"):PromptProductPurchase(pl, devProductId)
end)

local MarketplaceService = game:GetService("MarketplaceService")
local ds = game:GetService("DataStoreService"):GetDataStore("PurchaseHistory")
MarketplaceService.ProcessReceipt = function(receiptInfo)
	for i, player in ipairs(game.Players:GetChildren()) do
		if player.userId == receiptInfo.PlayerId then
			if receiptInfo.ProductId == devProductId then
				local cash = game.ServerStorage:WaitForChild('PlayerMoney'):FindFirstChild(player.Name)
				cash.Value = cash.Value + 25000
			end
		end
	end
	local playerProductKey = "pl_" .. receiptInfo.PlayerId .. "_purchase_" .. receiptInfo.ProductId
		ds:IncrementAsync(playerProductKey, 1)	
	return Enum.ProductPurchaseDecision.PurchaseGranted
end

Its not giving me 25000 cash