I'm very new to Lua and I'm trying to make a sliding door I have this so far:
local door = script.Parent
local new = script.parent.parent.Ending
local new2 = script.parent.parent.Start
script.parent.ClickDetector.MouseClick:Connect(function()
door.CFrame = new.CFrame
wait(5)
door.CFrame = new2.CFrame
end)
But I want it to slowly go up instead of just appearing in that position. Any idea how I could do that?

5 comments
Why do you need to use Lerp() are you trying to create pseudo-Tweens?
Tweens?
TweenService is like creating a transition from Point A to Point B.
I see, how would I go about doing that?
I posted an answer of what you wanted.