Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you check if a player is still touching a part?

Asked by 5 years ago

I know how to check if a player touched a part, but how do you check if they're still touching it?

1 answer

Log in to vote
0
Answered by
T1mes 230 Moderation Voter
5 years ago

You can do part:GetTouchingParts() and it returns a table of things touching the part.

I suggest just looping through the table and checking if any body parts of the character is touching the part.

Hope this helps.

Ad

Answer this question