Sorry if I wasn't clear
so I have 2 slider bars 1 for sound effects and 1 for music
I set the minimum to 0 and the maximum to 40
then I made a variable to keep track of the value of each of the slider bars
then I made the volume of the music and SFX to their variable -20
it didn't work
PS the slider bars were in a different layout then the level with the sound