How to detect if an entity was hit by a specific player?
I am working on a data pack, and I want to run a command for an entity when it's hit by a player on a specific team.
I am working on a data pack, and I want to run a command for an entity when it's hit by a player on a specific team.