Skip to main content

Arguments

userdata
required
Script object to inspect. Supported ClassName values are LocalScript, Script, and ModuleScript.

Returns

table
Environment table associated with the script or module.

Example

Read the environment table associated with a supported script Instance.