Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Ultimate Roblox Game Building Cookbook

You're reading from   The Ultimate Roblox Game Building Cookbook Design immersive experiences with easy-to-follow recipes for world and game development

Arrow left icon
Product type Paperback
Published in Dec 2023
Publisher Packt
ISBN-13 9781805121596
Length 218 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Taylor Field-Draper Taylor Field-Draper
Author Profile Icon Taylor Field-Draper
Taylor Field-Draper
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Chapter 1: Getting Started with Studio Modeling FREE CHAPTER 2. Chapter 2: Introduction to Solid Modeling and CSG Tools 3. Chapter 3: Sculpting Terrain 4. Chapter 4: Learning to Use VFX 5. Chapter 5: Building a Multiplayer Obby 6. Chapter 6: Designing a House 7. Chapter 7: Single-Player Map Flow 8. Chapter 8: Building a PvP Map 9. Chapter 9: Monetizing Your Experience 10. Chapter 10: Extra Building Recipes 11. Index 12. Other Books You May Enjoy

Gamepasses

Gamepasses are a great and simple way to monetize your experience through a one-time fee. Once a pass has been purchased, it often rewards the user with some sort of in-game perk or item. In this recipe, we will examine how to create a gamepass that rewards the player with gear of our choosing.

How to do it…

We will begin this recipe by creating an icon using the provided template. Next, we will create a new gamepass and set the image, title, and description. After uploading the gamepass, we will put it up for sale and change the price. We will then open Studio, insert a script into the ServerScriptService object, and place our gear of choice into the ServerStorage object. Finally, we will copy and paste the gamepass’s AssetID object into the script. Let’s see how:

  1. To begin, you will need to create a 512x512 image for your gamepass icon. To do this, download the template provided in the Chapter 9 folder:
Figure 9.1: Icon template

Figure...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime