Flag

Show Deprecated
Deprecated

The Flag is a unit spawned with a FlagStand object, and will respawn when captured. When a player touches this object's Handle, which must be a child of the Flag object, which is a Part named "Handle", the flag will be added to the player's backpack and will appear in their hand. A player cannot select other weapons while carrying a flag, and can drop the flag at anytime by pressing "Backspace" on the keyboard. If the player carrying a flag steps onto another FlagStand of a different team color, the flag will be removed from the player's backpack and a point will be added to the user's leaderstats, if provided. The flag will then regenerate at the originating flag stand.

Summary

Properties

Properties inherited from Tool

Properties

Properties inherited from BackpackItem

Properties

  • TextureId:ContentId
    Read Parallel

    The texture icon that is displayed for a tool in the player's backpack.

Properties inherited from Model

Properties

Properties inherited from PVInstance

Properties

Methods

Methods inherited from Tool

Methods

Methods inherited from Model

Methods

Methods inherited from PVInstance

Methods

Events

Events inherited from Tool

Events

Properties

TeamColor

Read Parallel

Methods

Events