Creating Multiplayer Game's Mode Domination

Hey guys! I utilized the idea to handle Domination mode's functionality. I used room customproperties to store team's score and a script on flags or control points so it was creating some issues can anyone help me?