Spawn Parts on a Path

[This is my first time ever using dev forum, i apologize if i make any mistakes]

I am trying to recreate the code to Elemental Grounds’s Nature magic. The first skill has a cool effect where it starts from yourself and trails parts towards a destination.

I just don’t know where to start. If somebody can just point me in the right direction, i can handle all the research from there and testing i just can’t find anything related to it so i don’t know where to start.

Here’s a gif on what i’m trying to create. Just the parts trailing to the mouse is what i want to make. Yes i know how to do everything else just not how to go about making this.

ezgif.com-cut

to make the curve, you could use catmull-rom splines which create a smooth curve with a table of points:
CRSplineModules [v2.0.0] (Smooth curve that goes through control points) - Resources / Community Resources - Developer Forum | Roblox
here is a link to a catmull-rom spline module