PendingSound - "A simple utility resource to allow you to play sounds to your clients."

Thank you much for willing to help and for your effort bro, it’s working now. I will follow this as a template for the rest of the things i have in place with sound.

Another small question. Do you know a way that could work with distance ? Because that’s whay i’m trying to achieve, to play something at a specific location and that can be heard only if you are in the range.
Thank you again for everything ! I really appreciate it !

I saw that in your source code. I’m actively working on that.

1 Like

Sounds based on co-ordinates.

Uses a form of the inverse square law to lower the volume of the sound when moving away from the sound.

I’ve managed that it works great could send the files once but if you use it make a note that I had contributed

1 Like

I’m not entirely sure what you mean by this - but if you want to contribute to the project please do so via Github - it should credit you automatically if it’s used in the project!

Hello, how to optimize your script? It does use 0.08 cpu in resmon, even if none of sounds is playing

First of all this is a pretty awesome script, and I am currently trying to use it but I came across an issue. I used the PlayLocalSound - Server to play a specific sound from the coords, I got the sound working but if I move far away (across the map) I can still hear it. I have no idea why that is the case, anything that might help here?

Hiya!

Is it the case that it still can be heard but very quietly? Or does it not change volume at all?

It might be an oversight on my end.

The volume doesn’t change at all. No matter where I go on the map, even if I go from “bottom” where the sound is to the “top” of the map, I can still hear it.

I love it when I use my brain! :rofl:

1.3.1 fixes this issue. Apparently, I forgot that the player can move…

Thanks a lot for fixing this lol, appreciate it! Btw is there a way to loop the sound?

what are the exports to make something

Exports to make things and the documentation can be found on the Tebex store.

https://pendingmitch.tebex.io/package/5879890