scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=32}] run execute at @e[tag=WindmillCommandBlock,distance=..40] run data merge block ~ ~-1 ~ {auto:1b}
execute at @s[scores={KyuDummy=72}] run execute at @e[tag=WindmillCommandBlock,distance=..40] run setblock ~ ~-1 ~ air
execute at @s[scores={KyuDummy=72}] run execute as @e[tag=WindmillCommandBlock,distance=..40] run kill @s
execute at @s[scores={KyuDummy=72}] run setblock ~ ~ ~ air
execute as @s[scores={KyuDummy=72}] run kill @s