How to make a command to reset a counter command back to 0

Hey @mysticdiamond!

Please use the search bar before opening a new topic (see the first recommendation), I’ve queried the forum with “reset counter” and I found many solutions, here’s one of them: