Constantly resetting [Unlike command block]

I made a datapack about lives whenever a player dies it gets 1 Deaths Scoreboard and then it will remove 1 live which will reset Deaths scoreboard:

execute as @a[scores={Deaths=1..}] run scoreboard players remove @s Lives 1

scoreboard players reset @a[scores={Deaths=1..}] Deaths

It's constantly running in tick.mcfunction btw

Continue to help post