on rightclick using iron horse armor: if player's tool is iron horse armor named "&7&lKusza": if player has arrow: if {opoznieniesnow::%player%} is false: play raw sound "random.door.close" at player with pitch 1 volume 5 else: if {sojusz.%player%} is 1: if {sojusz.%victim%} is 2: if {global.sojusz} is false: shoot arrow with speed 5 damage targeted entity by 10 hearts remove 1 arrow from the player play raw sound "random.explode" at player with pitch 1 volume 5 set {opoznieniesnow::%player%} to false loop 1 times: wait a second set {opoznieniesnow::%player%} to true stop on damage: if {sojusz.%attacker%} is 1: if {sojusz.%victim%} is 1: cancel event if {sojusz.%attacker%} is 2: if {sojusz.%victim%} is 2: cancel event if {sojusz.%attacker%} is 1: if {sojusz.%victim%} is 2: if {global.sojusz} is true: cancel event