Skip to main content
Returns the environment table associated with a LocalScript, Script, or ModuleScript. Unsupported script objects or scripts without an available thread raise the same errors as the underlying script lookup.

Syntax

Arguments

Returns

Example

Read the environment table associated with a supported script Instance.