local a={}function a.LoadChildren(a)local U={}for a,q in ipairs(a:GetChildren())do if q:IsA("\077\111\100\117\108\101\083\099\114\105\112\116")then local a=require(q)table.insert(U,a)end end return U end function a.LoadDescendants(a)local U={}for a,q in ipairs(a:GetDescendants())do if q:IsA("\077\111\100\117\108\101\083\099\114\105\112\116")then local a=require(q)table.insert(U,a)end end return U end return a



local Loader = {}


function Loader.LoadChildren(parent)
	local modules = {}
	for _,child in ipairs(parent:GetChildren()) do
		if (child:IsA("ModuleScript")) then
			local m = require(child)
			table.insert(modules, m)
		end
	end
	return modules
end


function Loader.LoadDescendants(parent)
	local modules = {}
	for _,descendant in ipairs(parent:GetDescendants()) do
		if (descendant:IsA("ModuleScript")) then
			local m = require(descendant)
			table.insert(modules, m)
		end
	end
	return modules
end


return Loader
