getscripthash
Returns a SHA-384 hash of the compiled bytecode of a script.
function getscripthash(scriptscriptScript | LocalScriptThe script to hash.: Script | LocalScript): stringstringHex-encoded SHA-384 hash of the script bytecode.Usage
Verify script integrity
local hash = getscripthash(game.Players.LocalPlayer.PlayerScripts.SomeScript)
print(hash) --> "3d9e7f2b..."