LocalScript
script.Parent.MouseButton1Click:connect(function()
local startergui = game:GetService("StarterGui")
startergui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
script.Parent.LocalScript2.Disabled = false
script.Disabled = true
end)
LocalScript2
script.Parent.MouseButton1Click:connect(function()
local startergui = game:GetService("StarterGui")
startergui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
script.Parent.LocalScript.Disabled = false
script.Disabled = true
end)
How to make those 2 Chat disabler / enabler functions into one Script!?!

7 comments
not working andtheres no error
dude with no script.Disabeld or Disabled = true
oh forgot to remove lol
Is it working?
edit the anwer and remove thte script.Disabled part remove line 13-14 and 7-8
can you rate my answer please :3
Thx u did your job ;D ;)