Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a developer product that when bought skips some levels?

Asked by 10 years ago

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 answer

Log in to vote
0
Answered by
3dsonicdx 163
10 years ago

First of all, you need to give us more information than that. We don't know how the level system works, so there isn't a way to help.

0
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. Operation_Meme 890 — 10y
Ad

Answer this question