How to make player not able to zoom in or zoom out

Hi! how do i make player are not able to zoom in zoom out ?

use this script

--local script--
local distance

game.StarterPlayer.CameraMaxZoomDistance = distance
game.StarterPlayer.CameraMinZoomDistance = distance
2 Likes

it dosent work it just force me to go first person .i want to make the camera not able to zoom in or zoom out while in third person

you will need to change the value of distance

1 Like
--local script--
local distance = --put the zoom value here

game.StarterPlayer.CameraMaxZoomDistance = distance
game.StarterPlayer.CameraMinZoomDistance = distance
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.