I want to know how to get a sound to play, but only the player can hear it. I need help with this, because I am making a game and there is a transformation and when you transform I want a kind of music to play. Please help?
COMMUNITY QUESTION
How to get a sound to play but only the player can hear it, nobody else?
1 answer
put the sound in the player object or, if you want 3d effects, make sure game.SoundService.RespectFilteringEnabled is enabled and create a local sound in the workspace. im only posting as an answer bc there's no code needed, hehe
5 comments
0
Comment, I'm pretty sure in the next few you will be downvalued
0
its still the answer
0
by put it in the player object you mean game.Players.LocalPlayer, right?
0
Placing it in the player object won't make it local.
0
put it in startergui
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
If the sound is played by a LocalScript, it's going to only play for the LocalPlayer, make sure the Sound is in workspace and fired by a ServerScript