we're gonna need more information
do you have the necessary images imported for the enemy? i think you need idle walk attack hurt and death images to be imported for the enemy to not crash