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

Custom Chat Scripts Aren't Working. Why is this happening? [closed]

Asked by 6 years ago
Edited 6 years ago

For some reason i keep getting the result "****value****" and i can't seem to fix it. I need help. I already checked if there were any typos but there weren't. How do I fix it?

These are my scripts : 1. local chatstorage = game.Workspace.ChatStorage game.Players.PlayerAdded:connect(function(plr) plr.Chatted:connect(function(theirmessage) local stringval = Instance.new('StringValue', chatstorage) stringval.Name = plr.Name..': '..theirmessage end) end)

2. local chatbox1 = script.Parent.cb1 local chatbox2 = script.Parent.cb2 local chatbox3 = script.Parent.cb3 local chatbox4 = script.Parent.cb4 local chatbox5 = script.Parent.cb5 local chatbox6 = script.Parent.cb6 local chatbox7 = script.Parent.cb7 local chatbox8 = script.Parent.cb8 game.Workspace.ChatStorage.ChildAdded:connect(function(chatstuff)

chatbox1.Text = chatbox2.Text
chatbox2.Text = chatbox3.Text
chatbox3.Text = chatbox4.Text
chatbox4.Text = chatbox5.Text
chatbox5.Text = chatbox6.Text
chatbox6.Text = chatbox7.Text
chatbox7.Text = chatbox8.Text
chatbox8.Text = chatstuff.Name
chatbox1.TextColor3 = chatbox2.TextColor3
chatbox2.TextColor3 = chatbox3.TextColor3
chatbox3.TextColor3 = chatbox4.TextColor3
chatbox4.TextColor3 = chatbox5.TextColor3
chatbox5.TextColor3 = chatbox6.TextColor3
chatbox6.TextColor3 = chatbox7.TextColor3
chatbox7.TextColor3 = chatbox8.TextColor3
chatbox8.TextColor3 = Color3.new(math.random(255)/255,math.random(255)/255, math.random(255)/255)

wait() end)

0
Don't come on this site with alvinbloxx's code, expecting for it to be fixed. User#19524 175 — 6y

Closed as Not Constructive by User#19524

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?