// Update is called once per frame void Update() { SetSurrogates(); type.bodyAnim.speed = 1; if (type.humanoid) { type.isHumanoid(); } if (type.player) { type.isPlayer(); } }