I've got a gun tool that plays a gunshot sound, the line that does this is:
gunSound:Play()
But when firing quickly or in full auto, the newest sound stops the one before it. So how can I get it t have multiple sounds play at once?
I've got a gun tool that plays a gunshot sound, the line that does this is:
gunSound:Play()
But when firing quickly or in full auto, the newest sound stops the one before it. So how can I get it t have multiple sounds play at once?
Ok so I just created a new sound via script every time the gun is used without reloading via script and made it clear after the sound was done ok bye
I can't find the answer button so yeah
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
look into the spawn() function
Use the spawn function or use coroutines I suggest using coroutines.
I'll mess with that.
this is a bit lazy but you could instantiate it and create a new sound with the sound id in place
then delete after the sound is played
Yeah I was thinking about that, and might try it. I'll make it so that it plays the sound then removes it to avoid lag