Skip to content
DiagnosticsOverviewNew · 0.744

getscriptexecutiontime

Expose the script execution-time diagnostics entry point.

Details#

Execution-time measurement is unavailable in this version: the numeric result is 0 and must not be interpreted as measured elapsed time. The example prints the raw result explicitly.

Examples#

Example

Luau
local ownScript = Instance.new("LocalScript")
print(getscriptexecutiontime(ownScript)) -- 0; measurement unavailable
ownScript:Destroy()

Notes#

  • Execution-time measurements are not available in this version.