Currently I’m trying to experiment with PlaybackLoudess. I have a structure and it is… somewhat working but the colors currently are stuck on blue. The colors gets darker or lighter depending on how loud / soft the song is, I am just wondering how to change these colors.
Script:
local parts = game.Workspace.Lights:GetChildren("Light")
local Sound = game.Workspace.CurrentMusic
Sound:Play()
while Sound.IsPlaying do
for _, part in next, parts do
part.Color = Color3.fromRGB(4, 4, Sound.PlaybackLoudness/4);
game.Workspace.Part1.SpotLight.Color = Color3.fromRGB(3, 3, Sound.PlaybackLoudness/3);
game.Workspace.Part2.SpotLight.Color = Color3.fromRGB(3, 3, Sound.PlaybackLoudness/3);
end
wait();
end
Screenshot:
Video