Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I smoothly make a part sync with music?

Asked by
feehts 0
4 years ago

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.

1 answer

Log in to vote
0
Answered by
Tokyo7979 131
4 years ago
Edited 4 years ago

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.

0
That didn't help feehts 0 — 4y
Ad

Answer this question