of     1   

TULGAN
#183760915Tuesday, February 16, 2016 5:20 PM GMT

Without having to copy/paste them back into every script you need them in? -{E_
Happywalker
#183761005Tuesday, February 16, 2016 5:21 PM GMT

ModuleScripts (or _G)
TULGAN
#183761167Tuesday, February 16, 2016 5:25 PM GMT

I've never messed with module scripts before today and the way i used it isn't working. I have a table and a few other variables defined in a module script, and requiring the module script like this in a local script: local myModule = require(script.Parent.Parent.Parent.ModuleScript) But when I try to use the table in the local script, output comes out as: 12:20:41.956 - Players.Player.PlayerGui.ScreenGui.Frame.RACE.tbnHuman.LocalScript:5: bad argument #1 to 'pairs' (table expected, got nil) -{E_
Poine
#183761204Tuesday, February 16, 2016 5:25 PM GMT

Use values?
JarodOfOrbiter
#183761228Tuesday, February 16, 2016 5:26 PM GMT

You can't share variables between Scripts and LocalScripts.
Scrippa
#183761292Tuesday, February 16, 2016 5:27 PM GMT

@Jarod You can with Remote Events/Functions, no? I rarely use them so I may be wrong
TULGAN
#183761333Tuesday, February 16, 2016 5:28 PM GMT

is there a localmodulescript i can use or something then lmao -{E_
JarodOfOrbiter
#183761429Tuesday, February 16, 2016 5:30 PM GMT

You can, but then you need synchronization. ModuleScripts already work on LocalScripts. But they are two separate machines, and they still will not share variables.

    of     1