Acesso a ambientes de tempo de execução e objetos coletados como lixo.
Funções disponíveis
filtergc
Procura tables ou functions live garbage-collected que correspondem aos filters fornecidos. filterType deve ser “table” ou “function”. options deve ser uma table.
getgc
Returns an array table of live Luau garbage-collected objects visible to the API. Functions and userdata-like objects are included by default. Tables are included only when includeTables is true. get_gc_objects is an alias.
getgenv
Retorna a current executor environment table fazendo push de LUA_ENVIRONINDEX. A function nao recebe arguments, retorna exactly one value e nao tem registered alias. Call-sites no repository usam a returned table para ler e escrever shared executor globals como __siApiCache e saveinstance.
getrenv
Returns the Roblox global environment table. The function takes no arguments and returns exactly one value.
getscriptglobals
Retorna uma new table contendo os current LUA_GLOBALSINDEX values para _G e shared. A function nao recebe arguments, cria uma fresh table, atribui _G a partir de LUA_GLOBALSINDEX._G e shared a partir de LUA_GLOBALSINDEX.shared, e retorna exactly one value. Ela nao retorna a full global table, e nenhum alias e registrado para getscriptglobals.
gettenv
Returns the environment table stored on a Luau thread. getstateenv is an alias.
setclipboard
Writes one value to the Windows system clipboard as text. The value is converted to a string. The function returns no status value, whether the clipboard write succeeds or fails. toclipboard is an alias.
setrbxclipboard
Writes a required string to the Windows clipboard using Roblox Studio clipboard data format. The function returns no status value, whether the clipboard write succeeds or fails.