No error message, but my elevator system with AlignPosition constraint does not work

Hello fellow developers!

Currently I am developing a simple elevator system with AlignPosition constraint.

The code is as follows:

There is no error, but when I click Up Button, the elevator never move.

For your reference, when I change the value of MaxVelocity in Property Window on the right,
I found the elevator move properly.

I will appreciate if someone help me.

Make sure that downButton.Material is “Neon”

AlignPosition doesn’t work now. You can only use CFrame now! I found this in the Update 495 log for Roblox Studio

1 Like

Thank you for the info.
I didn’t know that.
Does CFrame mean Tween Service?

I checked but couldn’t find an error.

CFrame is a position like AlignPosition

1 Like

TweenService is a completely different thing. CFrame contains X,Y, and Z values and rotation values. TweenService creates animations.

1 Like

Actually I made an elevator system with TweenService firstElevator Systems

and now only that system works somehow as an elevator.
Here is the code:

The reason why I mentioned TweenService for CFrame is that
CFrame is used in the argument for Create function of TweenService as target values in the code.

Sorry for asking u again, but How can you write a code with CFrame for an elevator other than using Tween Service?
I wrote codes for BodyVelocity, AlignPositioin constraint and TweenService
(Elevator Systems
But I found only TweenService works somehow.

That’s still an animation. TweenService uses tweens to animate.

I know, I’m just saying that CFrame also has many other uses than just for TweenService.

1 Like

Whether animation or not, I am fine if I can make a cool elevator moving smoothly.
Do u know any other alternatives?

1 Like

I continued the research and found Teleport.
So you said CFrame and it means teleport by setting CFrame, right?

Here’s a video explaining how to make a elevator using align position and orientation. How to Tween a Model using Align Position & Orientation in Roblox Studio - YouTube

1 Like

Thank u for the info. I will definitely check!