I was on the roblox wiki and was scrolling around inside the player properties section and I came across the CameraMinZoomDistance and CameraMaxZoomDistance, the page didn't have anything other than
"The minimum distance the player's camera is allowed to zoom in.", "The maximum distance the player's camera is allowed to zoom out."
After that I thought I should try to use it to lock the players camera at a certain zoom so I did
local plr = game.Players.LocalPlayer
plr.CameraMinZoomDistance = 15
plr.CameraMaxZoomDistance = 20
This didn't affect the camera for me whatsoever so that leads me to this where I ask how do I make it that the zoom can be set using that or does it not work as of right now?
NOTE: I used a server script as well as a local, both outputted nothing, they were located in the Starter Gui

1 comment
Yeah I already knew that, I just wanted to find a simple way to do it. Thanks for helping though.