There’s practically 2 ways to make an elevator: Using physics or TweenService. I don’t know what the model you’re looking at uses but I prefer tweening and it looks like tweening is the better option in your scenario.
This introduces us to tweening models, which opens up a lot of doors. I’ll mostly just be explaining the general concept, I’ll show a solution I made recently at the bottom of this post.
Tweening Models
A model must first have a PrimaryPart, which is a property you can set as a BasePart. You should ideally have this part perfectly in the middle of the model to make the movement accurate (and also better to have it invisible)..
After making the PrimaryPart, you must weld all of the BaseParts in the model to the PrimaryPart. This will keep the whole model intact when unanchored.
The PrimaryPart of the model should be anchored, and everything else unanchored. The welds hold everything in place.
Now that everything is prepared, we can simply tween the PrimaryPart and the whole model will move along with it as if it were one. This gives the illusion of tweening models when in reality you’re still tweening one part and the welds just hold the model together.
Applying this to an elevator
Now we can tween the elevator up and down. But the thing with tweens is that you can’t really tween an object that’s moving. This makes the problem with tweening the doors open/close hard.
The solution I proposed in the post below is to delete all of the welds in the elevator once the elevator has reached its floor and the tween finishes and anchor the whole thing. And then tween the doors separately (you might need to weld the doors too if they’re a model/have multiple parts).
After the doors close and the elevator is ready to move, just weld the elevator back up and unanchor everything but the PrimaryPart, then the elevator is ready to be tweened again.
More advanced things
If your elevator has functioning buttons and goes between more than 2 floors, then that’s where things get a bit tricky. If you’d like me to help with this though I’ll go for it and tell you how I did it.
Also, if you want your elevator to be realistic and add button press queueing and floor prioritization depending on whether it’s moving up or down and a selected floor is on the way, then uhh
(i could still try)
The post in question: Problem with making my elevator move [SOLVED]