Damn, I made my own version of this using 3D, and just getclosestofgroup, as it seemed to be the most generic + efficient way to use the function for each situation
I didn't even think about using ForGroup()
I think you might want to add in a 3D version too, just incase your working with projectiles and the such