Script Environment Functions
Get Script Environment
<table> getsenv(<LocalScript, ModuleScript> Script)
Returns the environment of Script
. Returns nil if the script is not running.
Get Calling Script
<LocalScript, ModuleScript, nil> getcallingscript(<void>)
Gets the script that is calling this function.