function Sound.Init()for L,A in pairs(game.ReplicatedStorage.Assets.Sounds:GetDescendants())do if A:IsA("\083\111\117\110\100")then local L=A.Name:lower()if Map[L]then warn("\084\119\111 \115\111\117\110\100 \119\105\116\104 \116\104\101 \115\097\109\101 \110\097\109\101 \'"..(L.."\'\046"))end Map[L]=A if A.Parent:IsA("\070\111\108\100\101\114")then local L=A.Parent.Name:lower()if not Groups[L]then Groups[L]={}end table.insert(Groups[L],A)end end end end Sound.ClientInit=Sound.Init return Sound
-- Runners

function Sound.Init()
	for _, v in pairs(game.ReplicatedStorage.Assets.Sounds:GetDescendants()) do
		if v:IsA("Sound") then
			local Name = v.Name:lower()

			if Map[Name] then
				warn("Two sound with the same name '" .. Name .. "'.")
			end
			Map[Name] = v

			if v.Parent:IsA("Folder") then
				local Name = v.Parent.Name:lower()

				if not Groups[Name] then
					Groups[Name] = {}
				end

				table.insert(Groups[Name], v)
			end
		end
	end
end

Sound.ClientInit = Sound.Init

return Sound
