antihero

/ˈæn(t)iˌhɪroʊ/
/ˈænˌtaɪˌhɪroʊ/

noun

A central character in a story, movie, or drama who lacks conventional heroic attributes.

with the age of the antihero, baddies and goodies became less distinguishable from one another