This member cannot be used in scripts, but is usable in the command bar and plugins.
Players function makes the
Players/LocalPlayer chat the given message, which will only be viewable by users on the same team. Since this item is protected, attempting to use it in a
LocalScript will cause an error.
This function is used internally when the
Players/LocalPlayer sends a message to their team.
If you would like to create a custom chat system where you can define custom functions such as these, take a look at the tutorial here.
The message being chatted.