local REPLACEMENT_SOUND_ID = "rbxassetid://73191575489493" local function replaceDeathSounds() for _, obj in ipairs(workspace:GetDescendants()) do if obj:IsA("Sound") then local name = obj.Name if name:lower():find("die") or name:lower():find("died") then obj.SoundId = REPLACEMENT_SOUND_ID end end end end workspace.DescendantAdded:Connect(function(obj) if obj:IsA("Sound") then local name = obj.Name if name:lower():find("die") or name:lower():find("died") then obj.SoundId = REPLACEMENT_SOUND_ID end end end) replaceDeathSounds()