i want to make so that the player thats holding a tool will hear a sound, but i have problems with other players hearing it.
So, is there any way to play a sound for one player only?
i want to make so that the player thats holding a tool will hear a sound, but i have problems with other players hearing it.
So, is there any way to play a sound for one player only?
Well if you're using FilteringEnabled you could simply play the sound with a LocalScript, that will prevent it from replicating to the server, but if you are not, then you can simply place the sound in a ScreenGUI and play it in there, only the person that has that ScreenGUI will hear it.
Roblox Wiki - Local Parts: This article may be of interest to you.
Note: Since FilteringEnabled got released, flipping it on will make the client's Workspace act like the client's Camera. Parts (or anything else) added to the workspace by the client (thus a localscript), are only visible to that client.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Play the sound through a localscript.