I have currently gotten into playback loudness and cant seem to figure out what is wrong with my script. It is a simple script that causes a change in a color value. It randomizes but I only have it set to two colors just for testing.
local color = {"Gold", "Lily White"} while true do wait() if game.Workspace.TrelloSound.PlaybackLoudness > 100 then script.Parent.Value = color[math.random(1,#color)] wait(.5) end
I'm assuming by "color value" you mean BrickColor value. In this case, you need to convert the name of the color to an actual BrickColor value:
script.Parent.Value = BrickColor.new(color[math.random(1,#color)])
Also, "Lily White" is not a valid BrickColor name; it should be named "Lily white" (Caps matter when BrickColors are used).