I wanna make a developer product that makes you skip levels. But I don't really know how. I'm new to gamepasses and dev products. Script that I tried:
mps = game:GetService("MarketplaceService")
id = 22244066
mps.ProcessReceipt = function(receiptInfo)
local playerProductKey = "player_"..receiptInfo.PlayerId.."_product_"..receiptInfo.ProductId
for i,v in pairs (game.Players:GetChildren()) do
if v.userId == receiptInfo.PlayerId then
if receiptInfo.ProductId == id then
-- stuck
Please help!

1 comment
There is teams. So whenever you touch a level spawn, it changes the team to the next level. But now, whenever they buy that product, they can be in any level then player get free +2 lvls.