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.
COMMUNITY QUESTION
Beginner here. Need a script on playbackloudness to change a parts colour?
1 answer
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
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
as a local script? also would this be in a script already made or a new one
any of the above