execute if score nose_bleeding scenes matches 0 if entity @p[x=9,y=12,z=-14,distance=..2] run scoreboard players set nose_bleeding scenes 1

execute if score nose_bleeding scenes matches 90 run summon marker ~ ~ ~ {OnGround:1b,NoGravity:1b,Silent:1b,Invulnerable:1b,CustomNameVisible:1b,Tags:["pov_camera"]} 
execute if score nose_bleeding scenes matches 90 run teleport @e[type=marker,tag=pov_camera] @p
execute if score nose_bleeding scenes matches 90..210 as @e[tag=pov_camera] at @s run tp @a ~ ~ ~

execute if score nose_bleeding scenes matches 210 run kill @e[type=marker,tag=pov_camera]

execute if score nose_bleeding scenes matches 20 run playsound map_intro1 master @a ~ ~ ~ 999999999

execute if score nose_bleeding scenes matches 40 run playsound dialogy_fred7 master @a ~ ~ ~ 999999999
execute if score nose_bleeding scenes matches 40..70 run title @a actionbar {"text":"My nose is bleeding."}

execute if score nose_bleeding scenes matches 90 run playsound mini_tissue master @a ~ ~ ~ 999999999
execute if score nose_bleeding scenes matches 90 run title @a actionbar ""
execute if score nose_bleeding scenes matches 80 run title @a times 10 9999 0
execute if score nose_bleeding scenes matches 90 run title @a title "\uE001"

execute if score nose_bleeding scenes matches 210 run title @a times 0 0 10
execute if score nose_bleeding scenes matches 210 run title @a title "\uE001"


# First Person animation
execute if score nose_bleeding scenes matches 10 run scoreboard players set equipment map 0
execute if score nose_bleeding scenes matches 10..15 run item replace entity @p weapon.mainhand with charcoal{display:{Name:'{"text":""}'},CustomModelData:100,AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-1000000,Operation:0,UUID:[I;-1090025130,1358908139,-1534670053,665698212]}]}
execute if score nose_bleeding scenes matches 15..20 run item replace entity @p weapon.mainhand with charcoal{display:{Name:'{"text":""}'},CustomModelData:101,AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-1000000,Operation:0,UUID:[I;-1090025130,1358908139,-1534670053,665698212]}]}
execute if score nose_bleeding scenes matches 20..25 run item replace entity @p weapon.mainhand with charcoal{display:{Name:'{"text":""}'},CustomModelData:102,AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-1000000,Operation:0,UUID:[I;-1090025130,1358908139,-1534670053,665698212]}]}
execute if score nose_bleeding scenes matches 25..30 run item replace entity @p weapon.mainhand with charcoal{display:{Name:'{"text":""}'},CustomModelData:103,AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-1000000,Operation:0,UUID:[I;-1090025130,1358908139,-1534670053,665698212]}]}
execute if score nose_bleeding scenes matches 30..109 run item replace entity @p weapon.mainhand with charcoal{display:{Name:'{"text":""}'},CustomModelData:104,AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-1000000,Operation:0,UUID:[I;-1090025130,1358908139,-1534670053,665698212]}]}
execute if score nose_bleeding scenes matches 110 run scoreboard players set equipment map 4



execute if score nose_bleeding scenes matches 1..210 run scoreboard players add nose_bleeding scenes 1