Randomly functionalized a periodic surface

Hi everybody,

I have built a crystal surface and i want to know, is it possible to randomly functionalized this surface while the structure is 2d periodic? i did randomly functionalized it but when it was non-periodic.

If it is possible to randomly functionalized a periodic structure, would you help me that how i can do that?

Best Regard

SJN