A Harlem community group says the National Basketball Players Association has unleashed a full-court press to try to bounce them out of their offices.

“We’re devastated and perplexed. These are the heroes of our community. I don’t know why they’re doing this,” said John Bess, the founder and executive director of the Valley Inc., a 25-year-old community group that’s found itself at odds with its new landlord – the NBA players union.

The union bought the building that houses some of Valley’s offices at 310 Lenox Ave. last year.

But in papers filed in Manhattan Supreme Court, the Valley, which counsels teenage moms and does tutoring and job placement, says the Players Association is playing dirty, changing their locks and trying to boot them out five times in the last six months.

The NBPA said in a statement that “Valley’s lack of cooperation” and “abusive conduct” is to blame for the friction, and that the agency has “failed to pay rent in a timely manner, bounced numerous checks . . . and engaged in a mean-spirited vendetta against the NBPA.”