You’re right, I still don’t fully understand everything that’s happening there…
But I want to help anyway
If performance drops, it means your array is growing. Is the amount of balls also increasing, or are you adding the same balls over and over again?
If you are adding over and over again, perhaps you should clear the array at the beginning of the tick?
And you should probably use Distance(Vector) instead of Vector Length.
