When i set it to false or true (no matter) it’s still doesn’t replicate sounds for other clients. I tested it on local server.
Also, how i can protect it from exploiters?
When i set it to false or true (no matter) it’s still doesn’t replicate sounds for other clients. I tested it on local server.
Also, how i can protect it from exploiters?
Ideally, you should be playing sounds you want replicated through remote events.
You could refer to this post I made before.
The general idea is that if a client wants to play a sound, they fire a remote event managed by a server script (you could do some sanity checks here). You loop through all other players in the server and call a fire client event with information like the sound ID and the sound source.
Yeah, i though about this, but what about playing sound on client so there’s will be no delay for player and then play sound on every other client expect one who played it already on client (bad english, i know)
Not quite sure what you mean. The method I mentioned above already allows sound to be instantly played to all clients. In most cases, sending data through remote events is very fast.
Sending data through remote events or networking libraries is fast, but delay is still noticeable. I tried it before, results wasn’t that good as wanted. Basically, i want to play sound without delay to client and play it to other clients, where’s delay isn’t that matter.
is the sound attached to your viewmodel?
i think the reason no one else can hear it, is because the source (viewmodel), is not visible to them
try playing the sounds from something both sides can see, like a player’s root part, for example
see if that works
short answer: you can’t
long answer: you can’tttttttttttttttttttttttttttt
It’s actually attached to the humanoid root part, not the viewmodel.
this is rather sigman’t
okay uh, let’s ask the dumbest question;
is the property actually false in soundservice? remember that it has to be false!!!
(i have no idea why it’s not playing otherwise)
What youre describing with playing it locally on the client and having it play on all other clients automatically is doing the exact same thing behind the scenes anyway, the data is passed from the client, to the server, back to other clients.
Just use remotes, there wont be any noticeable delay unless your network connection is incredibly poor