The method I made will work over time, not the amount of headshots. I didn't build off your code because it seems pointless to loop through players to solve this.
I'll make it for you later, but you should have an amount of time where if the player hasn't been shot then the amount of hits will reset, which is what I did, but instead I made the timer reset.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.