Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

roblox tween part

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 #tween #part
ADD COMMENT
Topic
Name
5+6 =