data modify storage colosseum_of_fools:bossbar UUID set from entity @s UUID[0]
data modify storage colosseum_of_fools:bossbar name set from entity @s data.name
execute on vehicle at @s[tag=jjc_boss] store result storage colosseum_of_fools:bossbar value int 1 run data get entity @s Health
execute on vehicle at @s[tag=jjc_boss] run data modify storage colosseum_of_fools:bossbar max set from entity @s attributes[{id:"minecraft:generic.max_health"}].base
execute at @s[tag=jjc_spawn] run function colosseum_of_fools:e/bossbar/value with storage colosseum_of_fools:bossbar
execute at @s[tag=!jjc_spawn] run function colosseum_of_fools:e/bossbar/spawn/1
execute at @s[predicate=colosseum_of_fools:nov] run function colosseum_of_fools:e/bossbar/end with storage colosseum_of_fools:bossbar
execute on vehicle at @s[tag=jjc_boss,nbt={Health:0f,DeathTime:1s}] run particle explosion_emitter ~ ~1 ~ 0 0 0 0 1 force