TargetConditions:
  - yDiff{diff=>3} true
  Conditions:
  - onground true  
  - targetwithin{d=3} false
  Skills:
  - sound{s=minecraft:item.crossbow.loading_start;v=1;sc=HOSTILE} @self
  - gcd{ticks=20}
  - setspeed{speed=0;type=walking} @self
  - state{s=crossbow_up} @self
  - delay 5
  - ChangePart{model=herobrine;part=lefthand;newmodel=herobrine_bits;newpart=crossbow_loaded} @self
  - delay 5
  - sound{s=minecraft:item.crossbow.shoot;v=1;sc=HOSTILE} @self
  - sound{s=minecraft:entity.firework_rocket.blast;v=1;sc=HOSTILE} @self
  - sound{s=minecraft:entity.firework_rocket.twinkle;v=1;sc=HOSTILE} @self
  - ChangePart{model=herobrine;part=lefthand;newmodel=herobrine_bits;newpart=crossbow_unloaded} @self
  - projectile{bulletType=ARROW;onTick=herobrineCROSSBOWfireworkTICK;onHit=herobrineCROSSBOWfireworkHIT;v=50;i=1;hR=1;vR=1;sfo=1;hnp=true}
  - delay 10
  - ChangePart{model=herobrine;part=lefthand;newmodel=herobrine;newpart=lefthand} @self
  - setspeed{speed=2;type=walking} @self