Project 374: Key and Door Maze

4. Label the door in the script

Your script should now have one line in it, that tells the computer what the "door" is.
Starting point file for this challenge

Steps

1. Delete the "print hello world" line

This is a cute hello from Roblox, but we don't need it in our script. 

2. Create a local variable called "door"

Creating a local variable in Lua is as easy as typing "local door" 

local door

3. Tell the script where the door variable is

If you remember that, in code, parents hold children, what's the door in relation to the script? The door is the parent of the script, because it's holding the script. So, tell the computer that your "local door" variable is your "script.Parent" 

local door = script.Parent