I have a part which has can collide off, so the player can walk inside it. I also have touched and touchEnded events connected to this part. However, if the players foot touches the part first, if that foot leaves the part, but the rest of the avatar is still in, the touch ended event gets called anyway. How would I do it so that the touch ended event is only called when not a single part of the player is still touching the part?
1 Like
Touched
and TouchEnded
events fire rapidly more than you think if it touches multiple times. Another idea is to use GetTouchingParts checking constantly with the RunService.Heartbeat
(or similar) and then execute an event based on it. There are several other topics covering this problem and maybe you can try get a solution from there instead?
Another idea is to try out some modules:
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.