Make Balls follow a path and react to physics and collision on that path

if you need a spring, maybe you could try physics constraints:

or write your own spring physics:

springAccel = ( spring Offset * -springStiffness)- ( springVelocity * Damping )