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

my chatmodule breaking chat, not sure how to fix?

Asked by 5 years ago

hey guys need some help so um i have some chatmodules and one of them completely breaks chat

https://pastebin.com/psUkhkqF heres the script of the one that breaks it heres what happens: https://waddle.network/9aa5069b3.mp4 and it works fine without the chatmodule: https://waddle.network/fb379ab33.mp4

ive been trying to figure it out but idk whats causing the issue i didnt change anything recently and it worked before so idk what happened no errors appear or anything

script that defines the channels:

local Chat = game:GetService("Chat")

local function Run(ChatService)

local Players = game:GetService("Players")

local a = ChatService:AddChannel("Alive")
a.Joinable = false
a.Leavable = false
a.AutoJoin = false
a.Private = false

local c = ChatService:AddChannel("Werewolves")
c.Joinable = false
c.Leavable = false
c.AutoJoin = false
c.Private = false

local b = ChatService:AddChannel("Dead")
b.Joinable = false
b.Leavable = false
b.AutoJoin = false
b.Private = false

local d = ChatService:AddChannel("Jailer")
d.Joinable = false
d.Leavable = true
d.AutoJoin = true
d.Private = false

local e = ChatService:AddChannel("General")
e.Joinable = true
e.Leavable = false
e.AutoJoin = true
e.Private = false

--wait(1.0)

--print(w:GetSpeakerList()[1])
--w:MuteSpeaker("thealtofDaniel11420", "dead")

end

return Run

Answer this question