X is not a valid member of part

I believe it’s because you are passing the part here, not its vector. Try adding .Position at the end of group[i].

2 Likes