The residents of an apartment block took matters into their own hands after they deemed the acts offensive.