Fading multiple blocks in a line

Closed!

I have a line of parts that im trying to fade from white to blue, then blue to white, then white to another colour etc etc. So in other words a colour fade offset. I’m unsure on how i would go along with doing this and have tried a few solutions. Thank you inadvanced

1 Like

I’d use HSV Colors for this, set the Hue value to blue and then change the Saturation from 0 to 1

1 Like

Okay, So if do that and then add a few waits to per block to make a offset?

Not sure what you mean with this

So, I have 10 parts in a line. And i want it to slowly fade 1 by 1 into a blue etc, Then fade into a white.

You would do what Woot_Noot said above and just do

Change Part 1
wait(1)
Change Part 2
wait(1)

And so on.

1 Like

I guess you could name then 1,2,3,4, …
And then do like

for i,v in pairs(game.Workspace.Parts:GetChildren()) do
	v.Color = Color3.fromHSV(0.671889, tonumber(v.Name)/10, 1)
end
    

It gives this to me

1 Like

Thank you a lot, This helps me a lot on an upcoming project! Appreciate it

1 Like

Okay, I’ve jus done this and its how i want it but i want it to run along smooth like tween.

Are you asking for the blocks to change color automatically or something like how Woot_Noot did but smoother?

I believe they want it to like turn from blue to white slowly like how a tween moves position slowly instead of teleporting it.

Yes, exactly like this! Is it against tos to put in a youtube link ?

I dont believe it is against tos to put a youtube link here if it helps you to fix your issue. (You can post other links like gyazo gifs and screenshots so I think it would be fine.)

Do you mean something like this?

I think they mean like that but 1 block changes each color like a tween position. Like block 1 goes from white to light blue to dark blue to blue and then the next block does the same thing.

1 Like

Yes, But then they return to white one by one, So blue goes in then it slowly fades out back to white and then the next colour so on etc.

James Danter - Freak Out (KMG Freak Out) Offride - YouTube If you watch from 2:05 and look at the arm it fades to one colour then comes off, But as thats not possible via roblox i want to do it from one colour to white.

Have you tried using TweenService for the Color3 value?

Also, Its not against tos I checked couple mins ago.

Yes, I know that way but seeing as you can do doing it via static without no fade in one line there’s got to be a way to be able to do it in a couple of lines, As I’m trying to make this efficient!