execute if score @s mini_score > #score_max mem run scoreboard players operation #score_max mem = @s mini_score