Goal: Allow fake text to be put in chat with color, and convert it to the new chat service via sever script.
The code I’ve used in the past was the fallowing code, the issue it it only works with the legacy chat service, which is going to be depreciated soon. Any help updating this would be appreciated I looked though the updated service and either I’m missing something obvious or something else
local SS = game:GetService(“ServerScriptService”)
local ChatServiceRunner = SS:WaitForChild(“ChatServiceRunner”)
local ChatService = require(ChatServiceRunner:WaitForChild(“ChatService”))local speaker = ChatService:AddSpeaker(“bot”)
speaker:JoinChannel(“All”)task.wait(5)
speaker:SetExtraData(“NameColor”, Color3.new(1, 0, 0))
speaker:SayMessage(“Hello”, “All”)