game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
As simple as that. Of course... it works in studio, but of course not ROBLOX Player. Any help? Or suggestions?
All help will be appreciated.
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
As simple as that. Of course... it works in studio, but of course not ROBLOX Player. Any help? Or suggestions?
All help will be appreciated.
Make sure that your script is a localscript in StarterPlayerScripts.
Create a Script and put it in your workspace, now that you have your script, copy and paste this code into it.
script.Parent = game.ServerScriptService
game.Players.PlayerAdded:connect(function(plr)
local dis = script:FindFirstChild("Disable"):Clone()
if dis then
local plrGui = plr:WaitForChild("PlayerGui")
dis.Parent = plrGui
dis.Disabled = false
end
end)
After this
Create a LocalScript inside of your script and name it "Disable"
Now that you have your LocalScript, copy and paste this code into it!
game.StarterGui:SetCoreGuiEnabled(3, false)
I've tested this in game and it works :)
But if you didn't know, Go to your game and go to the configure page -
On the configure page you will be able to get rid of the chat gui by going under permissions and making the allowed chat type bubble chat.
Both of your comments, don't work.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
https://scriptinghelpers.org/guides/server-client-relationship-in-roblox
Put this local script in the startergui
Still doesn't work @Masteraile