Hello, I want to know why when I click play, the audio visualizer is not working but when I'm on the run which I think is server, it works.
Here's the code I have:
while true do
wait()
local Sound = game.Workspace.Sound.PlaybackLoudness
script.Parent.Size = Vector3.new(Sound / 100, Sound / 100, Sound / 100)
end
The script is a script in game.Workspace.Part.
Thanks for helping.

11 comments
It didn't work. I put the script in workspace. I'm going to try putting a local script in workspace.
Putting it in as local script didn't work either.
Hmm maybe try to put it in the ServerScriptService ?
I gonna open Studio and test it right now, hope I gonna find a solution
Alright, thanks!
somehow the script was working nicely in my Studio ? Make sure the sound is playing, the script is inside a part and the script is not disabled
Did you run or did you play?
Oh sorry i was Runing stupid me :d
It's okay. ;)
Ok i found out the solution by researching
Alright.