Yes, it is illegal to screenshot content on OnlyFans. Taking screenshots and distributing these materials without the owner's consent can be considered copyright infringement, which is illegal.