Skip to main content
Returns every client-replicated script that the Roblox game has started running so far.

Returns

{LuaSourceContainer} - an array of active scripts, that is randomly ordered. Changing the returned array, or any of its’ values, will not affect any future calls.

Example

Print every loaded script’s path and pick out names worth taking a look at.
Always check parameters and return values when working with this library function.