1 :
2:
What u think better?
1 :
2:
What u think better?
ModuleScripts return exactly one value, I’m not sure what’s going on, but if it’s 3 functions you’d only need a single module.
Anyways, I prefer to order modules by their usage, for example a ModuleScript for something like a shop and another for things like combat
so no one prevents me from using tables. I forgot to add them, I wrote for an example
Alright, probably should’ve said before but I’d say it now i guess, there’s no best way to organize, there’s definitely good and bad organization but that’s not because of the organization itself
It really depends on the modules purpose and your style.
For example: If the Utility module is to have basic functions then it’s best to use one module script to save memory. But, if you have extremely long module scripts then you can go with having as many module scripts as you like.