<table<function | userdata | table>> getgc(<boolean?> includetables)
Returns a list of objects in the Luau garbage collector.
If includeTables is false, tables will not be included in the list.
<table<[string]: any>> getgenv()
Returns the custom global environment of the executor.
<table<[string]: any> gettenv(<thread> thread)
Returns the environment of thread.
<table<function | thread>> getreg()
Returns the lua registry.
getloadedmodules
Returns a list of ModuleScripts that have been loaded.
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.
Returns a SHA384 hash of the script's bytecode.
Returns a list of every script in the game.
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.