Overall problem is that i store VFX scripts in this way
Example:
local module = {}
module.VFX = {
Constants = {
a = 5,
b = 3,
c = 4
},
Callback = function(position: Vector3)
local multiplier = module.VFX.Constants.a
print(multiplier)
end,
}
But i feel there is better and more optimized way to do it, any ideas?