local function d()if UserInputService:GetLastInputType()~=Enum.UserInputType.Touch then script.Steering.Value=SteerLeftValue-SteerRightValue script.Throttle.Value=ThrottleValue-BrakeValue script.HandBrake.Value=HandBrakeValue else script.Throttle.Value=VehicleGui.throttleInput script.Steering.Value=VehicleGui.steeringInput script.HandBrake.Value=VehicleGui.handBrakeInput end end

local function getInputValues()
	if UserInputService:GetLastInputType() ~= Enum.UserInputType.Touch then
		---Let the control module handle all none-touch controls
		script.Steering.Value = SteerLeftValue - SteerRightValue
		script.Throttle.Value = ThrottleValue - BrakeValue
		script.HandBrake.Value = HandBrakeValue
	else --The vehicle gui handles all the touch controls
		script.Throttle.Value = VehicleGui.throttleInput
		script.Steering.Value = VehicleGui.steeringInput
		script.HandBrake.Value = VehicleGui.handBrakeInput
	end
end
