how to reduce my character's health by 10hp per sec anywhere he goes until he goes through a door?

hello im trying to programme a blizzard, that will reduce character health by 10hp every 60 frames(1 sec) , firstly im not sure how to make this event run even when he leaves the spot. but in the first place he wont be able to move since he is still within the program. can anyone help me? thank you any suggestions are appreciated.

im still a noob but what i did was
1: conditional branch, if variable==2 (this constant will become 2 when he goes through a door and will end this hp draining effect)
yes->end event
no->change character hp, decrease, constant i set it to 10(cuz 10 hp idk whether thats how it works)
end branch
2: loop^
This should work better:

Turn on a switch when the blizzard starts.
Then, for your event: Parallel process, if that switch is on (and don't use a conditional event, I mean check the box for the left hand side, and set it to that switch. Else it will run always, which will cause lag).
Reduce HP by 10
Wait 60, since 60 frames is one second if you are getting 60 FPS.

Then just turn off the switch when you don't want the HP drain to occur anymore.
thank you so much!! it worked very well! do u know how to script such that my character's hp will always be displayed somewhere on the screen lets say top right?
sorry for lack of knowledgeXD i just started 3 days ago.
im trying to create this scene where my weak character encounters the zombies(which he wont be able to beat)
and another character steps in to save him.
i have tried to make a battle encounter but the saving him part wont start unless the battle is already over.
the 'saving' part should show that the savior used some move and the zombies' health bar would drop in hp and die, saving the main character.
pls teach me senpaii!!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-reduce-my-characters-health-by-10hp-per-sec-anywhere-he-goes-until-he-goes-through-a-door.84909/