SoundManager is a lightweight module for playing and replicating one-shot sounds.
Usage
For usage and installation instructions, please take a look at the documentation.
Why
Sounds are an important part of every game, and I felt that the process of cloning sounds on the server to play them was under-performant and tedious. This module uses buffers and an UnreliableRemoteEvent to deliver the best performance possible when replicating sounds.
Other
If you have any questions or issues, you can create an issue on the GitHub page or leave a reply on this post. Thanks for visiting!
This looks so promising and would save me some time, although when I tried it I ran into an issue… It won’t work, I tried putting print statements into the module, nothing happens…
This is my code
local replicatedStorage = game:GetService('ReplicatedStorage')
local soundModule = require(replicatedStorage.Modules.Utils.SoundManager)
soundModule.Play(replicatedStorage.Sounds.Pop, {player})
Ohhhh, that makes sense, atm it’s just required on the server. Not sure if you have a disclaimer for that anywhere (If not, you should add one for the slow ones like me <3)
I’ll try it out!