Escape from the destruction of world into space with all the planned necessities and biological samples etc. by a scientist. Very old color movie, maybe European production.
Maybe George Pal’s When World’s Collide. A 1951 Technicolor production from the USA. A scientist discovers that a star is on a collision course with the Earth. He presents his findings to the United Nations and pleads for immediate action, but world leaders initially won’t believe him. A wealthy industrialist funds the scientist’s scheme to build a rocket ship so a few dozen carefully chosen young people can escape the Earth just before the collision and take refuge on a planet that circles the approaching star. They pack the ship with everything they’ll need to start life on a new world, including seeds, livestock, and tools.
Though there were no mad scientists in the movie, you may be thinking of the main antagonist — the industrialist who funds the project. He is a vile, old, wheelchair bound man who is only funding the project because he doesn’t want to die — not because he wants to save humanity from destruction. For many, the film’s highlight were the special effects showing the mayhem on Earth as the gravitation pull of the approaching star wreaks havoc, and the great collision that destroys our planet at the end. The ship does make it to the new planet and mankind lives on.