Different easing styles for in and out tweening

So I have this door


And I want it to slide to the right, starting out with sine, and ending with quint
Is there any way to do this? Because I’ve seen it done in moon animator…

  1. The easy option is to create 2 separate tweens. We make the first one have the In direction, and the second one an Out. Then, after the In tween finishes, we will play the Out tween. This will make it look like it’s a single tween.
local t1 = TweenService:Create(
  door.PrimaryPart,
  TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In),
  {
    CFrame = midpoint_cframe
  }
)
local t2 = TweenService:Create(
  door.PrimaryPart,
  TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
  {
    CFrame = end_cframe
  }
)

-- instantly play the end tween after the midpoint was reached
t1.Completed:Connect(function()
  t2:Play()
end)
t1:Play()

Lag might be a concern, though you shouldn’t worry about it, as you realistically cannot cause that much.
2. You can make an Animation and animate the door. Though you will have to rig it beforehand.