Skip to content
DiagnosticsOverviewNew · 0.744

isscriptpaused

Script pause status.

Details#

Returns the API's pause status for a script object. This is not a measurement of scheduler activity and cannot establish whether the script has actually stopped.

Examples#

Example

Luau
local ownScript = Instance.new("LocalScript")
print(isscriptpaused(ownScript))
ownScript:Destroy()

Notes#

  • This function does not confirm whether a script has actually stopped.