Categories > Exploiting > Scripts >

[REQ] Mute all sounds in workspace

Posts: 258

Threads: 44

Joined: Oct, 2020

Reputation: 7

Posted

basically turn volume for all sounds to 0 in the workspace

anyone know how?

  • 0

soy pro

Murz

PixelPenguin

Posts: 240

Threads: 20

Joined: Jul, 2021

Reputation: 29

Replied

try a for loop and get descendants instead of children

  • 0

 

Ty for rep: Swiney, Byoke, Lion, Locust, Waves, Weeb, Nickk, darkn, Atari, CubeFaces, Lux14, Rice, Delta, Syraxes, Aeon, Jordan, Pluto, and Hiroku!

P.S, I like cats better too!

Posts: 258

Threads: 44

Joined: Oct, 2020

Reputation: 7

Replied

@Murz

im literally a dumbass idk how to do this 

  • 0

soy pro

Posts: 1430

Threads: 71

Joined: May, 2022

Reputation: 20

Replied

this should work, havent tested it tho. if it doesnt work send a screenshot of the error

for _,v in next, game:GetDescendants() do
  if v:IsA("Sound") then 
    v:Stop()
    v.Played:Connect(function() 
      v:Stop()
    end)
  end
end
game.DescendantAdded:Connect(function(v)
  v:Stop()
  v.Played:Connect(function() 
    v:Stop()
  end)
end)

  • 0

Added

@mwc94087

the game could modify the volume or recreate the sound

 

also why cant i dirrectly mention you wrd >:((

  • 0

Added

@_realnickk

yeah i was too lazy to launch vscode and made it in a discord code block 

https://cdn.discordapp.com/attachments/978212409145708565/994548999455526942/KEKE.png

  • 0

i use arch btw

Posts: 258

Threads: 44

Joined: Oct, 2020

Reputation: 7

Replied

ty guys i love you

  • 0

soy pro

Posts: 27

Threads: 0

Joined: Oct, 2022

Reputation: -21

Replied

Wow
It's very cool.

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )