how can I change CameraMaxZoomDistance or CameraMinZoomDistance via a script? I have tried many options but nothing helps(
local player = game.Players.LocalPlayer
player.CameraMaxZoomDistance = 10
player.CameraMinZoomDistance = 1
this is on the official Roblox website (does not work).
here's another solution that doesn't work -
game.StarterPlayer.StarterPlayerScripts.CameraMaxZoomDistance = 10
please help me ;(
put the script in server script service
game.StarterPlayer.CameraMaxZoomDistance = 10