how do i save coins between levels

Use a save block in the game flow section and save the value of the coins before leaving the level. After loading the next level load the coins from a save block with same name as the other save block you used to record the coins

oak thanks