Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Chatted Event Not Firing?

Asked by 10 years ago
game.Players.PlayerAdded:connect(function(player)
    player.Chatted:connect(function(msg)
        print "Chatted"
    end)
end)

I copied this from the wiki but the chatted event never fires.

Any ideas?

0
Did you make sure to tell the script what "player" is? BlackJPI 2658 — 10y
0
@MastaJames I doubt that matters, since 'player' is the argument of the PlayerAdded event. Redbullusa 1580 — 10y
0
OK, Alxeyx, make sure that this script is in a server-sided script and that it resides in either game.Workspace or game.ServerScriptService. Redbullusa 1580 — 10y

Answer this question