How to Stop Damaging my self

This can also help.
You can check that the instigator is not yourself in the OnHit event.

Is another option…