<table> getsenv(<LocalScript, ModuleScript> Script)
- Returns the global environment of the given script.
<Instance> getcallingscript(<void>)
- Gets the script that is calling this function.
<function> getscriptclosure(<Instance> Script)
- Returns the closure from the given script, can be used to gather
upvalues
or constants
.
<string> getscripthash(<Instance> Script)
- Returns a SHA384 hash of the scripts bytecode. You can use this to detect changes of a script.
<string> getscriptbytecode(<Instance> Script)
- Returns the bytecode of the given script. This can be used in a dissassembler.