Idk what too do in this part of it

Okay the code is okay except the last part it wont attack anything the “hero:attack(enemy)”

As said before you have to check if there is an enemy, so you have to do if enemy, then do the cleave or the attack, and you didn’t say if hero.isReady(“cleave”): you need to specify what is ready. Also, please don’t post several topics on the same level.