Okay so I have a script that stops the music when I press a gui (Stop music button) but I would like to just set the volume to 0 instead of stopping it. Could anyone help it? This is the script I'm using
stopped = false
sound = game.Workspace.Sound
script.Parent.Text = "Music: ON"
script.Parent.MouseButton1Down:connect(function()
if stopped == true then
sound:Play()
stopped = false
script.Parent.Text = "Music: ON"
else
sound:Pause()
stopped = true
script.Parent.Text = "Music: OFF"
end
end)

5 comments
shouldn't it be sound.Volume = 0.5?
Also give me your discord so I can give you some robux through a group
he wanted 0 not .5 :S
i think .5 or 0.5 would work honestly i would use 0.5 to be safe and steve its set to .5 when the sound is playing -- my disc is Donut792#1329
Added you