Change part size when the Train turns

My Question is, when my Train is moving to the right or left how how can i close the gap between the train with this part?

You’ll need to play around with different math values for the train.

Your best bet is to make a MeshPart with a Skinned Mesh.

How can i do it? Idk how to do that

How should i make it, i dont know what is meaned by that

It’s a Mesh that appears flexible. It has an appearance that flexes with movement.
It’s something I’ve never done, but seeing as you’ve textured your meshes I expect it’s just learning a different way to do it.
The link I posted will take you to the forum post that helps explain what’s going on, with example places.