Voila un screen des erreur:
http://image.noelshack.com/fichiers/2015/36/1441546637-2015-09-06-15-33-36.png
Et voila mon code:
#---------------------------#
# AntireachAttack #
#---------------------------#
on damage:
if distance between attacker and victim is greater than 5:
if attacker is a player:
if victim is a player:
strike lightning at the attacker
execute console command "/summon FireworksRocketEntity %x-coordinate of attacker's location% %y-coordinate of attacker's location% %z-coordinate of attacker's location% {LifeTime:20,FireworksItem:{id:401,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:0,Trail:0,Colors:[13238090],FadeColors:[5898117]},{Type:0,Flicker:0,Trail:0,Colors:[16732214],FadeColors:[16757035]}]}}}}"
if victim is mob:
stop trigger
if attacker is mob:
stop trigger