Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i play a sound so only one player hears it?

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?

1 comment

0

Play the sound through a localscript.

2 answers

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.