So this is a bit weird but was trying to preview some music on RobloxStudio when there was no sound. When I used code to try to play it still didn't work. My volumes on too. Is there a setting I'm missing.
One potential fix for this issue is go into a Roblox game, press Esc, and make sure your volume is at 10. Sometimes, I have encountered issues where having my volume at 0 would prevent me from hearing sound in studio.