I'm not sure if you're new to skript or you just had to hurry with this skript but it doesn't work. First of all, the broadcast won't work without the " ", Then I would instead of using "on damage", I would use "on right click on entity" then check if the entity is a player. Your indention is also very bad.
Example: