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

For a music player in game, how do you make the background of it constantly change colors?

Asked by 8 years ago

I'd like to make the background constantly changing colors, and transitioning into each color slowly. Please help.

Thanks, ~ Jayson

1
Please edit your question with any attempt that you've made, & your current script. Pyrondon 2089 — 8y

1 answer

Log in to vote
0
Answered by
itsJooJoo 195
8 years ago

I'm assuming the music player is a TextButton, so put a LocalScript inside it saying

while wait(0.1) do
    script.Parent.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random)
end

It can't transition, but it'll definitely change color

Ad

Answer this question