Full screen

Share

Show pages

Let's get started
🚀
Lesson 26
НАЧИНАЕМ
GamePass

game development in Roblox
Want to make interactive content? It’s easy in Genially!

Over 30 million people build interactive content in Genially.

Check out what others have designed:

Transcript

game development in Roblox

GamePass

НАЧИНАЕМ

Lesson 26

🚀

Let's get started

Next

Let's review the material of the last lesson

🚀

  • We learned what Constraints in Roblox Studio are and how to use them;
  • We learned how to use Constraints to create rotating Parts.

Next

In today's lesson we will...

🚀

  • Learn how to create products for Robux on the website;
  • Create a game pass.

GamePass Creation

Let's go

Next

GamePass Creation

Go on! Turn the video on!

🚀

1/4

Нажми, если не запускается видео

🚀

Create a GamePass and save its ID

1

Everything worked out

Assignment 1/4

back

Roblox website

For completing this task, you will receive RocketCoins!

COOL

Move on

1/4

Well done!You did a great job!

🚀

LocalScript

Let's go

Next

Adding ID

Go on! Turn the video on!

🚀

2/4

Нажми, если не запускается видео

🚀

Add the GamePass to the game and enter the ID

2

Something went wrong

Everything worked out

Assignment 2/4

back

Script

For completing this task, you will receive RocketCoins!

local MarketplaceService = game:GetService("MarketplaceService") local Player = game.Players.LocalPlayer local partPass = workspace.PartPass local gamepassId = 00000000 if MarketplaceService:UserOwnsGamePassAsync(Player.UserId, gamepassId) then print("Player owns pass.") partPass.CanCollide = false else print("Player does not own pass.") partPass.CanCollide = true end

🚀

Everything worked out

Help

Go back to the video

The teacher will guide you on the right track!

Watch the video again, and if it doesn't help, ask your teacher!

GREAT

Move on

2/4

Well done!You did a great job!

🚀

Output

Let's go

Next

Checking results

Go on! Turn the video on!

🚀

3/4

Нажми, если не запускается видео

🚀

Create a pass in the game itself and test the results

3

Something went wrong

Everything worked out

Assignment 3/4

back

For completing this task, you will receive RocketCoins!

🚀

Everything worked out

Help

Go back to the video

The teacher will guide you on the right track!

Watch the video again, and if it doesn't help, ask your teacher!

AWESOME

Move on

3/4

Well done!You did a great job!

🚀

🚀

Working on the World

4

Something went wrong

Everything worked out

Listen

Assignment 4/4

back

For completing this task, you will receive RocketCoins!

🚀

Everything worked out

Help

Go back to the video

The teacher will guide you on the right track!

Watch the video again, and if it doesn't help, ask your teacher!

Move on

🚀

A question coming up next!

What is Associated Items?

section for creating products on the website

feature that creates products in the game

section/feature

Next

Correct

Great!Moving on!

Next

Incorrect

You were close...

🚀

Next

Today we:

  • Learned how to create products for Robux on the website;
  • Created a game pass.

🚀

Next

Homework

  • Think about what will be in the VIP zone

🚀

Let's get started

Here's a little test

It's easy!

For completing this task, you will receive RocketCoins!

Question 1

What is GamePass?

A leader card

An in-game currency

A game pass

Question 2

What is Sales?

Constraint visibility properties

The product sale activation tab in Roblox

A sales event in store

Question 3

What is output?

A window that displays information about the script or game functioning

A GamePass setup in Properties

A tool that allows you to create products in Roblox

Question 4

What is this line responsible for: if MarketplaceService:UserOwnsGamePassAsync(Player.UserId, gamepassId) then ?

The pass acquisition check

The game pass ID

If a player has purchased the pass, this line is displayed in the Output window

NEXT

In the next lesson we willlearn how to create a teleportto another game

See you at the next lesson!

🚀

Tell us whether you liked the lesson or not

Good job!

CLICK ME

Incorrect

Try again

back

Lesson 26

Where are we going?

  • GamePass Creation

  • Adding ID

  • Checking results

  • Working out the world

  • Test

  • Homework

Back

Rocket Coins

Let's do the math

Next page

genially options

Show interactive elements