setNametagColor
Sets the player's nametag color.
note
This method is available on the Server but is not synchronized to all players.
You can easily do so by using network events.
Syntax
player.setNametagColor(name);
Parameters
| Name | Type | Description |
|---|---|---|
name | ColorType | The new nametag color. |
Example
player.setNametagColor('red');
Available on: Client Server