How to adjut this code to set it to a fix movement speed (spline/timeline)

Easiest way is to set the timeline speed to be a multiple of the length of the spline. IE if the spline is twice as long, the TL should play at half speed.