GetAllActorsOfClass iterates through every Actor in your scene, which is not feasible in most situations.
I don’t see any print string nodes in your code. Try putting print nodes in different locations after the trace to see where it stops working. Keep in mind that the debug trace will turn green if it hits an enemy. Also, you should replace the == node with boolean AND, and the EnemyFacePlayer function should be defined in the enemy pawn class instead of the player class.
Assuming that you only set EnemyIsStunned to true only when their health is equal to zero, the player should only grab nearby stunned enemies. If you want to grab the nearest stunned enemy, do something like this: How to make ai pick up the closest gun - #2 by anonymous_user_24149e83 (replace the GetAllActorsOfClass node with MultiSphereTraceForObjects and work from there).