Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How does one make a sound that can be only heard by a single player?

Asked by
Xduel 211 Moderation Voter
10 years ago

Let's say for an introduction GUI a player receivers when first entering a game, music is played. However, you only want this music to be played for the player who has the Introduction GUI open, and no one else in the game (basically menu music for a cooperative game). How would you go about that? All I could think of is putting the music inside the GUI? Help would be much appreciated, thank you.

  • Xduel
1
Put the sound inside the players playergui. They'll be the only one able to hear it dyler3 1510 — 10y
0
dyler3, don't make that a comment, that's an answer. Don't try to avoid being disliked. Nickoakz 231 — 10y

2 answers

Log in to vote
1
Answered by 10 years ago

Any Sound object placed inside a Player's PlayerGui or Backpack will only play for the Player that the Sound is within.

Ad
Log in to vote
0
Answered by
woodengop 1134 Moderation Voter
10 years ago

Try this: (Put this in a Local Script)

Game.Workspace.Sound:Play()

It really works I have tested this out.

Answer this question