Smoothly change Brick Color

Hey Cookie Tech :cookie:

I’m trying Script to make a Union Change Colors Smoothy, but I can’t find a way to do it.

All replies help!

1 Like

Unions can’t change colours.

2 Likes

I think they [unions] can.

Scroll down to the Union and find UsePartColour, then go back up and change the color to what you want!

No, unions us the color that the parts previously had, before it became a union. What you could try doing, is making the shape, importing it through blender and then using a tween with the color property.

Hello,

I quickly just made this script, obviously you will need to make the colour change how you want but here is a start.

local TweenService = game:GetService("TweenService")

if script.Parent.UsePartColor == false then
	script.Parent.UsePartColor = true
end

while true do
	wait(1)
	TweenService:Create(script.Parent, TweenInfo.new(1), {Color = Color3.fromRGB(math.random(0,255), math.random(0,255), math.random(0,255))}):Play()
end

Hope this helps!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.