I just need a way to make this work
I fixed the issue using another local with “Class”…script.parent.Name…“Name” then doing sci[moduleName] so it worked calling it. Thanks!
1 Like
Well done! Good luck!
Best wishes!
You just needed to do .Name
instead of Name
.
It wouldn’t work because its a module name, its not a table. But I already solved the issue, thanks.
All instances have a Name
property which can be accessed by appending .Name
at the end of the reference to that instance. That includes ModuleScript instances.
Unless you meant it’s the identifier of a table value & not an instance.