How to make a spline during runtime?

HI everyone I’m working on a project that requires the player to build there own conveyor belts from buildings to other buildings that the player has also built.