How can I use a collision box to both pause a timer and increase a progress bar when the progress bar is slowly decreasing everywhere else?

I think this will work, but I’m having some trouble with calling it. I was able to get the timer function to pause but I’m having some trouble setting it to happening only when I am inside the collision box. I have it set, so far, to that when I step in it heals the character but it doesn’t unpause when I leave the box.

Would I need to make a new function for it to hook up to OnActorEndOverlap? At the moment, I have it hooked up to the “Add Health” function that gets called on actor overlap in the level blueprints.

Would I be able to handle both the pause and unpause actions in the single function?