I’m making a slider to change the sound volume in my game. It works, changing the volume of the sounds how it should, but if there’s for example a song playing, the volume changes, but the audio doesn’t get louder/quieter while it’s playing.
As you can see, the sound’s volume is changing, but it’s not audible, and it only takes affect when the audio is stopped and played again.
This may be because the sound is originally played from the server (from a server script), but you are changing the volume from a local script, meaning that the volume change only occurs if the sound was played locally.
If this is the case, to fix this you should play the sound from the local script and it should work
That only happens when ‘previewing’ in Studio, it should work as intended in-game
If you want to hear the change in Studio, instead of clicking on the Preview button click on the Playing checkbox