Take and Hold Mechanic

I have a map for team game. I need take and hold mechanic for a point in middle. How do I make that?
I am thinking of Enter trigger>Choose by tag of a team>give point(integrals)(How its done?)>reaches number X of points starts Endgame event. But idk how to do it.

When players are standing in the point, each player has its own team (2 teams). For each player that is in the point,you cast +1 on value for his team. Which value is higher. That team starts capturing it. Unless its a tie, then point stays neutral. Simple logic,now you need to turn it into code. By yourself :slightly_smiling_face: