# Team(ロブロックス クラス) > The Team class represents a faction in a Roblox place. The only valid parent for a Team is in the Teams service. - URL:https://roblox.minecraft-okinawa.com/reference/classes/Team/ - 公式:https://create.roblox.com/docs/reference/engine/classes/Team - 受け継いでいるクラス:Instance ## プロパティ - `Team.AutoAssignable: boolean`:This property determines whether Class.Player|Players will be automatically placed onto the Team when joining. If multiple teams have this property set to true, Roblox will attempt to even the teams out when Class.Player|Players are added. - `Team.TeamColor: BrickColor`:This property sets the color of the Team. Determines the Player.TeamColor property of players who are a member of the team. Also determines the color displayed on the player list and above player's heads. ## メソッド - `Team:GetPlayers(): List`:Returns a list of Class.Player|Players who are assigned to the Team. A Player is considered assigned if their Player.Team property is equal to the Team and Player.Neutral is false. ## イベント - `Team.PlayerAdded(player: Player)`:Fires whenever a Player is assigned to the Team. A player is considered assigned if their Player.Team property is equal to the Team and Player.Neutral is false. - `Team.PlayerRemoved(player: Player)`:Fires whenever a Player is removed from a Team. This can be due to the Player leaving the game, Player.Neutral being set to true or the Player joining a different team. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)