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

Keep a constant maximum zoom distance when other scripts are preventing it?

Asked by 4 years ago

I have a problem where I try to limit the zoom distance, but it wont work at all. It could be other scripts or the script is outdated itself. Feedback is appreciated.


game.Players.PlayerAdded:connect(function(player) wait(0.1) player.CameraMaxZoomDistance = 20 -- Change this to what distance do you want. end)

Answer this question