Scriptsgetscripthash
Scripts

getscripthash

Hashes raw script bytecode with SHA-384.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function getscripthash(script: BaseScript | ModuleScript): string | nil

Returns

The hexadecimal hash or nil.