Sound not playing from server, even tho it says it is?

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?

2 Likes

Not enough code, please show more of the code.

1 Like

You could just store the sound under workspace.

What more do you want, I fire that function to play the sound, and it says it’s playing

No. I store all sound under SoundService. That’s the proper place to store sound, it’s there for a reason

Show me the script that fires it.

Try storing workspace, I rememebr I learnt a tutorial from it.

I fire an event, it’s not necessary to see that, as the prints are clearly printing

Then I might be unable to help you.

No. It should play from sound service like all my other sounds

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.

1 Like

Are you checking the value from the Client or the Server?

You can switch between them by pressing this button while play-testing!

image

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.

6 Likes