scoreboard doesnt decrease

in my function that runs every tick it should decrease a scoreboard by 1 if its over 0 but it does not work, this also broke part of the trigger
Continue to help post