Does anyone know how I can hide this coreGUI button?
I don’t understand why its there at all. My game doesn’t use normal chat. All coreGUI is disabled upon joining and for extra measure I made it disable whenever going to the games menu screen, but it still wont go away, same with the weird “self view” and “party” options on the dropdown next to it. What makes it especially weird is that it just seems to randomly decide when to appear or not. It wasn’t appearing for me, but it was appearing for other players, now its appearing for me but not for other players, and I just don’t know why. Can anyone here help me with this?
This made removal of GUI possible for me.
This is already disabled for me, same with BubbleChatEnabled
Is this your TextChatService? This is how I have it set, if there is a difference. I believe I had only edited its ChatVersion, and may not have gone through the entire process of converting the place to the new service.
Set it to that and nothing changed, weird thing is that during a studio playtest, all of it is disabled as it should be, but when ingame, its not.
Strangely, using a wait statement before disabling UI with these settings seems to work.
wait(1)
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
I believe it just takes a moment for StarterGui to be set up. I do not know what initiates this, but that is a reasonable starting point.
local player = game:GetService("Players").LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
Did this, removed all other instances of CoreGUI being set to false and now it works. Thank you.
I’d still account for loading times in the wait statement, since I don’t like that the StarterGui is probably taking time to load when the server is started. I don’t know how to do this, so a safe bet is to run that line a few times at timed intervals until the game states that it is fully loaded.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.