Movement script stops working when time.timescale= 0

I’ve got a movement script which should work when the game is “paused” however it doesn’t. Could someone help me figure out why it isn’t working when Time.timeScale = 0f? I made sure not to multiply by Time.deltaTime

using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class Movement : MonoBehaviour
    public Transform target;
    public float movementSpeed;

    public float minZoom;
    public float maxZoom;
    public float minHeight;
    public float maxHeight;

    public float objectCameraDistance;
    public float rotateMultiplier = 0.1f;

    float angleXZ = 0;
    float height = 0;

    void Awake()
        GameObject gameObject = GameObject.Find("Look At");
        target = gameObject.transform;

    void Update()
            float horizontalInput = Input.GetAxis("Horizontal");
            float verticalInput = Input.GetAxis("Vertical");
            float zoomInput = Input.GetAxis("Mouse ScrollWheel");

            Vector3 inputDirections = new Vector3(horizontalInput, verticalInput, zoomInput).normalized;

            objectCameraDistance += -inputDirections.z * movementSpeed;
            objectCameraDistance = Mathf.Clamp(objectCameraDistance, minZoom, maxZoom);
            rotateMultiplier = (rotateMultiplier * objectCameraDistance) / objectCameraDistance;
            //transform.position = new Vector3(0, 0, objectCameraDistance);

            angleXZ += inputDirections.x * movementSpeed * rotateMultiplier;
            float positionX = Mathf.Cos(angleXZ) * objectCameraDistance;
            float positionZ = Mathf.Sin(angleXZ) * objectCameraDistance;

            height += inputDirections.y * movementSpeed;
            height = Mathf.Clamp(height, minHeight, maxHeight);

            transform.position = new Vector3(positionX, height, positionZ);

Update Answer: Input.GetAxis uses Time.deltaTime to smooth the values and when the delta time is 0 the value won’t change. Use GetAxisRaw instead but the Sensitivity/Gravity of the axis won’t be taken in consideration anymore so most likely you want to post process the axis values yourself