Help with Developer Products

So basically, i want to make a respawn Developer Product, i already have the product made, and the respawning system all working, however for the sripting side of things, all the scripts i found, i barely understand, and everyone makes it unclear on what exactly to do.

Im just looking for a good explination to how to specifically use them.

I did look at that before i posted here, i also looked on the dev forum for how to do it, and nothing i found made sense to me at all, primarily because everyone explains it very poorly, and in like, over 20 messages.

local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")

local function PlayerAdded(Player)
          MarketplaceService:PromptProductPurchase(Player, 1234567) -- Dev Product ID here.

MarketplaceService.ProcessReceipt = function(receiptInfo)
     if receiptInfo.ProductId == 1234567 then -- Your respawn script below this line


if this is what you’re looking for, there are tons of videos online on how to do it not just on the devforums

1 Like

I believe this has worked, thanks!