Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

MaxZoomDistance Script Help?

Asked by 10 years ago

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)
0
Try player.Character.CameraMaxZoomDistance = 10 Bman8765 270 — 10y
0
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. Redbullusa 1580 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

There is currently no way to do this (11/25/14). player.Character.CameraMaxZoomDistance is borked, and doesn't work. You would need to block the player view when they zoom out far or compensate somehow for zoom (not sure if possible).

Ad

Answer this question