Chatted (Event)

Chatted ( String message, Instance recipient )
Description Fired when the owning player types a chat in chat bar or selects a phrase in safe chat menu.
Member of: Player
Chatted ( Instance head, String message, ChatColor chatColor )
Description Fired when Chat Method is used.
Member of: Chat


Usage

Please note that the recipient value is always nil. This is an example of connecting the chatted event to all incoming players.

Game.Players.PlayerAdded:connect(function(player)
  player.Chatted:connect(function(msg)
    if msg == "reset" then
      player.Character:BreakJoints()
    end
  end)
end)