-- Need help using chat service
local Hint = "/Hint"
game.Players.PlayerAdded:Connect(function(plr)
plr.PlayerChatted:Connect(function(msg)
if msg == Hint then
plr.PlayerGui.Hints.Enabled = true
✓ ANSWER ACCEPTED
Chat service wont work, playerchatted isn't a functioning "Member" of player?
1 answer
✓ Accepted answer
You put "PlayerChatted" instead of "Chatted"
local Hint = "/Hint"
game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
if msg == Hint then
print("Player typed ".. Hint)
plr.PlayerGui.Hints.Enabled = true
else
print("Player didn't type " .. Hint)
end
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

11 comments
Thanks VitGamer! You are awsome
No problem! Make sure to press Accept answer so we both get reputation.
You can update now!
Hey vit, it wont work ;(
Can you send the output error?
no output error
can you send the code?
its the code you just put in
check the code i sent you, you might want to check the output and edit it a little. Also make it a script if it isn't.
it was i made it module aswell
I fixed it