scoreboard players set .respawn death 60
execute as @a at @s run function main:mechanics/effects/zoom/start {"duration":"45","strength":"0.5"}
playsound atmos:splatter_2 master @a ~ ~ ~ 10 0.5 1

execute at @a positioned ^ ^ ^1 run summon firework_rocket ~ ~ ~ {Life:0,LifeTime:0,FireworksItem:{id:"firework_rocket",count:1,components:{fireworks:{explosions:[{shape:"burst",has_twinkle:1b,has_trail:0b,colors:[I;9175040],fade_colors:[I;16711680]}]}}}}

execute as @a at @s run function main:mechanics/effects/vignette/start {"vignette_duration":40,"strength":"0.5f","r":"0.06f","g":"0.0001f","b":"0.0001f"}
function main:hub/death/dialog

# setblock 45 -58 15 copper_door[half=upper,open=close]
# setblock 45 -59 15 copper_door[half=lower,open=close]
# setblock 46 -58 15 copper_door[half=upper,open=close]
# setblock 46 -59 15 copper_door[half=lower,open=close]