Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 7 years ago
Edited 7 years ago

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.

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. M39a9am3R 3210 — 7y

1 answer

Log in to vote
1
Answered by 7 years ago

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)

0
or StarterGui:SetCoreGuiDisabled(Enum.CoreGuiType.Backpack, true) IndieDevBlox 20 — 7y
Ad

Answer this question