Please enable JavaScript to use CodeHS

Creating a Game in Roblox

Description

In this lesson, students learn about scripting and how they can customize their code using basic scripts. Students will then make a customized color brick using a basic script.

Objective

Students will be able to:

  • Explain what a script is and how it is used in Roblox
  • Apply a basic script to an object in Roblox
Description

In this lesson, students learn more details on scripting and make a script that causes a platform to disappear and reappear using a basic loop.

Objective

Students will be able to:

  • Apply a script to an object in Roblox studio
  • Use a basic loop to create a repeated action
Description

In this lesson, students expand their toolbag by adding touch events created when a player touches an object. Students are also introduced to boolean variables.

Objective

Students will be able to:

  • Apply a script to an object in Roblox studio
  • Explain what boolean variable is and how it works
  • Use event-driven logic
Description

In this lesson, students expand their scripts to identify a player object and have them respawn (start over) in the game if they touch certain objects.

Objective

Students will be able to:

  • Apply a script to an object in Roblox studio
  • Use conditional statements to control the flow of a program