I am trying to lock the camera after changing to another part, but the script doesn't work.
local Player = Game.Players.LocalPlayer Player.CameraMinZoomDistance = 0 Player.CameraMaxZoomDistance = 0