API Reference
Environment Library
Access to executor, game, and registry environments, plus garbage collector contents.
getgenv(): tableReturns the shared executor environment.
getrenv(): tableReturns the game environment.
getreg(): tableReturns the Luau registry.
getgc(includeTables: boolean?): { any }Returns collectable values currently held by the garbage collector.
filtergc(type: string, options: table, returnOne: boolean?): anySearches garbage collector contents against a filter.
gethui(): InstanceReturns a container for interface elements that game scripts do not enumerate.