execute if entity @p[x=43,y=43,z=-72,distance=..2] if score encounter2 scenes matches 0 run scoreboard players set encounter2 scenes 1

execute if score encounter2 scenes matches 1 run summon zombie 43 43 -62.4 {NoAI:1b,Silent:1b,CanBreakDoors:1b,ActiveEffects:[{Id:10,Amplifier:32b,Duration:-1,ShowParticles:0b}],PersistenceRequired:1b,Health:1024f,Rotation:[180F,0F],Tags:["laura"],ActiveEffects:[{Id:14,Amplifier:1b,Duration:-1,ShowParticles:0b}],Attributes:[{Name:generic.max_health,Base:1024},{Name:generic.knockback_resistance,Base:1},{Name:generic.movement_speed,Base:0.36},{Name:generic.attack_damage,Base:0}]}
execute if score encounter2 scenes matches 1 as @e[type=zombie,tag=laura] at @s run function animated_java:laura_enemy/summon
execute if score encounter2 scenes matches 1 run execute as @e[tag=aj.laura_enemy.root] run function animated_java:laura_enemy/animations/meet/play
execute if score encounter2 scenes matches 9 run playsound minecraft:entity.zombie.break_wooden_door master @a 43 43 -65 1
execute if score encounter2 scenes matches 9 run setblock 43 43 -65 air
execute if score encounter2 scenes matches 9 run setblock 43 43 -65 spruce_door[facing=north,half=lower,hinge=left,open=true]
execute if score encounter2 scenes matches 9 run setblock 43 44 -65 spruce_door[facing=north,half=upper,hinge=left,open=true]
execute if score encounter2 scenes matches 9 run playsound scare2 master @a ~ ~ ~ 99999999999999999999
execute if score encounter2 scenes matches 9 run scoreboard players set chase_music map 1
execute if score encounter2 scenes matches 44 run data merge entity @e[type=zombie,tag=laura,limit=1] {NoAI:0b}
execute if score encounter2 scenes matches 44 run execute as @e[tag=aj.laura_enemy.root] run function animated_java:laura_enemy/animations/meet/stop
execute if score encounter2 scenes matches 44 run execute as @e[tag=aj.laura_enemy.root] run function animated_java:laura_enemy/animations/running/play
execute if score encounter2 scenes matches 44 run scoreboard players set objectives bossbar 8
execute if score encounter2 scenes matches 44 run scoreboard players set ticks bossbar 1
execute if score encounter2 scenes matches 44 at @s run damage @e[type=zombie,tag=laura,limit=1] 1 player_attack by @p
execute if score encounter2 scenes matches 44 run scoreboard players set camera_movement map 3
execute if score encounter2 scenes matches 44 run attribute @p minecraft:generic.movement_speed base set 0.115
execute if score encounter2 scenes matches 44 run scoreboard players set chase scenes 0
execute if score encounter2 scenes matches 44 run scoreboard players set gamemode map 3
execute if score encounter2 scenes matches 44 run setblock 5 44 -80 air
execute if score encounter2 scenes matches 45 run setblock 5 43 -80 spruce_door[facing=north,half=lower,hinge=right,open=true]
execute if score encounter2 scenes matches 45 run setblock 5 44 -80 spruce_door[facing=north,half=upper,hinge=right,open=true]

execute if score encounter2 scenes matches 45 run scoreboard players set footsteps map 10


execute if score encounter2 scenes matches 7..16 as @e[type=zombie,tag=laura] at @s run tp @s ~ ~ ~-0.3




execute if score encounter2 scenes matches 1..45 run scoreboard players add encounter2 scenes 1