local MPS = game:GetService("MarketplaceService") local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Products = { [0] = function(receipt,player) ReplicatedStorage.GrappleHook:Clone().Parent = player.Backpack ReplicatedStorage.GrappleHook:Clone().Parent = player.StarterGear end; }
function MPS.ProcessReceipt(receiptinfo) local playerProductKey = receiptinfo.PlayerId..":"..receiptinfo.PurchaseId local plr = game:GetService("Players"):GetPlayerByUserId(receiptinfo.PlayerId)
local handler for ProductId,func in pairs(Products) do if ProductId == receiptinfo.ProductId then handler = func break end end local suc = pcall(handler,receiptinfo,plr) return Enum.ProductPurchaseDecision.PurchaseGranted
end
I do not believe so. It just looks like a dev product handler. Or part of one at least. It seems to be a custom receipt handler, so that when someone purchases the dev product from the table, it runs the function provided which looks to just be giving the player the tool they purchased.