How can I break a loop once a player leaves the volume of a certain area?

Oh. Could you explain why?