Complex sentence: Humans are actually their main predators, rather than their prey; mambas generally avoid contact with humans.
Split into simpler sentences: Humans are actually their main predators, rather than their prey. They generally avoid contact with humans.