getrunningscripts
Notes on getrunningscripts
This function should return all the scripts mentioned below, regardless of any mutations made to itself or its environment.
This also includes scripts whose script
global variable is set to nil
or reassigned - i.e. getrunningscripts
should still include said scripts.
getrunningscripts
returns a list of all running scripts in the caller's global state. This includes Script
, LocalScript
, and ModuleScript
instances - excluding CoreScripts
by default.
Parameters
Parameter | Description |
---|---|
(none) | This function takes no parameters. |