Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do I Categorize "Terms" In Module Scripts?

Asked by 5 years ago

I'm trying to make a Module Script called "Settings", and I want to categorize each "term". Here's what I mean:

01local module = {
02    Sounds = {
03        Touch = 72948375; -- SoundId Example
04        TouchError = 75638573; -- SoundId Example
05    }
06    BrickColors = {
07        Orange = BrickColor.new("CGA brown");
08        Blue = BrickColor.new("Bright blue");
09    }
10}
11 
12return module
0
When I do that, I can't access the sounds or the colors. AlphaWolf536791 28 — 5y
0
Nevermind. I figured it out. AlphaWolf536791 28 — 5y

Answer this question