I want to make sound actually travel, I dont know how but thats why im asking, so, for example I want a sound to travel … maybe 33 studs per second:
1 Like
You could use PlayLocalSound delayed by magnitude between source and charcter positions, this could be a bad idea tho if this should be realised not anly locally but also on server, since pings may ruin playing of two songs with same distances
ive never used playlocalsound, but that could be good
Yeah. You don’t have to use playlocalsound as you can’t pause it. The math is pretty easy.
local speed = 10 -- studs per sec (multiply by 0.28 for metres per sec)
local distance = 100 -- You would set this from explosion distance from player in question.
tast.wait(distance / speed)
ExplosionSoundEvent:FireClient(Player)
1 Like