The Candyman movies like the other dude said. The movies were adapted from a novel by Clive arker but I'd suggest Tupac would've watched the movie like everyone else.
Candyman, Candyman: Farewell To The Flesh & Candyman: Day Of The dead (Although 2Pac was dead by the time this was made.)
Although in the movies you had to say Candyman's came 5 times (In the mirror) before he came & killed you.