Developer products tools

Hey, I’m making an update for my game and I need to add developer product tools, I can’t find any script on google for this…

Can someone help me find script for that?

It will be appriciate if you can help :smile:

Could you go more in depth? What are you looking for exactly? To my understanding, you’d like to give a tool whenever someone purchases a developer product?

You can refer to this. The sample code on this page is actually really well written and will cover all your needs. To configure this for your game, you’d simply add logic in the product function category. Here is an example.

-- this isnt a full script, but if you decide to go the route of checking the processreceipt code you can use below as a productFunction.
productFunctions[productIdHere] = function(receipt, player)
   local toolToClone = game.ServerStorage.Tool:Clone()
   toolToClone.Parent = player.Backpack
   return true
end

Also, just in case you’re unsure how to actually prompt a dev product purchase you can read the following: MarketplaceService:PromptProductPurchase

1 Like