local function f()return LocalPlayer.DevEnableMouseLock and(GameSettings.ControlMode==Enum.ControlMode.MouseLockSwitch and(LocalPlayer.DevComputerMovementMode~=Enum.DevComputerMovementMode.ClickToMove and(GameSettings.ComputerMovementMode~=Enum.ComputerMovementMode.ClickToMove and LocalPlayer.DevComputerMovementMode~=Enum.DevComputerMovementMode.Scriptable)))end if not UserInputService.TouchEnabled then IsShiftLockMode=f()end

local function isShiftLockMode()
	return LocalPlayer.DevEnableMouseLock and GameSettings.ControlMode == Enum.ControlMode.MouseLockSwitch and
			LocalPlayer.DevComputerMovementMode ~= Enum.DevComputerMovementMode.ClickToMove and
			GameSettings.ComputerMovementMode ~= Enum.ComputerMovementMode.ClickToMove and
			LocalPlayer.DevComputerMovementMode ~= Enum.DevComputerMovementMode.Scriptable
end

if not UserInputService.TouchEnabled then	-- TODO: Remove when safe on mobile
	IsShiftLockMode = isShiftLockMode()
end
