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