So i have a script inside of my model called sample and i want it too set the brightness to the loudness of a sound but it doesn't, all it does is set the lighting brightness to 0.
Code:
local light = game.Lighting local music = script.Parent.Sound local model = workspace.Sample while wait() do light.Brightness = music.PlaybackLoudness end
Any help is appreciated.