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 4 years ago

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

local module = {
    Sounds = {
        Touch = 72948375; -- SoundId Example
        TouchError = 75638573; -- SoundId Example
    }
    BrickColors = {
        Orange = BrickColor.new("CGA brown");
        Blue = BrickColor.new("Bright blue");
    }
}

return module

0
When I do that, I can't access the sounds or the colors. AlphaWolf536791 28 — 4y
0
Nevermind. I figured it out. AlphaWolf536791 28 — 4y

Answer this question