So I have a modulescript, but this is very annoying. Seeing many examples, this should not be an error:
ModuleScript
local lib = {}
local lib;Assets = { -- script analysis tells me when i put a '.' instead of a ';', it is not allowed?
SwordMesh = 10909387;
PistolMesh = 13508017;
AxeMesh = 38161203;
HatMesh = 76062497;
UnEquipAnimation = 199885477;
EquipSwordAnimation = 199899943;
UnEquipSwordAnim = 199921179;
SwordHitAnimation = 200148600;
SwordHitAnimation2 = 200199200;
DodgeAnimation = 200246650;
SwordLungeAnimation = 200262909;
KickAnimation = 200283487;
PunchAnimation = 200287046;
EquipPistolAnimation = 200288522;
PistolHold = 200292188;
PistolHitAnimation = 200352915;
PistolReloadAnimation = 200501545;
PistolFlickAnimation = 200502436;
EquipBladesAnimation = 200976094;
BCombo1 = 200982931;
BCombo2 = 200984042;
Idle = 199926412;
Idle2 = 199927268;
SwordTexture = 10909398;
PistolTexture = 13508018;
AxeTexture = 38161622;
ShirtTexture = 123727606;
PantsTexture = 101469244;
HatTexture = 76465978;
ToolTexture = 48851464;
FaceTexture = 97824388;
HoodImage = 201035139;
PistolImage = 201039164;
AxeImage = 201038100;
SwordImage = 201033741;
};
return lib
LocalScript
local lib = require(game.workspace:WaitForChild('Configuration'):WaitForChild('AssetHandler')) -- attempted to index local 'lib' (a nil value)
print(lib.Assets[1])
Any help?

4 comments
Thank you so much!
Also, when I do print(lib.Assets[2]), it prints as nil. Any help?
You don't have a list, you have a dictionary. There isn't a second element. If you want to get something out of it, use the name you used! E.g.,
lib.Assets["SwordTexture"]or the equivalentlib.Assets.SwordTextureThank you!