๐น๏ธScript
These are all of the functions revolving scripts that Wave supports.
Filter Garbage Collection
<table> filtergc(<any search, bool includeTables>)Searches the garbage collector for objects matching
search.
Alternative:
filter_gc
Get Calling Script
<Instance> getcallingscript(<void>)Gets the script that is calling this function.
Alternative:
get_calling_script,getscriptcaller,getcaller
Get Garbage Collection
<table> getgc(<bool includeTables>)Returns all objects currently tracked by the garbage collector.
Alternative:
get_gc_objects
Get Function Hash
Returns a hash from
fn.
Get Global Environment
Returns the
environmentthat will be applied to each script ran by Wave.
Get Loaded Modules
Returns a
tablewith all loadedmodulescurrently in game.
Alternative:
get_loaded_modules
Get Modules
Returns all ModuleScripts that are children of
parent.
Alternative:
get_modules
Get Roblox Environment
Returns the Roblox environment.
Get Roblox Environment Global
Returns the value of a global variable in the Roblox environment (
renv).
Get Roblox Environment Shared
Returns the value of a shared variable in the Roblox environment (
renv).
Get Running Scripts
Returns a list of scripts that are running in the environment. Returns
nilif there are no scripts running.
Get Scripts
Returns a list of scripts within the global state of the caller.
Alternative:
get_scripts
Get Script Bytecode
Returns the bytecode of the given script. This can be used in a dissassembler.
Alternative:
dumpstring
Get Script Closure
Returns the closure from the given script, can be used to gather
upvaluesorconstants.
Alternative:
getscriptfunction,get_script_function
Get Script Environment
Returns the global environment of the given script.
Alternative:
getmenv
Get Script Hash
Returns a SHA384 hash of the scripts bytecode. You can use this to detect changes of a script.
Get Table Environment
Returns the environment table of the current script.
Alternative:
getstateenv
Get Thread Script
Returns the
LocalScriptorModuleScriptinstance that the given thread originated from.
Is Local Source Container
Checks if
objis a local source container (like a LocalScript).
Require
Loads and returns the value of
ModuleScript.
Set Closure Identity
Sets the security identity of a function closure.
Alternative:
setclosurecaps
Last updated