Countown before death, unless overlapping a light

Welp, I think I fixed my problem, and sweet jebus that was a bit dumb x) I see more or less your blueprint, but yeah, I guess it works more with a countdown than a progress bar. And my main problem at this moment was when the player was turning his light off when he was overlapping a light, and the progress bar was going down ^^
With that, it works, I just check if the light is on or off, if on, the bar goes up. If down, it check if the player overlap a light or not, and so the bar goes up if yes, or down if not.