So after toiling away with my AI script for about a week I finally got it done( almost) my enemy finally attacks at random intervals and everything. But therein lies the problem, when he attacks I want him to play an animation called attack. He does play it but only halfway and then he stops and starts it all over again. I don’t know exactly why this is happening so I decided to get some help since I need to present my game in a few days. Here is my script, help me figure this out please! ![]()
UPDATE: Problem solved, new one has arisen, look below ![]()