return function(S,I)local z={}for S,I in pairs(I and S:GetDescendants()or S:GetChildren())do if I:IsA("\077\111\100\117\108\101\083\099\114\105\112\116")then local S=require(I)table.insert(z,S)end end return z end
return function(parent, recursive)
    local compiled = {}

    for _,module in pairs(recursive and parent:GetDescendants() or parent:GetChildren()) do
        if module:IsA("ModuleScript") then
            local required = require(module)
            table.insert(compiled, required)
        end
    end

    return compiled
end