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.