I tried doing,
game.Players.PlayerAdded:connect(function(player) if player.Name == "Player" then player.Chatted:connect(function(msg)
end)
end
end)
But that just detect if one player says something. I'm trying to make it so that if anyone says something it'll effect the position/transparency of a part.I already know hoe to do the second part, I just don't know how to make it detect any players chat. (I got this information from the roblox wiki)

1 comment
This works only for the player named 'Player'. From what I understand, OP wants have it work for everyone, so to just remove that if-statement. This works nicely to implement admin commands though.