Hello everyone. I'm currently working on a game inspired by Flicker and Murder Island 2 and I was wondering how to make something like this.
Thanks.
You could always loop with BasePart:GetTouchingParts()
, which returns a table of all parts currently touching the part the method was called on. From there, iterate through the array and find out which parts belong to players. If they do and the player isn’t already on the board (check this to prevent glitches with multiple body parts touching), then add their name.