So add a few debug messages to show where the problem is.
For example, if the message is displaying less than expected kills:
Log when it is supposed to register the kill count, preferably at more than one point until the variable is set. Including variable values if necessary.
At the point of the printing of the message, log all the variable values related to the message to find anything unexpected.
This is the best way to debug your code. It is also how you learn to understand the code.
The code is kind of big for me to debug since I don't know anything about it. I also can't compile it because I'm missing "cl_buy".
If you want me to debug, please tell me where to get the required files and how to reproduce the error and I will test with bots.