Environment

getrenv

Retrieves the game-wide Roblox environment.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function getrenv(): { any }

Returns

The Roblox environment table.