Tweens don't work with welded models

I have a cargo elevator with a bunch of props on it.
Only the primary part of the elevator is anchored, everything else is unanchored and welded to the primary part.

On the client, it works as it should, but when viewing it from the server, only the primary part is moving and everything else stays anchored in that one spot.

By default, the elevator is lowered. This issue becomes a problem when the elevator is set in the elevated position and a new player joins. The new player would see the elevator platform gone from the bottom, with only the props floating where the elevator should be.

Example video:

Why is this happening? Should I be doing this a different way?

1 Like

Is your elevator script a LocalScript or a server Script?
Local only works for the player it’s local to.

The tween is ran on the server.

I’m not sure but I think that the networkownership of the tank is set to the player since it isn’t anchored. Print the ownership of the tank on a serverscript.

Found out why; apparently, tweening Position doesn’t work but tweening CFrame does. Kind of a weird problem.

4 Likes

https://developer.roblox.com/en-us/api-reference/class/WeldConstraint

I’m glad you got it working. If you read here welds have different behaviors depending on if you change the position or CFrame of the main part. I had a similar problem a few weeks ago so I thought I would let you know.

1 Like