getscripts
Returns script object values currently present in the Instance cache. The function takes no arguments. It iterates the cache stored under the Instance cache and only considers entries whose value is object. It reads each value’s ClassName field with optional string handling. LocalScript and ModuleScript entries are included. Script entries are included only when their RunContext offset equals CLIENT or PLUGIN. Other ClassName values, entries without a string ClassName, and CoreScript entries are skipped. The result is a sequential Luau table. The function does not traverse the DataModel and does not guarantee sorted order.