Hello!
So basically, I’m trying to disable every LocalScript in a certain folder inside of the StarterGui and was wondering how to do it?
Hello!
So basically, I’m trying to disable every LocalScript in a certain folder inside of the StarterGui and was wondering how to do it?
You cans use GetDescendants() and a for loop;
local children = parent:GetDescendants()
for i,v in pairs(children) do
if v:isA("Script") then
--Destroy
end
end