The game I have created does allow a character to get coins and hit blocks to gain points. There is only 1 project and the project runs. If a life has been lost, the score reset to 0 then would continue counting as if the player has not died.
Code below:
Develop games in your browser. Powerful, performant & highly capable.
Don't use "Reset global variables". Instead, use System > Global and local variables > Reset > Desired variable.
Hope this helps!