local function muteSounds()
for _, sound in pairs(workspace:GetDescendants()) do
if sound:IsA("Sound") then
sound.Volume = 0
end
end
end
-- Mute existing sounds
muteSounds()
-- Mute new sounds that get added
workspace.DescendantAdded:Connect(function(descendant)
if descendant:IsA("Sound") then
descendant.Volume = 0
end
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: