How to stop damage from looping when not inside damage area

I’m trying to have a water hazard in my level, but I can’t figure out how to stop my character from taking damage after I leave the water. Tried looking at other questions related to this but none of them helped.

Yes, because after the hit, you send it into a loop it never comes out of.

It would work better to keep testing if they are still overlapping and deal damage:

That didn’t work for me, but I found another method by doing a DoOnce, and replaced the OnComponentHit with BeginOverlap, then added an EndOverlap that does no damage to ThirdPersonCharacter