local H=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local u=require(H:WaitForChild("\078\101\120\117\115\065\100\109\105\110\067\108\105\101\110\116"))local z=H:WaitForChild("\078\101\120\117\115\065\100\109\105\110\084\121\112\101\115")local function A(H)if H:IsA("\077\111\100\117\108\101\083\099\114\105\112\116")then(require(H))(u)end end z.ChildAdded:Connect(A)for H,u in pairs(z:GetChildren())do A(u)end
--[[
TheNexusAvenger

Loads types on the client for Nexus Admin.
--]]

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local NexusAdminAPI = require(ReplicatedStorage:WaitForChild("NexusAdminClient"))
local NexusAdminTypes = ReplicatedStorage:WaitForChild("NexusAdminTypes")



--[[
Loads a type.
--]]
local function LoadType(Module)
    if Module:IsA("ModuleScript") then
        require(Module)(NexusAdminAPI)
    end
end



--Load the types.
NexusAdminTypes.ChildAdded:Connect(LoadType)
for _,Module in pairs(NexusAdminTypes:GetChildren()) do
    LoadType(Module)
end