Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

The chat won't display, help?

while true do
	game:GetService("Chat"):Chat(head, ChatColor.Red, getRandomPhrase())
	wait(5)
end

This is a fragment of a script, I'm not sure why it can't display the Chat on the NPC's head. Can someone help me?

1 answer

You're mixing up the ChatColor and the message, and it is Enum.ChatColor.Red

game:GetService("Chat"):Chat(head, getRandomPhrase(), Chat(head, getRandomPhrase(), Enum.ChatColor.Red)

If this doesn't work, check out your function getRandomPhrase(). Make sure it's returning a string value.

This discussion is preserved as it was. New answers, comments, and votes are closed.