void Start () { wheel = transform.FindChild("Wheel"); hookJoint = gameObject.GetComponentInChildren<HingeJoint>(); hookAnimator = hookJoint.GetComponent<Animator>(); moveSpeed = Random.Range(1,3); SpawnPizza(); isMoving = true; }