Chat occasionally doesn’t work entirely. It’s hit and miss, some joins your chat works some joins it completely does not work. Been a problem for nearly a year.`
As shown in the screenshot, there is no chat on the top left entirely (the small button next to the roblox logo). The chat is designed to be no window on the top left but purely talking to players in person with bubbles.
I have tried multiple solutions these include:
local starterGui = game:GetService("StarterGui")
local function enableBubbleChat()
wait(10)
print("REGISTERED CHAT CALLBACK")
print("REGISTERED CHAT CALLBACK")
print("REGISTERED CHAT CALLBACK")
print("REGISTERED CHAT CALLBACK")
print("REGISTERED CHAT CALLBACK")
return {BubbleChatEnabled = true}
end
game:GetService("Chat"):RegisterChatCallback(Enum.ChatCallbackType.OnCreatingChatWindow, enableBubbleChat)
--[[
while true do
wait(60)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
end
]]
As well as this placed in the primary chat script. I have never really worked with chat so I am not quite sure how to fix this issue, reading through API I am just not entirely sure.
One solution that players of the game found was to just keep rejoining till you get chat, however this destroys new players experience and wastes time of people who know this.
Why do you have so many prints…? Okay, but in your code, you used wait(n: number) which is probably gonna go deprecated soon. Use the task library for it.
Use task.wait(n: number) for the wait, since it works amazingly. Other than that, I don’t have any other places to correct you in.
Edit 1: Change the spawn(function: any) in line 470 of your script to task.spawn(function: any). Again, another better version in the task library.
I’ve managed to solve this issue after many attempts
-- Made by Senor_Danny/Danny.#8532
-- Patch for nearly year old Chat Bug
-- Tyrone Shippuden
game.Players.PlayerAdded:Connect(function(player)
while true do
task.wait(10)
local chat = game.Players[player.Name].PlayerGui:WaitForChild("Chat")
if chat.Frame.Visible == false then
chat.Frame.Visible = true
for i,v in pairs(chat:GetChildren()) do
if v:IsA("Frame") then
v.Visible = true
v.Active = true
elseif v:IsA("ImageButton") then
v.Visible = true
v.Active = true
end
end
end
end
end)
However, turns out you can’t edit chat in playergui, so I resorted to my inner detective and looked through all local scripts for any suspicious additions from ex-devs and found a backdoor broken into many different variables to be hidden.