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

Custom chat not displaying?

local CB1 = script.Parent.Chats.Chat1
local CB2 = script.Parent.Chats.Chat2
local CB3 = script.Parent.Chats.Chat3
local CB4 = script.Parent.Chats.Chat4
local CB5 = script.Parent.Chats.Chat5
local CB6 = script.Parent.Chats.Chat6
local CB7 = script.Parent.Chats.Chat7
local CB8 = script.Parent.Chats.Chat8
local CB9 = script.Parent.Chats.Chat9
local Message = game.Lighting.ChatHistory

Message.ChildAdded:connect(function(msg)
	CB1.Text = msg.Value --Moves text down but does not display new text, no errors.  Stored in a stringValue, ChatVal.
	CB1.Text = CB2.Text
	CB2.Text = CB3.Text
	CB3.Text = CB4.Text
	CB4.Text = CB5.Text
	CB5.Text = CB6.Text
	CB6.Text = CB7.Text
	CB7.Text = CB8.Text
	CB8.Text = CB9.Text

	CB1.TextColor3 = msg.ColorVal.Value --  "ColorVal is not a valid member of StringValue" ColorVal is a child of StringValue?  Stored in a BrickColorValue, ColorVal.
	CB1.TextColor3 = CB2.TextColor3
	CB2.TextColor3 = CB3.TextColor3
	CB3.TextColor3 = CB4.TextColor3
	CB4.TextColor3 = CB5.TextColor3
	CB5.TextColor3 = CB6.TextColor3
	CB6.TextColor3 = CB7.TextColor3
	CB7.TextColor3 = CB8.TextColor3
	CB8.TextColor3 = CB9.TextColor3
wait()
end)

4 comments

0

ColorVal is a Color3Value, sorry about that typo.

0

Anyone there?

0

Tired of people downvoting my question for no reason. Done with this site.

0

Lol i feel the same way.

1 answer

✓ Accepted answer

Check if the frame is visible and check all the names of the textlabels and boxes because the script doesnt really have any errors that I can see.

2 comments

0

You also probably want to put chatstorage somewhere safer and somewhere the localscript can safely access. I reccommend replicatedstorage. Also check if its a local script.

0

I've already fixed the issue and made it better. It appears someone wants to make fun of me though, but I've reported him.

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