How to make a check a obby point have sound

i tried so many time but its keep playing the sound .what i wanna do is if touched check your checkpoint then it will play a sound once only

Try playing with Part.Touched:Connect(function().

Can you show us the script? Need some more information otherwise we can’t help. Do you have the sound on looped?

Most likely because you’re using BasePart.Touched.
While the player is standing on the part/touching it, anything that is in the function will repeat until he stops touching it. A debounce would work well, so that it only plays the sound every x seconds. Otherwise, you could remove the SoundID for the player when they’ve touched it once (and they’re not going to need it again).

3 Likes

Sometimes when a player is walking on a part, the Touched event fires multiple times. A way to combat this would be adding in a check to see if players have stood on a checkpoint before, since they usually only need to go there once. You can also make a “Detector” part slightly above your checkpoint part, at the height of the HumanoidRootPart and use .Touched on that. That way it’s much less likely that .Touched will fire more than once when a player walks over it.

2 Likes