Luau Scripting Part of the Roblox Monetization guide →

Roblox Game Pass vs Developer Product: Which One to Use

Roblox game pass vs developer product: one-time vs repeatable purchases, how each is created and scripted, revenue share, and which to pick for your item.

Roblox Game Pass vs Developer Product: Which One to Use
On this page
  1. Game pass vs developer product at a glance
  2. When to use a pass
  3. When to use a developer product
  4. How purchases flow for each type
  5. Scripting a pass
  6. Scripting a developer product
  7. Selling outside your game
  8. Revenue: what you earn
  9. Which should you choose?
  10. Related guides
  11. Sources

Roblox gives you two ways to sell things inside your game: passes (still widely called game passes) and developer products. They look similar in Creator Hub, but they behave very differently once a player buys one. This guide compares a Roblox game pass vs developer product side by side, shows the basic Luau script for each, and helps you pick the right one for the item you want to sell.

Game pass vs developer product at a glance

Here’s what Roblox’s Creator Hub documentation says about each, as of November 2026:

Pass (game pass)Developer product
How often a player can buy itOnceAs many times as they want
Typical usesVIP area, avatar item, permanent power-upCurrency, ammo, potions, consumables
Does Roblox track ownership?Yes, you can check it any timeNo per-player purchase history
Where you create itMonetization › PassesMonetization › Developer Products
Check or grant withUserOwnsGamePassAsync + PromptGamePassPurchaseFinishedProcessReceipt callback
Prompt purchase withPromptGamePassPurchasePromptProductPurchase
GetProductInfo typeEnum.InfoType.GamePassEnum.InfoType.Product
Can appear outside the game (homepage, search)Yes, if marked Listed in Monetization › ShopYes, if Listed and ProcessReceipt is handled correctly

Both need a published game, and both use the same basic fields: an icon (.jpg, .png, or .bmp, up to 512×512 pixels), a name, a description, a category for your in-game Shop, and a Robux price. For developer products, the docs give a price range of 1 to 1 billion Robux.

When to use a pass

A pass is the right choice when the player is paying for a permanent privilege. Roblox’s examples are entry to a restricted area, an in-game avatar item, and a permanent power-up. Other common ideas fit the same pattern: a VIP lounge, a special trail, a faster walk speed, or a bigger backpack.

The big advantage is that Roblox remembers ownership for you. Every time a player joins, your script can ask whether they own the pass and give the perk back. You don’t need to save anything yourself just to know they bought it.

When to use a developer product

A developer product is the right choice when the player is buying something that gets used up or stacks: in-game currency, ammo, potions, an extra life, or a server-wide event. If a player could reasonably want the same thing twice, it’s a developer product.

The trade-off is that Roblox doesn’t keep a purchase history for developer products for each player. When someone buys 500 coins, your game has to add those coins and save them, usually with data stores. If you don’t save them, they’re gone the next time the player joins. Our Roblox DevEx rate guide explains what happens to the Robux you earn from these sales.

How purchases flow for each type

flowchart TD
    A["Player clicks Buy"] --> B{"Pass or developer product?"}
    B -- "Pass" --> C["PromptGamePassPurchase"]
    C --> D["PromptGamePassPurchaseFinished"]
    D --> E["Grant perk, check again on join"]
    B -- "Developer product" --> F["PromptProductPurchase"]
    F --> G["ProcessReceipt on the server"]
    G --> H["Grant item, return PurchaseGranted"]

The difference matters most on the server. A pass purchase is confirmed by PromptGamePassPurchaseFinished, and you can always re-check ownership later. A developer product is only confirmed through ProcessReceipt, and you have to tell Roblox whether you actually delivered the item.

Scripting a pass

Put this in a Script inside ServerScriptService. Replace PASS_ID with your pass ID (in Monetization › Passes, click the ⋯ button on the pass and choose Copy Asset ID).

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

local PASS_ID = 0 -- replace with your pass ID

local function grantPerk(player)
	-- Give the permanent perk here, for example a VIP tag or tool
	print(player.Name .. " has the pass")
end

-- Give the perk to owners when they join
Players.PlayerAdded:Connect(function(player)
	local ok, ownsPass = pcall(function()
		return MarketplaceService:UserOwnsGamePassAsync(player.UserId, PASS_ID)
	end)
	if ok and ownsPass then
		grantPerk(player)
	end
end)

-- Give the perk right away after a successful purchase
MarketplaceService.PromptGamePassPurchaseFinished:Connect(function(player, passId, wasPurchased)
	if wasPurchased and passId == PASS_ID then
		grantPerk(player)
	end
end)

What each part does:

  • UserOwnsGamePassAsync asks Roblox whether this user owns the pass. It’s a web call, so it’s wrapped in pcall in case it fails.
  • PlayerAdded runs that check every time someone joins, so returning owners get their perk back automatically.
  • PromptGamePassPurchaseFinished fires when a purchase prompt closes. The script only grants the perk if wasPurchased is true and the pass ID matches.

To open the purchase prompt, call MarketplaceService:PromptGamePassPurchase(player, PASS_ID), for example from a shop button. Roblox’s docs recommend only prompting players who don’t already own the pass.

Scripting a developer product

Developer products are granted in MarketplaceService.ProcessReceipt. This also goes in a server Script in ServerScriptService, and only one script in your game can set this callback, so keep all your product handlers in one place.

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

local productHandlers = {}

-- Replace 0 with your developer product ID
productHandlers[0] = function(player)
	-- Add the coins here and save them with your data store code
	print("Give 100 coins to " .. player.Name)
	return true
end

MarketplaceService.ProcessReceipt = function(receiptInfo)
	local player = Players:GetPlayerByUserId(receiptInfo.PlayerId)
	if not player then
		-- Player left; Roblox tries again next time they join
		return Enum.ProductPurchaseDecision.NotProcessedYet
	end

	local handler = productHandlers[receiptInfo.ProductId]
	if not handler then
		return Enum.ProductPurchaseDecision.NotProcessedYet
	end

	local ok, granted = pcall(handler, player)
	if ok and granted then
		return Enum.ProductPurchaseDecision.PurchaseGranted
	end
	return Enum.ProductPurchaseDecision.NotProcessedYet
end

What each part does:

  • productHandlers maps each product ID to a function that delivers the item. Each handler returns true when it succeeds.
  • receiptInfo contains the buyer’s user ID and the product ID, among other details. GetPlayerByUserId finds the player in the server.
  • The handler runs inside pcall, so an error doesn’t crash the callback.
  • Returning PurchaseGranted tells Roblox the item was delivered. Returning NotProcessedYet means it wasn’t, and Roblox will try again the next time that player joins.

To open the prompt, call MarketplaceService:PromptProductPurchase(player, productId).

This example is deliberately short. A real game should save the granted item (and ideally which receipts it already handled) with data stores, so a player never loses currency or gets it twice. Test both scripts in Studio before publishing.

Selling outside your game

Both types can show up outside your experience, such as on the Roblox homepage, in search, and on the post-purchase page, if you mark them Listed under Monetization › Shop. Players can also buy them from your game’s Store tab on its details page.

There’s one extra rule for developer products: Roblox checks your ProcessReceipt handling, and if it finds a problem, the product stops appearing on those external surfaces until you fix the code, publish, and choose Mark as fixed in the report linked from the Shop page. Passes don’t need this check.

Revenue: what you earn

Roblox’s monetization overview says that when you sell your own passes in your game, you earn 70% of the Robux spent. Robux you earn this way counts as Earned Robux for DevEx. The developer products page doesn’t list a separate percentage, so check your sales in the Analytics tab under Monetization › Developer Products (or Passes), which shows sales and net revenue for each item.

Which should you choose?

  • Choose a pass if the item is permanent, one per player, and you want Roblox to remember who owns it.
  • Choose a developer product if players can buy it repeatedly, it gets used up, or the amount stacks.
  • Use both if you have permanent perks and consumables. Many games sell a VIP pass alongside coin packs.
  • Avoid making a pass for something that only lasts one round. Once a player buys a pass, they can’t buy it again, so a temporary item sold as a pass can’t be bought a second time.

A good final check: ask “would a happy player want to buy this twice?” If yes, it’s a developer product. If buying it twice makes no sense, it’s a pass.

Sources

Frequently asked questions

What is the difference between a game pass and a developer product on Roblox?

A pass is a one-time purchase that gives a lasting privilege, like a VIP area or a permanent power-up. A developer product can be bought again and again, which makes it the right choice for currency, ammo, potions, and other consumables.

Can I make a game pass that players buy more than once?

No. Once a player owns a pass, they own it. If players should be able to buy the same item repeatedly, create a developer product instead.

Do developer products need ProcessReceipt?

Yes. Roblox's docs say to grant developer products inside the MarketplaceService.ProcessReceipt callback in a server Script, not with PromptProductPurchaseFinished. Passes don't need ProcessReceipt.

Does Roblox remember which developer products a player bought?

No. Roblox doesn't keep a per-player purchase history for developer products, so anything the player should keep, like currency, has to be saved by your game, usually with data stores.

Can I still sell passes or developer products from another game?

Roblox's documentation says cross-game sales of passes and developer products are disabled starting May 30, 2026, and points creators to Robux transfers instead.

Related guides