Skip to content
Scripts & runtimeOverview

getrunningscripts

Enumerates scripts marked as running.

Details#

Returns script objects currently recognized as running. The result is a snapshot of runtime classification, not a list of every script in the object tree or an execution trace.

Examples#

Example

Luau
print("Running script count:", #getrunningscripts())