Im new to programming and I need help, so I want to make an enemie who does certain movements dependig on his hp. So my goal is to have a code where when his hp equals 500hp he goes left and shots around himself in every direction and you have to dodge those shots. Can someone help me with that?