I'm glad it worked.
The game is currently in development and right now what happens after reaching 5000 gold is not scheduled, I apologize. I will post new updates very soon. If you have any questions or suggestions, don't hesitate to ask me.