Project 536: Skyjumper

4. Add a script to the powerup

To give instructions to your powerup, you'll need to give it a script.
This challenge doesn't have a starting point

Your goal

Steps

1. Exit play mode by pressing "stop"

Find the big red "stop" button to exit play mode and go back into editing your game. 

2. Find and open your workspace in the explorer window

Your explorer window will probably be on the left side of Roblox studio, labeled "Explorer." This window lists everything in your game! 

Click on the triangle next to "Workspace" to twirl it open. "Workspace" is like the world of the game, and it will hold all your objects. 

The Workspace is currently the "parent" of all your objects, because it's holding onto all of them. 

3. Find your powerup

Inside the workspace, do you see something labelled "powerup"?

There's a few powerups in here, let's just focus on one for now.

The powerup is a "child" of the workspace, because it's inside it. 

4. Give the powerup a script

Click on the plus button next to your powerup object, and type in "script." Hit "enter" on your keyboard to add your script. A script window will open up!