I am working on a music volume gui and the script is not working. The MusicVol is a numbervalue, and I’m using cindering’s background music for music zones. Help would be appreciated!
local value = script.Parent.MusicVol
local sound = script.Parent.Sound
local ch = game.ReplicatedStorage.CinderingBGM.MusicFolder.MusicZones.Center.Music.Chill
local ch2 = game.ReplicatedStorage.CinderingBGM.MusicFolder.MusicZones.Center.Music.Chill2
local att = game.ReplicatedStorage.CinderingBGM.MusicFolder.MusicZones.Center.Music.Attached
local ide = game.ReplicatedStorage.CinderingBGM.MusicFolder.MusicZones.Center.Music.Idealism
local techn = game.ReplicatedStorage.CinderingBGM.MusicFolder.MusicZones.Center.Music.Technicolor
value:GetPropertyChangedSignal("Value"):Connect(function()
sound.Volume = value.Value
ch.Volume = value.Value
ch2.Volume = value.Value
att.Volume = value.Value
ide.Volume = value.Value
techn.Volume = value.Value
script.Parent.VolValu1.Text = value.Value
end)