execute as @a[tag=give_subtitle] unless entity @s[scores={points_timer=0..}] run scoreboard players set @s points_timer 0
scoreboard players add @e[scores={points_timer=0..}] points_timer 1

execute as @a[scores={points_timer=0..}] run title @s title {"text":" "}
execute as @a[scores={points_timer=0..},tag=+1p] run title @s subtitle {"text":"+1","bold":true,"color":"red"}
execute as @a[scores={points_timer=0..},tag=+2p] run title @s subtitle {"text":"+2","bold":true,"color":"dark_green"}
execute as @a[scores={points_timer=0..},tag=+5p] run title @s subtitle {"text":"+5","bold":true,"color":"dark_blue"}
execute as @a[scores={points_timer=0..},tag=+1p2] run title @s subtitle ["",{"text":"+1 ","bold":true,"color":"red"},{"text":"( x2 )","color":"gold"}]
execute as @a[scores={points_timer=0..},tag=+2p2] run title @s subtitle ["",{"text":"+2 ","bold":true,"color":"dark_green"},{"text":"( x2 )","color":"gold"}]
execute as @a[scores={points_timer=0..},tag=+5p2] run title @s subtitle ["",{"text":"+5 ","bold":true,"color":"dark_blue"},{"text":"( x2 )","color":"gold"}]
execute as @a[scores={points_timer=0..},tag=-3p] run title @s subtitle {"text":"-3","bold":true,"color":"dark_gray"}
execute as @a[scores={points_timer=0..},tag=-3p2] run title @s subtitle ["",{"text":"-3 ","bold":true,"color":"dark_gray"},{"text":"( x2 )","color":"gold"}]
execute as @a[scores={points_timer=0..},tag=slowp] run title @s subtitle {"text":" ","bold":true,"color":"green"}
execute as @a[scores={points_timer=0..},tag=x2p] run title @s subtitle {"text":" ","bold":true,"color":"gold"}

execute as @a[scores={points_timer=10},tag=+1p] run tag @s remove +1p
execute as @a[scores={points_timer=10},tag=+2p] run tag @s remove +2p
execute as @a[scores={points_timer=10},tag=+5p] run tag @s remove +5p
execute as @a[scores={points_timer=10},tag=+1p2] run tag @s remove +1p2
execute as @a[scores={points_timer=10},tag=+2p2] run tag @s remove +2p2
execute as @a[scores={points_timer=10},tag=+5p2] run tag @s remove +5p2
execute as @a[scores={points_timer=10},tag=-3p] run tag @s remove -3p
execute as @a[scores={points_timer=10},tag=-3p2] run tag @s remove -3p2
execute as @a[scores={points_timer=10},tag=slowp] run tag @s remove slowp
execute as @a[scores={points_timer=10},tag=x2p] run tag @s remove x2p
execute as @a[scores={points_timer=10},tag=give_subtitle] run tag @s remove give_subtitle
execute as @a[scores={points_timer=10}] run title @s title {"text":" "}
execute as @a[scores={points_timer=10}] run title @s subtitle {"text":" "}
execute as @a[scores={points_timer=10}] run scoreboard players reset @s points_timer