execute if score @s leeway matches 1.. run return 0
function pctf:logic/game/actionbar/pause {ticks: 2}
title @s actionbar {"score":{"name":"@s","objective":"item_cooldown"},"bold":true,"color":"yellow"}