Scripts
getgc
Returns a list of objects in the Luau garbage collector.
If includeTables
is false, tables will not be included in the list.
getgenv
Returns the custom global environment of the executor.
gettenv
Returns the environment of thread
.
getreg
Returns the lua registry.
getloadedmodules
Returns a list of ModuleScripts that have been loaded.
getrenv
Returns the global environment of the game client. It can be used to access the global functions that LocalScripts and ModuleScripts use.
getrunningscripts
Returns a list of scripts that are currently running.
getscriptbytecode
Returns the raw Luau bytecode of the given script.
getscriptclosure
Generates a new closure using the bytecode of script
.
getscripthash
Returns a SHA384 hash of the script's bytecode.
getscripts
Returns a list of every script in the game.
getsenv
Returns the global environment of the given script. It can be used to access variables and functions that are not defined as local.
getthreadidentity
Returns the identity of the current thread.
setthreadidentity
Sets the current thread identity.
Last updated