execute if entity @p[x=2,y=61,z=-71,distance=..1.2] if score office2 scenes matches 0 run scoreboard players set office2 scenes 1

execute if score office2 scenes matches 1 run playsound scare3 master @a ~ ~ ~ 999999999

execute if score office2 scenes matches 1..2 run scoreboard players add office2 scenes 1