input.InputBegan:connect(function(M,v)if M.KeyCode==Settings.CameraKey and v==false then if CamV=="\115\101\099\111\110\100"then cam.CameraType="\067\117\115\116\111\109"cam.FieldOfView=70 cam.CameraSubject=plane.PilotSeat CamV="\116\104\105\114\100"script.Parent.HUD.Visible=false run=false elseif CamV=="\116\104\105\114\100"then run=true CamV="\102\105\114\115\116"cam.FieldOfView=100 script.Parent.HUD.Visible=true elseif CamV=="\102\105\114\115\116"then run=true CamV="\115\101\099\111\110\100"cam.FieldOfView=100 end end end)

input.InputBegan:connect(function(inp,CanWork)
	if inp.KeyCode == Settings.CameraKey and CanWork == false then
		if CamV == ("second") then
			cam.CameraType = "Custom"
			cam.FieldOfView = 70
			cam.CameraSubject = plane.PilotSeat
			CamV = ("third")
			script.Parent.HUD.Visible = false
			run=false
		elseif CamV == ("third") then
			run=true
			CamV = ("first")
			cam.FieldOfView = 100
			script.Parent.HUD.Visible = true
		elseif CamV == ("first") then
			run=true
			CamV = ("second")
			cam.FieldOfView = 100
		end
	end
end)
	