tween service roblox wiki code example
Example: Roblox Studio TweenService Example in lua 2020
local TweenService = game:GetService("TweenService")
local Part = script.Parent
local info = TweenInfo.new(
5,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0
)
local Goals =
{
Size = Vector3.new(15,15,15);
}
local MakePartBigger = TweenService:Create(Part, info, Goals)
wait(5)
MakePartBigger:Play()