are you sure that this will work? i think it should be MovementInform() and move the attack part to this, instead of using UpdateAI()