local v={}local M={}local b=require(script.Parent.Parent.Bundles.services)function M.add(M)table.insert(v,M)end function M.deleteConnections()for M,b in v do if typeof(b)=="\102\117\110\099\116\105\111\110"then b()else b:Disconnect()end v[M]=nil end end return M
local connections = {}
local connectionsFunction = {}

local services = require(script.Parent.Parent.Bundles.services)

function connectionsFunction.add(connection)
    table.insert(connections, connection)
end
function connectionsFunction.deleteConnections()
    for i,v in connections do
        if typeof(v) == "function" then
            v()
        else
            v:Disconnect()
        end
        connections[i] = nil
    end
end

return connectionsFunction