mcfunction_timers > bp > functions > timer_tick.mcfunction
scoreboard players remove value timer 1
execute if score value timer matches 0.. run function timer_events
execute if score value timer matches -1 run scoreboard objectives remove timer
mcfunction_timers > bp > functions > timer_tick.mcfunction
scoreboard players remove value timer 1
execute if score value timer matches 0.. run function timer_events
execute if score value timer matches -1 run scoreboard objectives remove timer