AutoColorCharacters (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Camoy No edit summary |
||
Line 1: | Line 1: | ||
{{Property | <onlyinclude>{{Property | ||
|name = AutoColorCharacters | |name = AutoColorCharacters | ||
|property = [[Bool]] ''AutoColorCharacters'' | |property = [[Bool]] ''AutoColorCharacters'' | ||
|description = A value that sets whether players on the team wear the team colors automatically. | |description = A value that sets whether players on the team wear the team colors automatically. | ||
|object = Team | |object = Team | ||
}} | }}</onlyinclude> | ||
{{clear floats}} | {{clear floats}} | ||
Line 11: | Line 11: | ||
This causes the players' character's colors to stay the same | This causes the players' character's colors to stay the same | ||
<pre> | <pre> | ||
game:GetService( | game:GetService('Teams').Team.AutoColorCharacters = false | ||
</pre> | </pre> | ||
This causes the players' character's limbs to change to ''Black'', their Heads to change to ''Bright Yellow'', and their Torsoes to change to their TeamColor. | This causes the players' character's limbs to change to ''Black'', their Heads to change to ''Bright Yellow'', and their Torsoes to change to their TeamColor. | ||
<pre> | <pre> | ||
game:GetService( | game:GetService('Teams').Team.AutoColorCharacters = true | ||
</pre> | </pre> | ||
}} | }} | ||
[[Category:Properties]] | [[Category:Properties]] |
Revision as of 16:36, 30 January 2011
AutoColorCharacters | |
Property | Bool AutoColorCharacters |
Description | A value that sets whether players on the team wear the team colors automatically. |
Member of | Team |
Example
This causes the players' character's colors to stay the same
game:GetService('Teams').Team.AutoColorCharacters = false
This causes the players' character's limbs to change to Black, their Heads to change to Bright Yellow, and their Torsoes to change to their TeamColor.
game:GetService('Teams').Team.AutoColorCharacters = true