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

How to get a sound to play but only the player can hear it, nobody else?

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?

1 comment

0

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

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.