execute if score slender_appear2 scenes matches 0 if entity @p[x=4,y=55,z=-78,distance=..0.8] run scoreboard players set slender_appear2 scenes 1

execute if score slender_appear2 scenes matches 5 run playsound minecraft:entity.lightning_bolt.thunder master @a 46 44 -104 999999
execute if score slender_appear2 scenes matches 10 run effect give @p night_vision 999 1 true
execute if score slender_appear2 scenes matches 10 run data merge entity @e[type=item_display,tag=slenderman2,limit=1] {item:{id:"minecraft:air",Count:1b}}
execute if score slender_appear2 scenes matches 10 run fill 46 46 -104 46 44 -82 magma_block replace black_wool

execute if score slender_appear2 scenes matches 15 run fill 46 46 -104 46 44 -82 black_wool replace magma_block
execute if score slender_appear2 scenes matches 15 run effect clear @p night_vision





execute if score slender_appear2 scenes matches 1..15 run scoreboard players add slender_appear2 scenes 1