How do I make a part follow the path of another

Im making a worm creature for my game. When moving it at first I thoughts it was working, but when the target changes since each part does not follow the same path the front segment previously did it breaks and turns into a random swarm. How do I make the rest of the segments follow that path of the first? ( Watch video below for visual!!)

https://streamable.com/22fgeq

Edit: Im moving it with CFrame

You can rely on Roblox’s physics for this and make use of one of the various constraint instances.

Are you making all the parts follow the head of the snake, or is each part following the part in front of it?

1 Like

Post the script pls chars chars

Each one follows the path of the one in front of it. So if all the segments had pens attached to them when they moved the path of the snake would be only one line.

But it’s moves with a steppped loop and using cframe

Well heres what Im trying to do rn. I’m making queues for each segment and then will be trying to use that to move. Is this the best way? (Lots of technical difficulty lol Ill tell you if I get it to work)