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

How would I make only one player hear a sound?

Asked by
Avectus 120
9 years ago

I'd like to make a sound that only a certain player can hear and the rest of the players in the server can't.

Could someone tell me how I would go about doing this?

Thanks.

0
I'm not to sure. But I think you can put it in the player's PlayerGui Operation_Meme 890 — 9y
0
Yeah, You put the Sound in the PlayerGui or on the Backpack. XToonLinkX123 580 — 9y

1 answer

Log in to vote
0
Answered by
RM0d 305 Moderation Voter
9 years ago

Put the sound in the playerGUI and then trigger it though the server using.

game.Players.DarkBeemo.PlayerGui.LocalSound:Play()

This is because playerGUI's are only replicated to the client and server no other client has direct infomation with your playerGUI unless someone codes it so they can.

Ad

Answer this question