Chat bug only some players can chat

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
]]

image
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.

None of these solutions availed to any success.(If you wish to replicate the bug the game is: [Down] Tyrone Shippuden - Roblox)

Please let me know any advice you have!

1 Like

(When looking for similiar bugs I cannot seem to find many other developers who have this bug).

Thank you for your time.

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.

1 Like

image

Thanks for the support, going to replace all deprecated wait()'s with task.wait’s.

I’ll attempt that now. The bug is kind of strange as I don’t know if it affects many other people.

EDIT: bug could be a free model if any devs that have worked for me in the past have added any free models that have hidden scripts.

1 Like

You. Have. A big. Big. Game. Dang bro!

1 Like

Bumping, is still unsolved in fact it’s worse and literally, no one can talk now it’s really strange.

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.

1 Like