mouse.KeyDown:connect(function(Q)Q=string.lower(Q)if Q=="\102"then carSeat.Parent.SS.Motor.DesiredAngle=-0.2 elseif Q=="\103"then carSeat.Parent.Parent.SFR.SS.Motor.DesiredAngle=.2 elseif Q=="\106"then carSeat.Parent.SS.Motor.DesiredAngle=0 carSeat.Parent.Parent.SFR.SS.Motor.DesiredAngle=0 elseif Q=="\116"then if cam=="\099\097\114"then Camera.CameraSubject=player.Character.Humanoid Camera.CameraType="\067\117\115\116\111\109"cam="\102\114\101\101\112\108\114"Camera.FieldOfView=70 limitButton.Text="\070\114\101\101 \067\097\109\101\114\097"wait(3)limitButton.Text=""elseif cam=="\102\114\101\101\112\108\114"then Camera.CameraSubject=player.Character.Humanoid Camera.CameraType="\065\116\116\097\099\104"cam="\108\111\099\107\112\108\114"Camera.FieldOfView=45 limitButton.Text="\070\080\086 \067\097\109\101\114\097"wait(3)limitButton.Text=""elseif cam=="\108\111\099\107\112\108\114"then Camera.CameraSubject=carSeat Camera.CameraType="\067\117\115\116\111\109"cam="\099\097\114"Camera.FieldOfView=70 limitButton.Text="\083\116\097\110\100\097\114\100 \067\097\109\101\114\097"wait(3)limitButton.Text=""else end end end)
-------------------------

mouse.KeyDown:connect(function(key)
	key = string.lower(key)
	if key == "f" then
		carSeat.Parent.SS.Motor.DesiredAngle = -0.2
	elseif key == "g" then
		carSeat.Parent.Parent.SFR.SS.Motor.DesiredAngle = 0.2
	elseif key == "j" then
		carSeat.Parent.SS.Motor.DesiredAngle = 0
		carSeat.Parent.Parent.SFR.SS.Motor.DesiredAngle = 0
	elseif key == "t" then --Camera controls
		if cam == "car" then
			Camera.CameraSubject = player.Character.Humanoid
			Camera.CameraType = "Custom"
			cam = "freeplr"
			Camera.FieldOfView = 70
			limitButton.Text = "Free Camera"
			wait(3)
			limitButton.Text = ""
		elseif cam == "freeplr" then
			Camera.CameraSubject = player.Character.Humanoid
			Camera.CameraType = "Attach"
			cam = "lockplr"
			Camera.FieldOfView = 45
			limitButton.Text = "FPV Camera"
			wait(3)
			limitButton.Text = ""
		elseif cam == "lockplr" then
			Camera.CameraSubject = carSeat
			Camera.CameraType = "Custom"
			cam = "car"
			Camera.FieldOfView = 70
			limitButton.Text = "Standard Camera"
			wait(3)
			limitButton.Text = ""
		else
		end
	end
end)
