scoreboard players set 114 timer_an 10
scoreboard players operation 313 timer_an = 311 timer_an

scoreboard players operation 313 timer_an %= 114 timer_an
execute if score 313 timer_an matches 0 run scoreboard players set 310 timer_an 2