#scoreboard objectives add animation_timer_3 dummy
#scoreboard players set count animation_timer_3 0

execute if score count_40 animation_timer_3 matches ..28 run function koncept:level/40/build

execute if score count_40 animation_timer_3 matches ..28 run scoreboard players add count_40 animation_timer_3 1
execute if score count_40 animation_timer_3 matches ..28 run schedule function koncept:level/40/main_build 2
execute if score count_40 animation_timer_3 matches 29 run scoreboard players set count_40 animation_timer_3 0
