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 tween part |
Lua :: open gui script |
Lua :: roblox lua gui drag |
Lua :: lua for loop |
Lua :: luau table find |
Lua :: roblox studio part color randomiser |
Lua :: lua in pairs |
Lua :: roblox how to get character from player |
Lua :: lua sort |
Lua :: lua json |
Lua :: lua type of |
Lua :: lua local |
Lua :: lua calculator |
Lua :: lua string replace |
Lua :: roblox rotate head with camera |
Lua :: attempt to call a string value lua |
Lua :: pico8 draw sprite |
Lua :: Lua dynamic variable name |
Lua :: lua table of alphabet |
Matlab :: matlab if not true |
Matlab :: matlab symbolic integration |
Matlab :: SAVE TABLE IN MATLAB |
Basic :: JWT EM VBNET |
Elixir :: elixir string to datetime |
Elixir :: elixir get error message |
Scala :: scala list get element |
Scala :: scala list all permutations |
Excel :: google sheets stack columns vertically |
Excel :: google sheets filter cells that match |
Perl :: nested haah in perl |