getrunningscripts

Lists scripts found in the captured-load registry.

Syntax

Signature
getrunningscripts() -> {Instance}

Aliases

This function has no aliases.

Parameters

This function takes no parameters.

Returns

TypeDescription
{Instance}Wrappers matching captured script identifiers.

Notes

Matches captured script-load identifiers against available LocalScript and ModuleScript wrappers in the associated host VM. This reflects the captured-load registry and does not confirm that each script currently has a running coroutine.

Example

Luau
local Result = getrunningscripts()
print(Result)