RepNotify Help

Hi all! I’ve done this type of thing before, but can’t seem to remember how to achieve it again. I’m trying to make it to where when I press the right mouse button, the material on the static mesh will be white, and when i release, the material will change to a random color. I wanted the color to be the same on the clients and the server, so I decided to use RepNotify, but I kind of “forgot” how to use it. I know it’s vague and kind of hard to explain, but any help or questions would be appreciated!