Sometimes the central character is both the hero and the bad guy. This is fine. However, be aware that the entire movie hinges on this character, and his or her personality, actions, and dialog are really the most vital part of the screenplay. Develop this person carefully and fully. The hero/poor guy should be larger than life – a strong and solid character.