What is better to detect if a player hits a part? Touched or GetTouchingParts?

When detecting if a player touches and part and stops touching it, which one is better: Touched or GetTouchingParts?

.Touched and .TouchEnded
Make a table,
Remove the player from the table if he leaves,
Add the player to the table if he touches.

So you’re saying Touched is better than GetTouchingParts? Why is that the case?

As you’ve to run GetTouchingParts always, with a while loop, meaning you will make the rest of the server laggy.

1 Like