My player has 3 ability states,for each ability different things happends while the animation plays.The condition for it to happend is on a specific frame in the timeline animation[i have a tag on it that i use to check it].
The condition to start the animation,is that the players cooldowns is less than 1 and to click the left button.
for some reason even tho changing the ability states has nothing to do with wheter the animation plays,it still gets interrupted and refuses to play.
Here is the image for events that relates to playing the animation.
and here is an image for buying:
and for equiping the ability:
and for the last part here is an image of what happends when clicking on an ability in the *Shop*[i have 2 others that are exactly the same]:
please i have up to 23:59 to get this done:(((