If a player zooms out enough, they can see outside the obstacle course. Is there a way to limit how much someone can zoom out? I have looked at similar questions and answers and found that you can change it through code. However, the code I used,
game.Players.LocalPlayer.CameraMaxZoomDistance = (x)
breaks the game. I've put in a few different numbers but all of them break the game. Is this code obsolete? Is it the wrong code? Is what I'm doing even possible?
P.S.: It is located directly in the Workspace, if that helps clear up anything.