Gamemode help?!?!?

Herro all!!! I am attempting to make a gamemode that makes it so that when you first spawn, you start with no money. Then as you kill npc’s such as zombies, or other players, you gain a certain amount of money. So I figured I would make an integer that would the player’s money and then add to that variable when they killed others. How would I do this, and how would I code a gun store?

Code a gun store? what do you mean are you talking about a hud?

I’m talking about something similar to a darkrp buy menu.

I am not sure you have the basic equipment to create a own Gamemode. Even though i have a list of links that could help you.

if you have some special question about LUA you can write me a PM.