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

How to make a Sound Radius from player to player?

Asked by 5 years ago

So I'm trying to make it where whenever a player uses their blast, it fires a sound and the certain amount of distance a player is from that player, determines how high the sound is. So if the other player is close to that player, the sound is high. Or if that player is not close, the sound is lower until it reaches 0. Yes my game is FE and I'm using RemoteEvents to server handle all player changes I want other players to hear / see, but this is a issue if you want a Sound Radius. I've tried doing

RepStorage.Sound.Blast.MaxDistance = 10
RepStorage.Sound.Blast:Play()

But it does not work with MaxDistance. How do I make a Sound Radius when using Remote Events and server handling player changes?

0
Technically the sound already does that, if you were to put in inside of a player's character on the server sided Workspace, the sound will act like a normal sound would. Loud when near a player, quiet when far. climethestair 1663 — 5y
0
Alright, thanks for the info! I will try this out sometime soon! User#21998 0 — 5y

Answer this question