How do I make a coin counter go down

This is what I wanted to develop In my amber game. So do You know that Nathanael bandy challenge video where he played super Mario 64 while Mario was slowly dying, and he had to collect a lot of coins so he wouldn’t die?
IMG_3026

If you want constantly subtract coins
Lets say one each sec
You could simply go with wait action and boolean variable

Like
Condition
BOOLEAN variable is FALSE
Trigger once

Action
Change value of BOOLEAN variable set to TRUE
Change value of COIN variable subtract 1
Wait 1 sec
Change value of BOOLEAN variable set to FALSE

Can you show me that in an image please?

Damn i forgot one action i updated my previous message
But now you have same crap in image below and in my previous message