How to sync color change of a flag (uNet)

I have a script that manages the flags colors, ie. player tagged blue enters trigger area and in x seconds flag turns blue. If i try to make it multiplayer only the player who changed the flag color sees different color other clients see it still as default color.

I havent tried anything so far yet and i dont know what to do also. ive only tried adding network identities to them but obviously thats not enough. Tell me if you want to see the script

Please post your script. Your going to have to set up things called RPC’s and Commands which send info between the server and the clients.