http://forum.thegamecreators.com/?m=forum_view&t=130281&b=24
Here is the Cash system that Conjured came up with - it is really fantastic and robust. Before I confuse you - download this script pack, install, follow the instructions and play about with it a bit. Once you have the cash system working, read on:
To add a kill counter simply save each of the main scripts in a new folder and in the scripts alter the global variable (variables 1 and 2 are used for the cash so my advice is to simply change variables 1 and 2, to 3 and 4 in the new scripts). You will also need to adjust the position of the HUD in the new set of scripts otherwise the kill counter will simply land on top of the cash counter. Just increment the X value by about 10 - I think that should do it.
When the new scripts are edited (this is actually really easy to do once you look through them) you need to impliment them in exactly the same way as the original cash system (don't worry, the link at the top has good instructions). Just remember to a) change the name of the entities your main scripts are attached to (they are called cs1, cs2, cs3, etc - change them to something like va1, va2, etc). And in the IF USED field of these entities remember to also update the name of the next script to be employed (In entity cs1 the IF USED section says cs2. In va1 change the IF USED value to va2). The last thing you need to do is edit one of the destroy scripts that gives the player money when they kill an enemey to instead incremenet the kill counter.
If you download the cash system and look at a few of the scripts I think you'll be able to figure this out on your own. Just remember that the six main scripts don't control the actual variable but instead control the HUD that shows them - the variables are actually manipulated in the smaller scripts, such as the buy weapons script or destroy (and award cash) script. Hope this helps
Pioneering - Website: http://www.huntersofkentucky.com