The above line needs to be public if you’d like to use BlueprintReadWrite. Also, EAnimationState will not work, as the error in the output log will report. You need to use this instead:
TEnumAsByte<EAnimationState> animState;
Also, in your .cpp, you’ll need to actually implement your GetLifetimeReplicatedProps function, as shown below: