scoreboard players set doors dungeon 0
execute positioned ~-23.5 ~-.1 ~-23.5 as @e[tag=is_door,dx=46,dy=21,dz=46] run scoreboard players add doors dungeon 1
execute if score doors dungeon matches 1 run tag @s add one_door
# tellraw @a [{"text":"DRS: "},{"score":{"name":"doors","objective":"dungeon"}}]
