Try this one then, the coin doesn't respawn again (I made it a global sprite). The score is persistent between layouts, every time you die 1 point is subtracted from the score and it won't go lower than 0. Let me know if it has problems.
I modified the position of some sprites just so I could test it, be sure to remove what you don't want.