execute as @e[type=block_display,tag=jjc_ob0] at @s run data modify entity @s Rotation set from entity @n[distance=..200,type=ghast,tag=jjc_ob] Rotation
scoreboard players add @e[type=ghast,tag=jjc_ob] jjc_303 1
scoreboard players set @e[type=ghast,tag=jjc_ob,nbt={HurtTime:9s}] jjc_303 50
execute as @e[type=ghast,tag=jjc_ob,scores={jjc_303=50}] at @s positioned ~ ~1.4 ~ run data merge entity @n[distance=..200,type=block_display,tag=jjc_ob0] {block_state:{Properties:{vault_state:"active"}},brightness:{block:15,sky:15}}
execute as @e[type=ghast,tag=jjc_ob,scores={jjc_303=50}] at @s run playsound entity.ghast.warn hostile @a[distance=..200] ~ ~1 ~ 1 1.5
execute as @e[type=ghast,tag=jjc_ob,scores={jjc_303=50..}] at @s run tp @s ~ ~ ~
execute if entity @e[type=ghast,tag=jjc_ob,scores={jjc_303=60..}] run function colosseum_of_fools:ss/ghast/obbie/2