execute if block ~ ~ ~ minecraft:oak_trapdoor[half=bottom,facing=north] run scoreboard players set @s bw_block 1527
execute if block ~ ~ ~ minecraft:oak_trapdoor[half=bottom,facing=east] run scoreboard players set @s bw_block 1528
execute if block ~ ~ ~ minecraft:oak_trapdoor[half=bottom,facing=west] run scoreboard players set @s bw_block 1529
execute if block ~ ~ ~ minecraft:oak_trapdoor[half=bottom,facing=south] run scoreboard players set @s bw_block 1530
execute if block ~ ~ ~ minecraft:oak_trapdoor[half=top,facing=north] run scoreboard players set @s bw_block 1531
execute if block ~ ~ ~ minecraft:oak_trapdoor[half=top,facing=east] run scoreboard players set @s bw_block 1532
execute if block ~ ~ ~ minecraft:oak_trapdoor[half=top,facing=west] run scoreboard players set @s bw_block 1533
execute if block ~ ~ ~ minecraft:oak_trapdoor[half=top,facing=south] run scoreboard players set @s bw_block 1534