I've read the wiki about ModuleScripts, but it isn't making sense. I mean, do ModuleScripts have to be stored in Workplace or ServerScriptService? (cause the examples are in the Workspace) To me, it reminds of Java and importing libraries.
Is there is difference to it with using Global Functions? And when it states that ModuleScripts will only run once, does that mean:
- it can no longer be used by any other function again, until the process is complete?
- it can't be used by any other script after it is called?
Also, limitations to ServerScripts and LocalScripts accessing ModuleScripts? (No examples of ModuleScripts being using in Roblox Wiki)
local printModule = require(game.Workspace.MyModuleScript)
printModule("Test Print") -- prints "Test Print" to output
printModule("Test Print")
printModule("Test Print")
Something like this, for example can be called?

2 comments
Will you be able to call it multiple times from the same script?
You should be able to, however I haven't tested it so I'm not sure. The code I posted is functional, so you could do some tests with it and share your results?