How do i detect when a player is moving closer to a part

I want to detect when the player is moving closer to the window so they can vault over it, but i don’t know how

Yes magnitude is what im looking for, but i want to detect when the player is moving closer

Oh, never mind i figured it out on my own

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.