Trying to create a chat command, connection to .Chatted
doesn’t respond.
At the same time, default character Animate
script connects to Chatted
and everything works in there.
Here is code of that default connection:
Here is my code:
game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
print(msg)
end)