# How to Add Game Passes to Your Roblox Game

Create an optional benefit, connect it to a real Roblox game pass, and test that buyers receive what you promised. A shop button alone does not establish ownership.

## Decide what the pass unlocks

A game pass is a one-time purchase for an ongoing privilege. For items players can buy repeatedly, use [developer products](/guides/roblox-developer-products).

Start with one benefit you can describe and demonstrate. In a courier game, that could be a set of cosmetic satchels. Keep the ordinary delivery loop enjoyable before adding a shop.

Write down how an owner selects the benefit, what a visitor sees before buying, and what happens when an owner returns tomorrow.

## Create the pass in Roblox

First [publish your game](/guides/publish-your-game) and make sure it is accessible on Roblox.

1. In Creator Dashboard, select your experience under Creations.
2. Open Monetization → Passes and choose Create a pass. Add its image, name, description, and category.
3. Open the pass's Sales settings, enable Item for Sale, set its price, and save.
4. Use Copy Asset ID from the pass menu. Keep the pass ID separate from its image ID.

## Connect purchases and ownership

Use MarketplaceService to retrieve current product information and open the purchase prompt. Check ownership on the server with UserOwnsGamePassAsync when players join, and handle a successful purchase for the matching pass.

An owner should receive the benefit again after rejoining. Cancellation or a failed lookup should never create ownership. Display the current price rather than a hardcoded number.

## Ask PromptBlox for a focused integration

Replace the brackets with your real pass information. Keep account credentials out of prompts.

```text
Add one optional game pass to my existing courier game. Pass ID: [real pass ID]. Benefit: permanent access to three cosmetic satchel designs, with no delivery-speed or reward advantage.

Add a compact shop with previews, an owned state, and a close button. Connect the real Roblox purchase flow and current product information. Check ownership on the server, restore cosmetic choices for returning owners, and handle successful purchases without requiring a rejoin. If a lookup fails, keep normal deliveries playable and show a useful message.

Preserve existing progress, controls, and delivery rewards. Explain what I must verify in Studio and the published test experience.
```

## Verify the complete experience

Check a new visitor, a returning owner, a canceled purchase, and an unavailable lookup. On a phone-sized screen, the shop should close easily and leave room for movement controls.

Keep a before-and-after record of the player's ordinary inventory and progress. Use our [Studio testing walkthrough](/guides/customize-in-studio), then verify the real integration in the published experience. A scene preview does not test purchases.

## Official reference

This is an independent PromptBlox walkthrough. See [Roblox's game pass documentation](https://create.roblox.com/docs/production/monetization/passes) for current setup requirements and API details.
