So this tween works. It moves to another position like a sliding door. But it repeats even though it set to 0. The tween moves torwards the part but then moves back to its starting postion…
wait(3)
local TweenService = game:GetService("TweenService")
local tweenPart = script.Parent.Door1
local info = TweenInfo.new(
1,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
0,
true,
0
)
local Goals = {
Position = script.Parent.Door2.Position
}
local PartTween = TweenService:Create(tweenPart, info, Goals)
PartTween:Play()