Have you watched the video? It shows how to setup a team.thankyou for the answer..
i have another one, i have search and try but still couldn't found to make the Agent(AI) in one team for example blue team, and another AI in the same team with the player. so the agent doesnt shoot their teammate.
Take a look at the scoreboard for an example. It subscribes to an event when the agent dies.also i wanna ask how can we know when the player/agent is dead. i wanna make a scoring system.