AutoColorCharacters (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Flurite
No edit summary
m Text replacement - "</code>" to "</SyntaxHighlight>"
Tags: mobile web edit mobile edit
Line 12: Line 12:
<code lua>
<code lua>
game:GetService('Teams').Team.AutoColorCharacters = false
game:GetService('Teams').Team.AutoColorCharacters = false
</code>
</SyntaxHighlight>
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.
<code lua>
<code lua>
game:GetService('Teams').Team.AutoColorCharacters = true
game:GetService('Teams').Team.AutoColorCharacters = true
</code>
</SyntaxHighlight>
}}
}}


[[Category:Properties]]
[[Category:Properties]]

Revision as of 03:20, 27 April 2023

AutoColorCharacters
Type bool
Description A value that sets whether players on the team wear the team colors automatically.
Member of Team


Example
{{{1}}}