Elevator glitches on lag

I built an elevator using TweenService. But if you lag, you will “teleport” under it. What can I do to fix this bug?

Firstly if you dont show us the code we cant do nothing much to help you.

I made this script using a special tween plugin that has a lot of modules so I don’t know how I’ll send the code, but the problem always happens when you move objects with TweenService or CFrame. I saw some elevators stops (maybe welding) your character so you can’t fall like this.

It’s possible that setting NetworkOwnership of the elevator to the client will prevent this from happening.

Try, to create an invisible part weld under the wooden floor