local t="\083\111\117\110\100\068\105\115\112\097\116\099\104\101\114"local o=game:GetService("\083\101\114\118\101\114\083\099\114\105\112\116\083\101\114\118\105\099\101")local function n(t,o)local n=script.Parent:WaitForChild(t)local P=Instance.new("\083\099\114\105\112\116")P.Name=t P.Source=n.Source P.Parent=o return P end local function P()local P=true local b=o:FindFirstChild(t)if not b then P=false b=n(t,o)end if not o:FindFirstChild(t)then local t=b:Clone()t.Archivable=false t.Parent=o end b.Archivable=P end return P
-- Load the SoundDispatcher script into Studio
local soundDispatcherName = "SoundDispatcher"
local ServerScriptService = game:GetService("ServerScriptService")

local function LoadScript(name, parent)
	local originalModule = script.Parent:WaitForChild(name)
	local script = Instance.new("Script")
	script.Name = name
	script.Source = originalModule.Source
	script.Parent = parent
	return script
end

local function Install()
	local soundDispatcherArchivable = true
	local SoundDispatcher = ServerScriptService:FindFirstChild(soundDispatcherName)
	if not SoundDispatcher then
		soundDispatcherArchivable = false
		SoundDispatcher = LoadScript(soundDispatcherName, ServerScriptService)
	end

	if not ServerScriptService:FindFirstChild(soundDispatcherName) then
		local SoundDispatcherCopy = SoundDispatcher:Clone()
		SoundDispatcherCopy.Archivable = false
		SoundDispatcherCopy.Parent = ServerScriptService
	end

	SoundDispatcher.Archivable = soundDispatcherArchivable
end

return Install
