Hi @Denny2
That script is similar to the one I posted about in this thread:
The range is a threshold so when particles are further apart than this distance they exert no influence on each other. Using smaller values here can speed up simulation.
Exponent is the power to which the distance between a pair of points is raised to to calculate the magnitude of the repulsion force. So for instance -2 is an inverse square law. This always needs to be negative. A more negative value means the force falls off more quickly with distance.
Strength is just a scalar multiplier for this magnitude, so you can control the effect of this Goal relative to the other Goals in your simulation.