take an attack pattern from here if you want. please credit. also if you add the attacks, try to make better positioning than me (try to make your attacks in a way so that the player can end up in a way so that they can dodge easier), but that's just a suggestion
Shift click learn for animation code (enemy)