Hearing footsteps sounds from different distances

I’m trying figure out how I would script footstep sounds being heard based on how far a player is from another player and whether that player is running, walking, crouch walking, on crawling the sound would be loud or quiet based on a player’s movements, making it harder or easier for players that are around and close enough to hear one another.

1 Like

If you put a sound in a part in workspace it will be louder if your closer to it. For the crouching you can just change the volume

The sound would have to be coming from the player not a part, like as he moves his movements are going to to produce different levels of sound based on whether they are running, walking, etc.

You can put the sound in the rootpart or the leg. Then have a script that detects crouching and running and changes the volume.

You might be on to something with that, I’ll try it and let you know.