Help improving my Mario-style jumping setup

I’ve decided to go ahead and try use line tracing for my jump collision setup, using the tutorial I linked in my previous post Link]. The idea I have in mind is to use the existing Null Damage - Player boolean to disable the Receive Damage custom event when the line trace hits the enemy. However, will also require having to set up a branching path where if the player’s line trace isn’t in contact with the enemy, then the Null Damage boolean is disabled so the enemy can do damage to the player. Does anyone have any suggestions on the best way of accomplishing ?