Hello, I'm beginning to start scripting and I need help that changes a brick colour from blue to dark blue based off playbackloudness. I have my audios in a folder that runs from a loop script, which is also used for a music player gui.
idk if this would work but
while true do thing.BackgroundColor = Color3.fromHSV(0.6, math.clamp(sound.PlaybackLoudness / 400 --[[change this depending on how loud the audio is]], 0.3, 1), 1) game:GetService('RunService').Heartbeat:Wait() end