execute as @p[x=17,y=44,z=-55,distance=..2] if score what_is_happening scenes matches 0 run scoreboard players set what_is_happening scenes 1


execute if score what_is_happening scenes matches 1 run playsound dialogy_fred10 master @a ~ ~ ~ 9999999
execute if score what_is_happening scenes matches 1 run title @a actionbar "What is happening?"


execute if score what_is_happening scenes matches 1..10 run scoreboard players add what_is_happening scenes 1