I got everything sorted out except from giving the Player the gear when he purchase the Dev Product. So Basically the script is suppose to give player the gear if they buy the Developer Product.
local plr = script.Parent.Parent.Parent.Parent.Parent
local link = game:GetService("MarketplaceService")
deb = 0
script.Parent.MouseButton1Click:connect(function()
local marketId = 21055716 --Here Developer Product ID
link:PromptProductPurchase(plr,marketId)
link.ProcessReceipt = function(receiptInfo)
if Enum.ProductPurchaseDecision.PurchaseGranted and receiptInfo.PlayerId == plr.userId then
if deb == 0 then
deb = 1
local c = game.Lighting.DualVenomshank:Clone()--Here where I'm clonning which is in workspace
c.Parent = game.Lighting--This put the clone into the Lighting
local give = game.Lighting:FindFirstChild("DualVenomshank")--Here where the script search for "DaulVenomshank"
give.Parent = game.StarterPack--Here it where it post to give the Player Who bought the "Dev Product" the gear
wait(1)
deb = 0
end
end
end
end)
