How to create a flying ability to special characters?

hello,
i have created to 2 characters one can fly (which is character 2) and the other cannot (character 1 {default number})
when i press F my second character flies but when i switch my character to character 1 in mid air i continue flying.
how to automatically make it fall to the ground when i switch to character 1?
I have attached a pic of my event graph

please answer my question i got tired from failing
THANX A LOT FOR HELPING

After switching your Character you have to go through your Code again like so

The top right part only applys if the Code that switches your Characters is not in the same blueprint as in this case Event_1

However, if your Character switching is handled in your PlayerController, you can simply call Event_1 like the [F]-Key does in this example.