How do I script Invincibility/ What am I doing wrong?

Hello,

I’m currently having some trouble scripting invincibility after being hit. I began my search @ UE forum’s answered thread about invincibility [here][1]. However I can’t seem to get this method to work… could someone help me debug this?

In short, I can’t seem to disable incoming damage (done to the player when I press the 1 key).

Here’s my current Blueprint for things relating to health and invincibility:

right after inputEventPress Key1, you should branch on bCanBeDamaged, and if its true, health can be subtracted, if its false, don’t do anything.

Thanks so much for the help Omnicypher. I used your suggestion and built on it a little bit and it’s working perfectly now. Here’s the finished product: