Environment

getsenv

Returns the global environment table of a Script, LocalScript, or ModuleScript.

Syntax

getsenv(script: Script): { [any]: any }?