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

Having troubles defining Variables inside complicated ModuleScript?

Asked by 4 years ago
Edited 4 years ago

Hello,

I'm currently expirencing problems related to defining variables within my ModuleScripts (of which the paths will be provided), via a ModuleScript named "Tables" in ServerStorage.

Here is code sighted inside one of the many ModuleScripts in SyncPermissions.

return {
    {
        "Team:EliteTaskForces",
        "Group:METF",
        RequireAll = true
    },
    "Card:Hostile",
    "Card:Stolen",
     "Level:3",  
    }

I am not sure how to go about dxefining Group:METF, or Team, same with Card and Level, Card being the keycard tolls type, and Ldvel being a group rank.

Here is one of my many attempts to try and create such definition, inside "Tables", via ServerStorage,

local module = {
    ["Level:1"] = 3902043, 3,
    ["Level:2"] = 3902043, 4,
    ["Level:3"] = 3902043, 5,
    --I'm too lazy to fix the numbers.
    ["Level:5"] = 3902043, 6,
    ["Level:6"] = 3902043, 7,
    ["Level:7"] = 3902043, 8,
    [""] = 3902043, 5,
}

return module

Here is the pathway of the ModuleScript, I hope this makes the explanation more clear. https://prnt.sc/psjle6

Thank you, Rook. RookPvPz#8960 - Discord, Send me a friend request if you have any questions!

0
Then make it less complicated. BlackOrange3343 2676 — 4y
0
I think this is the best you can get. Just go with what you think is best for you. Just2Terrify 566 — 4y

Answer this question