I am using the new roblox chat system to make server messages down below and for some reason it doesn’t seem to work for me .
local function chat(message)
game:GetService("TextChatService"):FindFirstChild("TextChannels"):WaitForChild("RBXSystem")
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {Text = message, Color = Color3.fromRGB(255, 171, 67), Font = Enum.Font.Ubuntu})
end
local messages = {
"GAME IS IN A BETA STAGE. EXPECT A FEW BUGS",
"Don't forget to leave a like!",
"Click the ? Icon to learn how to play",
"More features are coming soon",
"Use K + J to start your vehicle",
"The Assist Button is used for helping you park your vehicle in the right place",
"Testers wanted",
"New Dizzy Server is up! Join below the description",
"Type /weather to see the forcast!"
}
chat("")
while true do
chat(messages[math.random(1, #messages)])
task.wait(200)
end
What will be causing this issue because I thought it would be the same but I looked at the document and nothing I can see say about new chat system.
For me this doesnt work on “TextChatService” it works for LegacyChatService under ChatVersion.
Edited Script:
local function chat(message)
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {Text = message, Color = Color3.fromRGB(255, 171, 67), Font = Enum.Font.Ubuntu})
end
local messages = {
"GAME IS IN A BETA STAGE. EXPECT A FEW BUGS",
"Don't forget to leave a like!",
"Click the ? Icon to learn how to play",
"More features are coming soon",
"Use K + J to start your vehicle",
"The Assist Button is used for helping you park your vehicle in the right place",
"Testers wanted",
"New Dizzy Server is up! Join below the description",
"Type /weather to see the forcast!"
}
chat("")
while true do
chat(messages[math.random(1, #messages)])
task.wait(5)
end