I wanted to make a limit to the characters zoom but this script is just not working! It has worked before but maybe an update changed some of the codes. Can someone please help me figure out the problem??
Is there even a problem with this script?
Here is the script I used:
game.Players.PlayerAdded:connect(function(player)
player.CameraMaxZoomDistance = 10
end)

2 comments
Try player.Character.CameraMaxZoomDistance = 10
Thanks to the Roblox update, there's now a StarterPlayer service that lets you edit the CameraMaxZoomDistance to make life a little bit easier. You can adjust CameraMaxZoomDistance and other properties on each player also.