To get started, go to the game that you would like
to make a game pass for.
Click the "Store" button to view your game store,
then click the "Add Pass" button to create a new game pass.
This button will take you to a page,
where you can fill in details for your game pass,
such as name and description.
When you are done, click "Preview,"
followed by "Verify Upload,"
to make your game pass.
Here, you can change all the details
related to the game pass,
including the price.
When you are done, click "Save."
Make sure you save the number in your URL bar
because that is the Unique game pass ID
that you can use for coding.
To prompt players to purchase your game pass,
some code is required.
To do this, create a new ScreenGui in your game,
underneath StarterGui.
Then, create a text button inside of the StarterGui
and customize it to your liking.
Afterwards, create a local script inside of the text button
and double-click it to start coding.
Clear the script and create a new variable
to store your Unique game pass ID in.
Then create a function that runs
whenever the player clicks on the button.
Simply add this line of code that creates
a pop-up for the player.
We will also include this line in the description below.
To test out your code, click the "Play Test" button
and then click the button that you just made.
For more in-depth coding material,
check out the resources in the description below.