I’m currently working on my own boombox tool, and I want the boombox to change size as the volume of the audio playing changes. Since AudioAnalyzers don’t work on server scripts and local scripts within tools only run on the player who is holding the tool, I suppose the easiest way to update the size on every client is to constantly (aka only when the RmsLevel property changes) fire a remote event to the server to change the size. What are your opinions on this? If it’s not good, what are better ways to do this?
Why not just… update the size on the client?
You can create a script with Client RunContext, which allows it to run in any container.
I tried that, but it just didn’t do anything.
Make sure you have a Script with Client RunContext, not a LocalScript.
I just tried it again and I guess it’s behaving like a server script because the AudioAnalyzer’s RmsLevel property keeps returning 0
Edit: nevermind, your solution worked. For some reason Analyzer:GetPropertyChangedSignal('RmsLevel') wasnt firing so i changed it to while task.wait()do
Most properties that are constantly updated by the engine do not fire their respective changed signal for performance reasons, which includes RmsLevel.
