# How can I make that when a mob deals damage to the player, it executes a command, for example that a spider hits you and gives you gamemode creative