Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I cannot disable roblox CoreGui using this script (Any help?)

I dont know if i'm just being stupid but whenever i use this or any disabler of roblox core gui it wont work Specifications: is normal script (I think thats local) and it is located in workspace

local StarterGui = game:GetService('StarterGui')
 
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack)

if anyone could help me?

thanks for any help.

1 comment

0

What type of script are you using LocalScript or ServerScript? Where is the script located? Can you give us any more information than what you have provided? Edit: Also, ensure that the second argument is false. You identified the CoreGui, you just need to tell it if it should be on or off.

1 answer

✓ Accepted answer

Yeah , first you should write it on a local script. Also the code should be right these :

local StarterGui = game:GetService('StarterGui')

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

1 comment

0

or StarterGui:SetCoreGuiDisabled(Enum.CoreGuiType.Backpack, true)

This discussion is preserved as it was. New answers, comments, and votes are closed.