You're welcome, Cub3D.
Since the coin variable declared was a global one, it will be automatically saved for the Level 2.
Just in case, if you need to reset the coin variable, then you need to use 'On start of layout' event on Level 2's event sheet and set the coin amount.