scoreboard objectives (1.20.1)( in visual studio)

i wanted to code a scoreboard that increases when damage is delt, and then after its score is above 0 a second command would run to change the score to 1000 then a third to 2000 maybe and then after like 5 seconds it rests to 0 again

point of the increase is that i want to assign particles to spawn when the score is in a certain range (this would come later lol) so i can have different particle effects spawn in (like a combo system)

this is what i got so far but im kinda lost on what to do next scoreboard objectives add count minecraft.custom:damage_dealt scoreboard objectives setdisplay sidebar count execute if score * count

the problem I'm facing is that if i hit something even if my score increases in game the number doesn't increase in the scoreboard i made. i didn't finish the code as I'm kind of lost as to what to do next

Continue to help post