Update: I managed to get the code working. However, it still doesn't work.
The Charger immediately starts charging instead of pummeling his victim.
My last idea would be to make the code work on a delay, but I have absolutely no idea how to do that without being inside the OnPlayerRunCmd thing. So I'm officially out of ideas.
So, to anybody who actually knows what they're doing when it comes to coding, feel free to take on this challenge.
I certainly couldn't do it, and that's because I don't know how to code.