UserInputService.InputChanged:connect(function(K)if K.KeyCode==Enum.KeyCode.Thumbstick1 then local i=K.Position.X*.9 if Steer~=i and K.Position.X~=0 then Steer=i end if K.Position.X>-0.3 and K.Position.X<.3 then Steer=0 end end end)
-- Game controller joystick detection
UserInputService.InputChanged:connect(function(Key)
	if Key.KeyCode == Enum.KeyCode.Thumbstick1 then
		local SteerPos = Key.Position.X * 0.9

		-- Start steering
		if Steer ~= SteerPos and Key.Position.X ~= 0 then
			Steer = SteerPos
		end
		-- Ends steering
		if Key.Position.X > -0.3 and Key.Position.X < 0.3 then
			Steer = 0
		end
	end
end)
