Hello, I have been given a problem when trying to make a weapon make a sound, I already have the sound and a sound that should be heard from a distance, but there is a problem. The sounds are only heard by the player who is using the weapon basically, the sound is only heard by the local player.
Those are the sounds that should be heard, but as I mentioned those sounds only heard by the local player.
I Try to enter the weapons script but can’t find any variable that is related to the sounds.
I am looking for a solution to this problem.
If you need details just send it in the topic.
My discord if you need to contact me for discord
ShackenFerhausseen#8198
The way I do it on my guns system is I invoke the server and the server handles damage, and fires all clients for bullet visualization; ( yes, raycasting and the bullets are local ) , after that, it would clone a sound into the barrel of the weapon and play the sound. That would do it server side, pretty cool.
It depends what your trying to do. If you want two way communication, I would recommend Remote Functions, but if you need something to happen on the server, then just use Remote Events