Game Passes are a powerful tool for Roblox creators to monetize their experiences, offering players special perks and privileges for a one-time Robux purchase. These passes can unlock exclusive areas, grant access to unique in-experience items, or provide permanent power-ups, enriching the gameplay and rewarding dedicated players.
If you’re looking to diversify your monetization strategies beyond items players can purchase multiple times, such as potions or temporary boosts (which are better suited for Developer Products), Game Passes are an excellent option. This guide will walk you through the process of creating and selling Game Passes on Roblox, maximizing your earning potential and enhancing your player engagement.
Creating Your Game Pass
Before you dive into creating a Game Pass, ensure your experience is already published on Roblox and is publicly accessible. This is a prerequisite for enabling monetization features.
Here’s a step-by-step guide to create your Game Pass:
-
Navigate to the Creations page on the Roblox Creator Dashboard and select the experience you want to add a Game Pass to.
-
In the left-hand menu, go to Monetization and then click on Passes.
-
Click the Create a Pass button. This will initiate the Game Pass creation process.
-
Upload an appealing image to serve as the icon for your Game Pass. Ensure your image adheres to the following guidelines:
- Maximum image size: 512×512 pixels.
- File formats accepted: .jpg, .png, or .bmp.
- Keep important visual elements within the circular boundaries to avoid cropping issues.
Avoid cropping important content in your Game Pass icon by ensuring key elements are within the circular boundary.
-
Enter a compelling Name and a clear Description for your Game Pass. The name should be concise and instantly recognizable, while the description should detail the benefits players receive upon purchasing the pass.
-
Click Create Pass to finalize the creation of your Game Pass.
If you plan to use Game Passes as randomized rewards within your experience, it’s crucial to familiarize yourself with the Roblox Randomized Virtual Item Policy to ensure compliance.
Retrieving Your Game Pass ID
To implement scripting functionalities for your Game Pass, you’ll need its unique ID. Here’s how to get it:
- Go back to Monetization ⟩ Passes in your experience’s settings on the Creator Dashboard.
- Locate the Game Pass you just created. Hover over the pass listing, and click the ⋯ menu (three dots).
- Select Copy Asset ID. This will copy the Pass ID to your clipboard, ready to be used in your scripts.
Selling Your Game Passes
You can sell Game Passes both outside of your experience on its Store page and directly within your experience using Roblox scripting.
If you are utilizing price optimization to dynamically adjust prices, it’s essential to place your selling scripts within a LocalScript. This ensures that players see personalized prices tailored to them.
Selling Game Passes on the Experience Store Page
Selling your Game Pass on your experience’s store page is a straightforward way to make it available to players. Here’s how:
- Go to Monetization ⟩ Passes for your experience.
- Find the Game Pass you wish to sell. Hover over it and click the ⋯ menu.
- Click on the specific Game Pass to access its details.
- Navigate to the Sales tab.
- Enable the Item for Sale toggle to activate sales for this Game Pass.
- In the Price in Robux field, set the desired price for your Game Pass. Remember that the price you set directly impacts your Robux earnings per sale. The pricing range is between a minimum of 1 Robux and a maximum of 1 billion Robux.
- Click Save Changes. Your Game Pass will now be listed on your experience’s Store page, visible to players.
Selling Game Passes In-Experience
For a more integrated and immersive selling experience, you can sell Game Passes directly within your Roblox experience using scripts. This involves utilizing functions from the MarketplaceService.
To display Game Pass information within your game, use the GetProductInfo()
function. This allows you to retrieve details such as the Game Pass name and price, which you can then present to players in your in-experience marketplace or through interactive prompts. When using GetProductInfo()
for Game Passes, ensure the second parameter is set to Enum.InfoType.GamePass
.
local MarketplaceService = game:GetService("MarketplaceService")
-- Replace with your actual Game Pass ID
local passId = 0000000
local success, productInfo = pcall(function()
return MarketplaceService:GetProductInfo(passId, Enum.InfoType.GamePass)
end)
if success and productInfo then
if productInfo.IsForSale then
-- Display Game Pass information in your UI
print("Pass Name: " .. productInfo.Name)
print("Price in Robux: " .. productInfo.PriceInRobux)
print("Description: " .. productInfo.Description)
else
print("This Game Pass is not currently for sale.")
end
end
To prompt a purchase within the game, use PromptPurchase()
. This function initiates a purchase prompt for a Game Pass if the player does not already own it. You can trigger this prompt when a player interacts with a specific object, like a button or an NPC vendor.
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
-- Replace with your actual Game Pass ID
local passID = 0000000
local function promptPurchase()
local player = Players.LocalPlayer
local hasPass = false
local success, message = pcall(function()
hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, passID)
end)
if not success then
warn("Error checking Game Pass ownership: " .. tostring(message))
return
end
if hasPass then
-- Optionally, inform the player they already own the pass
else
MarketplaceService:PromptGamePassPurchase(player, passID)
end
end
To handle the purchase completion and grant in-game privileges, utilize the PromptGamePassPurchaseFinished()
event. This event fires after a Game Pass purchase prompt is completed. This script should be placed in ServerScriptService
to ensure server-side handling of pass privileges.
local MarketplaceService = game:GetService("MarketplaceService")
-- Replace with your actual Game Pass ID
local passID = 0000000
local function onPromptPurchaseFinished(player, purchasedPassID, purchaseSuccess)
if purchaseSuccess and purchasedPassID == passID then
print(player.Name .. " purchased Game Pass with ID " .. passID)
-- Grant the player the benefits associated with the Game Pass here
end
end
MarketplaceService.PromptGamePassPurchaseFinished:Connect(onPromptPurchaseFinished)
While Roblox doesn’t inherently track individual user purchase histories for Game Passes, you can request to download sales data for broader analysis. If you need to track user-specific purchase history, you will need to implement your own data storage system using Data Stores.
Assigning Game Pass Privileges
It’s crucial to manually assign the benefits associated with a Game Pass to players who purchase them. A common approach is to use the PlayerAdded
event. When a player joins your experience, you can check if they own the Game Pass and grant them the corresponding privileges.
Place this script within ServerScriptService
to ensure server-side management of Game Pass benefits.
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
-- Replace with your actual Game Pass ID
local passID = 0000000
local function onPlayerAdded(player)
local hasPass = false
local success, message = pcall(function()
hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, passID)
end)
if not success then
warn("Error checking Game Pass ownership: " .. tostring(message))
return
end
if hasPass then
-- Grant the player the benefits associated with the Game Pass upon joining
print(player.Name .. " owns Game Pass with ID " .. passID)
end
end
Players.PlayerAdded:Connect(onPlayerAdded)
Leveraging Game Pass Analytics
Analyzing the performance of your Game Passes is essential for optimizing your monetization strategy. Game Pass analytics provide valuable insights into sales trends and revenue generation.
With Game Pass analytics, you can:
- Identify your top-performing passes over different timeframes.
- Visualize sales trends and net revenue through time-series graphs for up to eight top-selling items.
- Monitor your Game Pass catalog and sort items based on sales and net revenue.
To access Game Pass analytics:
- Go to Creations and select your experience.
- Navigate to Monetization ⟩ Passes.
- Click on the Analytics tab.
The Game Pass Analytics dashboard provides insights into sales performance and revenue.
By utilizing Game Passes effectively and tracking their performance through analytics, you can significantly enhance your Roblox experience monetization and create a more engaging environment for your players.