Enemy isn't registering damage properly

I have a very simple enemy that takes damage from the players sword swing, but the line trace is triggering damage every time it hits, I want it to only deal damage once per swing rather than once each time a line trace connects.

Is there a better way to do this?