Problem with welding

Hi! I built an elevator that moves, but there is one problem, some parts slow down when moving and the game map is visible through them. I tried to weld the elevator but the result is the same.

Video:

Use tweenservice instead as it’s smoother

If it dosent work, try doing it on the client

1 Like

Can u show me how the explorer and the script is?

If you’re using something like this:

while wait(0.1) then
    -- move elevator
end

Consider changing to TweenService, as it’s smoother. And if you’re moving the elevator only in server, you should consider doing on client too.

Server depends on your internet connection, but changes elevator position for everyone, while Client is a faster processor, but alone can change elevator position for only one user.

So i have to do the welding in the client somehow?
image

This part is responsible for moving models using an TweenModel in a module script.
image

So i can say with confidence that the elevator uses TweenService

I’ve had a similar need to move a large model of many welded parts on one axis, basically this elevator sideways. I had better luck making it look smooth by having a NumberValue holding the y-value and tweening that, then having a .Changed() binding to that to SetPrimaryPartCFrame() the model to the new height.

A smoother thought though would be to only move the elevator once… figure out how long it takes for the elevator to get there, wait() that amount of time, then teleport the elevator and passengers all at once right before the doors open. Smooth as it can be.

1 Like