--
--inputS.TouchStarted:Connect(function(object)
--	if object == Enum.KeyCode.DPadUp or seat.Throttle == 1 then
--		w=true
--	elseif object == Enum.KeyCode.DPadLeft or seat.Steer == -1 then
--		a=true	
--	elseif object == Enum.KeyCode.DPadDown or seat.Throttle == -1 then
--		s=true	
--	elseif object == Enum.KeyCode.DPadRight or seat.Steer == 1 then
--		d=true			
--	end
--end)


inputS.InputEnded:connect(function(input)
	local code=input.KeyCode
	if code==Enum.KeyCode.LeftShift then
		up=false
	elseif input.KeyCode==Enum.KeyCode.LeftControl then
		dn=false
	end
end)
