How to make On Hit detect a certain weapon only?

Perhaps with the tracker device?
-I know it does weapon tracking :slight_smile: