Accessed none trying to read hit result

Hi i’m currently trying to implement a combat system similar to that seen in most ARPG’s such as Diablo. I’m getting an error and I understand why its happening I just don’t know how to make it so the error doesn’t appear. The actual functionality works as intended.

I Fixed the issue by simply dragging a ISVALID node from hit result into an IF statement and then another if statements to check if the hit result has a Enemy Tag.