local TweenService = game:GetService("TweenService")
local part = Instance.new("Part", workspace) -- Change to the part you want to tween
local info = TweenInfo.new(
1, -- Time it will take
Enum.EasingStyle.Sine, -- Easing style
Enum.EasingDirection.In, -- Easing direction
0, -- Repeat count
false, -- Reverses
0 -- Delay
)
local goals = {CFrame = CFrame.new(Vector3.new(0, 0, 0))}
local tween = TweenService:Create(part, info, goals)
tween:Play()