game.Players.PlayerAdded:Connect(function(player) player.Chatted:Connect(function(msg) -- do stuff with msg and player --example below print(player.Name.." said "..msg) end) end)