ChatService:GetSpeakerList() only works in studio

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

function ReplicatedChat:Init()
	ChatService.SpeakerAdded:Connect(SetPlayerChatColor, true)
	for _,v in pairs(ChatService:GetSpeakerList()) do
		SetPlayerChatColor(v, true)
	end	
end

Not sure what’s going on here, but for some reason this only works in studio. It’s not being required from the command bar or developer console either. Is there something I overlooked?

Are there any errors in the developer console?

If not, maybe try adding a :WaitForChild("ChatService") in place of .ChatService?

ChatService is definitely being required properly because I am able to do print(ChatService) and then view a table of everything the module consists of. No errors in console either.