i have already read this post
i have downloaded file too
.
your have use local storage for coins
but when i create sprite in your file and adding coins to variable it never saving its process
after reload
game starting from 0
may be m not getting proper
here is screenshot
Because your saving function is wrong.
You must use
LocalStorage - Set key 'playercoins_key' to playercoins
instead.
Regards