How do I make a sound play client side?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want it so when the player hits a checkpoint, it plays a sound client side.

  2. What is the issue? I don’t know how to do it.

  3. What solutions have you tried so far? Looked at similar posts.

All I need is to know how to make the sound play client side. I currently just have it so it plays to everyone, and my script is under the block that the player touches.

1 Like

You need to use Remote Events and send signal to local script to play sound.

1 Like

You can use BasePart | Roblox Creator Documentation in a local script. And when you play the sound, it will be on the client side. Also be sure to check if the player who touched the part is the same as the local player.

I hope that helps!

1 Like


You’ll be interested in SoundService:PlayLocalSound.
If you just call Sound:Play() in a LocalScript though, it will only play for the user that the LocalScript is acting on.

We’re not really encouraged to write scripts for you. Half of the battle is learning how to do the most basic things, the other half is applying that to everything else.

BasePart.Touched and/or ROBLOX’s educational thread on Detecting Collisions will help you out millions.

To summarise - add a LocalScript to the part and make it detect when the character has touched the part, in which detection function a sound is played to the user locally.

1 Like