-- Gathers up all the scripts in the DevModule. We use the resulting array to
-- enable all scripts in one step.

local function getDevModuleScripts(devModule: Folder)
    local scripts = {}
    for _, descendant in ipairs(devModule:GetDescendants()) do
        if descendant.Parent == script.Parent then
            continue
        end

        if descendant:IsA("Script") or descendant:IsA("LocalScript") then
            table.insert(scripts, descendant)
        end
    end
    return scripts
end
