Does sounds played from the server play to all clients too?

I have a sound in SoundService that is supposed to play for all clients when the server plays it but it won’t work so I wanted to ask if that’s even possible.

And I have also tested if the Sound works directly from Roblox Studio’s sound preview and it does work.

3 Likes

Yes, Server is to all players.

But it won’t work for me, do you know why it won’t work?

Make a remote even that fires all clients

You said that they play for all players when they are played on the server thought so does that mean that it doesn’t and I need a RemoteEvent to get around this or does it actually play for all clients when it’s played in the server?

You said it was not working, is that not so?

The sound won’t play for all the clients when played in the server, that’s the problem.

Is the Playing property checked? As far as I know, if a Sound Instance is played from the Server, it will play for everyone, you shouldn’t need a RemoteEvent.

No the Playing property isn’t checked.

Then you have to toggle it, else it won’t play.

(Sound | Documentation - Roblox Creator Hub)

I’m using :Play() not .Play so that’s not the problem.

The sound object must be in Workspace in the server to make it play for all clients. You are not required to use RemoteEvent.

A sound that plays on the server is automatically replicated to all clients, so there’s no need to fire it to all clients. Check your stuff and make sure that you’re not playing the sound within a local script.

I’m still experiencing this issue and none of the solutions above worked, any help would be appreciated. :slightly_smiling_face:

From my experiments I’m sure that sounds played from the server don’t play to all clients, I’m still trying to fix this issue.

I’m not using a local script fyi, it’s a script.

https://developer.roblox.com/en-us/api-reference/class/SoundService


Try calling this on all clients, probably not the best way but it shall get it to work.

3 Likes

Not sure why it won’t work, do you have a repro? Do you have any roblox beta features enabled?

Playing sounds on the server always plays on the clients, because the server replicates to all clients.

1 Like

For Server, sound is played only when it’s parented to a workspace thing, if it’s workspace itself then you can hear it everywhere with the same volume level, if it’s parented to a little radio part in the workspace then you will be able to hear it only when you are near the radio part, and the farther you got the less you hear until you can’t hear anything, maybe your problem is that you parented it to a little part but when you play the sound you are away from that part?

Guys, a Roblox sound object played on the server must be in a location where both the server and client can access if the sound object wants to be heard. Examples of this include ReplicatedStorage and Workspace.