for my fangame how do you make a weapon charge

Official Fangame Help Topic

Edit:
It looks like you need:
A.) Some variables and some variable logic (bool expression checks)
B.) A particle system or a small animation of some particles

Less complicated than it sounds, but ask about it in the fangame help topic.