PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

Player.Chatted

Player.Chatted

Oct 01 2018, 2:15 AM PST

=== Setting chatted for all players ===
There is an easy way to make the Chatted event registered on all players. Simply use the /Players/PlayerAdded event in combination with this event.

game.Players.PlayerAdded:Connect(function(player)
  player.Chatted:Connect(function(msg)
        -- do stuff with msg and player
  end)
end)