The wiki says it's an instance, however, I don't know what kind of instance. So if someone can expand on this, I would like to know.
✓ ANSWER ACCEPTED
What is recipient in event "Chatted"? (player)
3 answers
✓ Accepted answer
The Receipient is the player who chatted the chat. For example, this would kill anybody who chats..
game.Players.PlayerAdded:connect(function(v)
v.Chatted:connect(function(msg, player) --Msg is the actual chat, player is the player who chatted it.
player.Character.Humanoid.Health = 0 --Kills the player.
end)
end)
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg)
if msg == "Shutdown" then
game.Players:ClearAllChildren()
end
end)
idk ask #roblox irc they are studio power users
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I did.
oh yeah im in there