I'm trying to make dance floor sync with my music in my club smoothly, my current script is
while true do wait()
game.Workspace.Map.DanceFloor.Color = Color3.new(game.Workspace.Music.PlaybackLoudness/1500, 0, 0)
end
The problem with that script is that it flashes a lot and hurts my eyes so I just wanna make it work smoothly, please help.
Try adding in a wait(3) so it changes every few seconds (You can change the amount of seconds to your liking). This should help to prevent the player's eyes from hurting. I also recommend adding in a warning in your game for people who are really sensitive to sudden color changes.