Help! Coin Score system across levels

I’m making a game with a group almost everything is done but as of now the coin system which is used for a leaderboard is not working correctly. It saves the coins across levels but it doesn’t reset on death and its also having the effect of the player’s health not resetting on entering a new level. The levels are quite hard so the player always gets there health refilled upon entering a new level but now if you end a level with 5 health you start the next with 5 when it should be 10 here’s a link to a copy of my game the coin system is in the players Sprite called Finn Draft inside a bundle called Coins Copy of Adventure Time: Secrets of Ooo - Flowlab Game Creator

You can make it so whenever you do something that will kill you, it resets the value of the score to 0.