Hi. does enybody know why this code doesn't work?

Yes :slight_smile:

  • You have a sequence Then0 next Then1.
  • In Then0 you set the boolean IsFoxAlive? to true (its hardly readable so I’m going with that)
  • In Then1 you try to pay an animation if the IsFoxAlive is false. This is impossible as you’ve just set it to true.
  • Even if you fix that you’ll just destroy the actor as soon as you start the animation.