local function PlaySoundEffect(player, soundEffect)
local SoundEffect = Driving:FindFirstChild(soundEffect)
if not SoundEffect then return end
if SoundEffect.IsPlaying then return end -- Don't continue if already playing
SoundEffect:Play()
print(SoundEffect) -- Drive
print(SoundEffect.Playing) -- true
end
I have volume up, but when I look at the sound in SoundService, Playing value is unticked?
Do all of your other sounds play from that SoundGroup? I could be wrong, but I’m pretty sure SoundGroups don’t work if you try to play them independently. I’ve never used them, so take that with a grain of salt.
Are you checking the value from the Client or the Server?
You can switch between them by pressing this button while play-testing!
I don’t have any proper knowledge on SoundService.
If you want the sound to globally play around the entire map, then I suggest putting it in Workspace, inside a folder to be organized. Works well enough for me.
I had this issue as well just yesterday while trying to play game music from SoundService and I was so confused as to why I couldn’t hear the sound. Turns out that the server is not allowed to play sounds in SoundService. You either need to
A. Move this to a place where the server is allowed to propagate sound. Example: Workspace.
B. Use a LocalScript to play the sound instead. Other LocalScripts will need to play it as well.
The server has a very limited concept of sound - in fact, none at all. It’s mostly meant to handle playback replication, but the server doesn’t actually need to hear sound itself.