function Sound.Init()for g,S in pairs(game.ReplicatedStorage.Assets.Sounds:GetDescendants())do if S:IsA("\083\111\117\110\100")then local g=S.Name:lower()if Map[g]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 \'"..(g.."\'\046"))end Map[g]=S if S.Parent:IsA("\070\111\108\100\101\114")then local g=S.Parent.Name:lower()if not Groups[g]then Groups[g]={}end table.insert(Groups[g],S)end end end end Sound.ClientInit=Sound.Init return Sound


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
