Skip to content
Roblox API Reference

Team

The Team class represents a faction in a Roblox place. The only valid parent for a Team is in the Teams service.
Memory category
Instances
Own members
8
Inherited members
75
Subclasses
0
Siblings
608

Properties28

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byTeam5

Property categoryData

  • Team.AutoAssignable: boolean = true
    This property determines whether 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 Players are added.
    • Read capabilities: Players
  • Team.ChildOrder: number = -1
    • Hidden
    • Roblox script security
    • Read capabilities: Players
  • 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.
    • Read capabilities: Players
  • Team.AutoColorCharacters: boolean = true
    Deprecated: This property is deprecated and no longer functions, it should not be used for new work.
    Deprecated and no longer functional. Historically set whether or not Player character models on a team would be colored to Team.TeamColor.
    • Deprecated
    • Not replicated
    • Read capabilities: Players
    • Load only
  • Team.Score: number = 0
    Deprecated: This property is deprecated and should not be used in new work. For more information on how to handle leaderboards and scoring please see this tutorial (opens in a new tab).
    This property can be used to store an integer value associated with the team. This property offers no additional functionality and is not used by any game services.
    • Deprecated
    • Not replicated
    • Read capabilities: Players
    • Load only

Methods43

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byTeam1

Events12

Inherited fromObject1
Inherited fromInstance9
Defined byTeam2