Making a mod [t3, t4, t5 acu upgrade] *help needed*


So i've been working around with blackops acu mod, trying to make an addon to it that enables acus to be used in lategame as an attacking unit.

For some reason my code seems to hang the game in forever loop when trying to start the game.

I got it working in the first time, but now I cant figure out whats wrong.