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()
Code Example |
---|
Lua :: roblox part tween |
Lua :: lua wrap number |
Lua :: os.date lua |
Lua :: lua float to int |
Lua :: luau how to find value in table |
Lua :: random brick colour in roblox studio |
Lua :: keywords in lua |
Lua :: continue in lua |
Lua :: lua add 1 to a variable |
Lua :: roblox destroy game script |
Lua :: repeat until in lua |
Lua :: append to array lua |
Lua :: fivem commands example lua |
Lua :: lua empty table |
Lua :: rhyme api |
Lua :: lua table functions |
Lua :: fivem get closest player |
Lua :: how to add a damage decimal in roblox studio |
Lua :: lua text script |
Matlab :: anonymous function matlab |
Matlab :: how to implement a timer in designer in matlab |
Matlab :: cos in scilab |
Basic :: basic authentication in REST api Dajngo |
Elixir :: elixir after |
Elixir :: elixir append lists |
Scala :: scala schemaPayload json |
Scala :: How to have scalable images using image view xamarin XML |
Excel :: google query select first 10 |
Excel :: Date and Time maths with Excel |
Perl :: what happened to perl 6 |