Player hurt by entity

How to run a function as the entity who has hurt a player?

Continue to help post