getscripthash
Hashes a script container's bytecode with SHA-384.
Returns 96 lowercase hexadecimal characters, or nil when the container has no readable blob or the blob cannot be decoded. The hash covers the decoded bytecode, the same bytes getscriptbytecode returns, so two containers holding the same script hash alike regardless of how the engine stored them.
getscripthash(target: LuaSourceContainer): string?Parameters
| Parameter | Type | Description |
|---|---|---|
target | LuaSourceContainer | Script to hash. |
