this is the script
the title says all
local muted = false
script.Parent.MouseButton1Click:Connect(function()
if muted == false then
for i,player in pairs(game.Players:GetChildren()) do
if player.Character.Head:FindFirstChild("Sound") ~= nil then
if player ~= game.Players.LocalPlayer then
player.Character.Head:FindFirstChild("Sound").Volume = 0
end
end
end
muted = true
else
for i,player in pairs(game.Players:GetChildren()) do
if player.Character.Head:FindFirstChild("Sound") ~= nil then
if player ~= game.Players.LocalPlayer then
player.Character.Head:FindFirstChild("Sound").Volume = 25
end
end
end
muted = false
end
end)

1 comment
Is your place using filtering enabled?