From what I understand I think the problem is here
First of all, is there a reason you use “Get all actors of class” instead of using “Get controlled pawn”?
Secondly, you are setting the “IsStunning” key only on begin play, shouldnt you do it every time it is updated?