So i Wanted to Recreate one of my old projects. Its a Music Visualizer. You Put a song and then it will make a visulazion of it. Now, It only runs When i press "run". But when i hit play and Join the game it just dont moves at all. this is the script:
script.Parent.Sound:Play() -- Sound
while true do
vol = script.Parent.Sound.PlaybackLoudness
script.Parent.Part1.Size = Vector3.new(0.5,vol/math.random(30,50),0.5) -- The math.random is used so it Looks like a real visualizer or stuff
script.Parent.Part2.Size = Vector3.new(0.5,vol/math.random(30,40),0.5)
script.Parent.Part3.Size = Vector3.new(0.5,vol/math.random(30,50),0.5)
script.Parent.Part4.Size = Vector3.new(0.5,vol/math.random(30,50),0.5)
wait()
end
Now theres no errors in the Output and Its A serverscript.
anyone help?

2 comments
is the sound ID loaded correctly?
yes