Hello everyone. I am new to game development and trying to make a 2D game. My problem is that my characters’ attack animation starts looping over and over once it is pressed. The game loads up and the other animations work like they are supposed to, but once I press the attack button, the animation keeps repeating and cannot be stopped. Can you find anything in my script that could be making the character behave like this?
