Changing the default animations mid game

![2023-01-15 06-52-37|video](upload://oHZwgK1r7BwGFEQixtqEBG9P5HH.mp4
i copied the original animate script and changed the walking and idle animations. But I want it to flip to the other side after the first attack. So how I did this was by making two animate scripts, and swapping them from being enabled to disabled depending on which side it is on. Sorry if this is poorly explained please ask questions if u r confused

the video isnt showing for some reason idk if it works for other people