Game bug

So I came back to this game I gave up on a year ago, and it’s a shooting game. I made a 1v1:

and a 2v2:

And so I thought it would be nice to make a third version, where you go against a robot. I was having a hard time and gave up while debugging, but would be nice if you could help fix bugs and give advice. Thanks!