How to Make a Script to Control How Far a Camera Can Zoom Out?

So you know how you can play Roblox in 1st person and in 3rd person? So in 3rd person, you can zoom the camera in and out. However, when you create a new game in Roblox Studio, you can zoom out the camera super far to see the whole map. So, I need a script so you can only zoom out the camera very little so you can’t see the whole game. It needs to work for all devices. Does anyone know this kind of script?

1 Like

All you need to do is go to the properties of “StarterPlayer”, in the game explorer, and adjust the “CameraMaxZoom” value to the appropriate distance you want to limit the zoom to.