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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getrunningscripts(): {LuaSourceContainer}
{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.
local scripts = getrunningscripts()
for i, v in pairs(getrunningscripts()) do
print(`{i}: {v:GetFullName()}`)
end