Answers for "tween in roblox"

2

tweening roblox

local TweenService = game:GetService("TweenService")
 
local part = [Find a part in the workspace]
 
local tweenInfo = TweenInfo.new(
	Time (Intger)
	Easing style (Enum.EasingStyle)
	Easing Direction (Enum.EaseingDirection)
	Repeat Count (Intger *Make negative number to repeat forever*)
	Reverses (Boolian)
	Delay (Intger)
)
 
local tween = TweenService:Create(part, tweenInfo, {Position = Vector3.new(Position on the map)})
 
tween:Play()
Posted by: Guest on May-30-2021

Browse Popular Code Answers by Language