title @s actionbar {"text":"Checkpoint!","color":"gold"}

scoreboard players add @s[tag=return_stage_checkpoint_message] return_stage_checkpoint_message 1
tag @s[scores={return_stage_checkpoint_message=80..}] remove return_stage_checkpoint_message
scoreboard players reset @s[scores={return_stage_checkpoint_message=80..}] return_stage_checkpoint_message