Scripts
getrunningscripts
live Lua threads에서 가져온 unique script Instances의 새 array table을 반환합니다. 이 function은 arguments를 받지 않습니다. the live Luau thread list를 순회하고 각 thread node를 읽으며, thread node, weak thread ref, LiveLuaRef, Lua state, object가 없거나 expired Script stored reference가 있는 entries를 건너뜁니다. 남은 각 thread에 대해 scriptThread->object->Script()를 lock하고, script reference로 중복을 제거하고, Instance cache로 Instance를 push한 뒤 1부터 시작하는 순차 array indexes에 삽입합니다. Function은 DataModel을 스캔하지 않고, ClassName을 확인하지 않으며, result를 정렬하지 않습니다.
live Lua threads에서 가져온 unique script Instances의 새 array table을 반환합니다. 이 function은 arguments를 받지 않습니다. the live Luau thread list를 순회하고 각 thread node를 읽으며, thread node, weak thread ref, LiveLuaRef, Lua state, object가 없거나 expired Script stored reference가 있는 entries를 건너뜁니다. 남은 각 thread에 대해 scriptThread->object->Script()를 lock하고, script reference로 중복을 제거하고, Instance cache로 Instance를 push한 뒤 1부터 시작하는 순차 array indexes에 삽입합니다. Function은 DataModel을 스캔하지 않고, ClassName을 확인하지 않으며, result를 정렬하지 않습니다.