$scoreboard players set .duration dialog $(duration)
execute if score .text_speed dialog matches 1 run scoreboard players operation .duration dialog *= .150 number
execute if score .text_speed dialog matches 2 run scoreboard players operation .duration dialog *= .200 number
execute if score .text_speed dialog matches 1.. run scoreboard players operation .duration dialog /= .100 number
