Editing the camera distance from player?

How would I edit the players camera’s distance through a local script?

Customizing the Camera

I know that but I want to set the cameras zoom not the max and min zoom

Just set the CameraMaxZoomDistance and CameraMinZoomDistance to the same value to prevent zooming in and/or out.