Had not looked at your code yet. What you did was to have ProgressTimer call ProgressTimer2 and vice versa in an endless loop. And when you toggle autoattack again you trigger the already running loop again. That's certain to crash the game, you can't do that. Don't ever do endless loops.
|