Can someone help me with a basic chatted event? Like I want it to trigger when a player chats.
First we can use the PlayerAdded event to catch when a player joins.
game.Players.PlayerAdded:connect(function(Player) -- TODO: Add Chatted connection end)
After that, we can use the Chatted event of the player to catch when they chat.
Player.Chatted:connect(function(Message) -- Do what you need to! end)
Now, if we want to access the chatter from inside the chatted block, we can use Player
!