Tweenposition roblox

Code examples

5
0

roblox tween

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()

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................