for Y,u in pairs(script:GetChildren())do if not u:IsA("\077\111\100\117\108\101\083\099\114\105\112\116")then return end assert(not Enums[u.Name],string.format("\037\115\046\037\115 \097\108\114\101\097\100\121 \101\120\105\115\116\115\033",script:GetFullName(),u.Name))local d=require(u)assert(typeof(d)=="\116\097\098\108\101","\069\110\117\109\115 \101\120\112\101\099\116\115 \109\111\100\117\108\101\115 \116\111 \114\101\116\117\114\110 \097 \116\097\098\108\101\044 \103\111\116"..type(d))Enums[u.Name]=CustomEnum.new(u.Name,d)end

for _, module in pairs( script:GetChildren() ) do
    if ( not module:IsA("ModuleScript") ) then return end
    assert( (not Enums[module.Name]), string.format("%s.%s already exists!", script:GetFullName(), module.Name) )

    local requiredModule = require( module )
    assert( typeof(requiredModule)  == "table", "Enums expects modules to return a table, got" .. type(requiredModule) )

    Enums[ module.Name ] = CustomEnum.new( module.Name, requiredModule )
end

