Skip to content
Scripts & runtimeOverview

getscripts

Enumerates script objects known to the runtime.

Details#

Enumerates script objects known to the runtime. Presence in this collection does not imply that a script has a live thread, has executed or is enabled.

Examples#

Example

Luau
print("Known script count:", #getscripts())