Chat Color script not working

Hi, I’m making a chat color script, but it’s not working. Please check

local ServerScriptService = game:GetService("ServerScriptService")
local chatservice = require(ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))

local Players = game:GetService("Players")

local admins = {"XXgamerisaliveXx"}

chatservice.SpeakerAdded:Connect(function(PlrName)
	local speaker = chatservice:GetSpeaker(PlrName)
	for i, admin in pairs(admins) do
		if Players[PlrName].Name == admin then
			speaker:SetExtraData("Tags", {{TagText = "Creator", TagColor = Color3.fromRGB(255,0,255)}})
			speaker:SetExtraData("ChatColor", {{ChatColor = Enum.ChatColor.Red}})
		end
	end
end)

Could you show us your Module Script in addition with an Explorer pic?

Never mind bro, I fixed it! I know what I was doing wrong I did, ChatColor = Enum.ChatColor.Red instead using Color3, thanks for replying though!

1 Like

No problem! Let me know if you need help with anything else.

Thanks, yeah sure, I will, this place is the best.

2 Likes