Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

roblox interpolate color

local TweenService = game:GetService("TweenService")
local part = workspace.ColorPart
local red = Color3.fromRGB(255, 0, 0)
local blue = Color3.fromRGB(0, 0, 255)
part.Color = red
local partColorTweenInfo = TweenInfo.new(5 --[[seconds]])
local tweenPartColor = TweenService:Create(part, partColorTweenInfo, {Color = blue})
task.wait(5)
tweenPartColor:Play()
 
PREVIOUS NEXT
Tagged: #roblox #interpolate #color
ADD COMMENT
Topic
Name
6+9 =