"Drugs damage brain abilities and affect all the parts of the body."
Just a small change is necessary. Add "they" in the 2nd part of this sentence.
Drugs damage brain abilities and they affect all the parts of the body. Even better is omitting "the" in "the parts". ie "Drugs damage brain abilities and affect all parts of the body.
2nd sentence is fine.