Session Lesson Plan

4 - Adventure Game Pt. 2

Developed by Roblox
Students continue developing the adventure game. They'll create scripts for using tools, selling items, and upgrading their spaces.
10 and up Computer Science Game Design
English 1 hour
ISTE Standards: N/A

Learning Objectives:

  • Apply knowledge of if/then statements to create collectible items.
  • Demonstrate knowledge of functions to create functions that allow players to sell items and upgrade their spaces variable.

Player running around with tool in world

Skills and Concepts:


Getting Ready


  • Print out handouts
  • Download the starter tool and load it on every student’s desktop.

Lesson Overview

5 min


Introduce the project and lesson structure.

50 min

Guided Tutorial
Scripting Game Mechanics

Have students create scripts for tools, selling items, and upgrading spaces.

5 min

Wrap Up

Recap the lesson and concepts learned.

Lesson Plan

5 min
  1. Explain that students will be adding the core gameplay mechanics of the adventure game today: using a tool to collect items, selling items, and upgrading their spaces to collect more items.
  2. Point out that the next session will be light on tutorials. Students can use that session to catch up on previous work or add new things to their game.
Guided Tutorial - Scripting Game Mechanics
50 min
  1. Lead students through the following tutorials:
    1. Creating Tools
      • Students will use the pre-loaded tool.
    2. Selling Items
    3. Upgrades
      • Remember that click detectors on the upgrade cannot be clicked if a player has a tool active. Press 1; to show/hide a tool.
Wrap Up
5 min
  1. Recap what students have created.
  2. [Optional] Ask students what feature they’re excited to work on or add tomorrow as they finish their games.

Previous Harvestable Items Next Creating Tools