I agree with Design Runner. Assuming you are using x9 v118 there is now a much simpler way of doing this.
1) make a script that sets up a HUD and a user variable like this:
:state=0:dimvar=KillCount,setvar=KillCount 0
:state=0:hudreset,hudx=50,hudy=6,hudsizex=16,hudsizey=16,hudimage=[path to numerical HUD],hudmake=numeric,hudtype=6,huduservar=KillCount,hudname=KillCountNumHUD,hudhide=0
:state=0:state=1
:state=1:hudshow=KillCountNumHUD
The important things to note are "huduservar=" (needed to link the numerical HUD to a user global variable) and "hudtype=6" (needed so that the numerical HUD looks for the user defined variable).
2) add a line to your death script that increments the KillCount variable using "addvar=KillCount 1"
I hope this helps.
[url="http://raptr.com/No_Turn_Right?src=em_forum"]
[/url]