Script Functions

Get Script Environment

<table> getsenv(union<LocalScript, ModuleScript> Script)  

Returns the environment of Script. Errors if the script is not loaded in memory.

Get Calling Script

<union<LocalScript, ModuleScript, nil>> getcallingscript(<void>)  

Gets the script that is calling this function.