ModuleScript in the game, whether or not it has been required. For only the ones that are loaded and live, use getloadedmodules.
Returns
table
An array of every module instance.
Example
Related
getloadedmodules: only the loaded modules.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get every ModuleScript instance.
getmodules() -> { Instance }
ModuleScript in the game, whether or not it has been required. For only the ones that are loaded and live, use getloadedmodules.
print(#getmodules(), "module scripts")
getloadedmodules: only the loaded modules.