So I’m making a horror game and I want to hide the toolbar without deleting it because I don’t want the toolbar covering up my dialogue. I haven’t found any tutorials online that tells you how to hide it, they only have how to delete it.
Hope you guys can help me!
Thanks!
You can take a look at the StarterGui documentation on the SetCoreGuiEnabled function. Basically that lets you hide any core gui(except for the start menu) and show them.
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
And where do I put this script? (I am new to lua so I dont know much of the locations I am supposed to put my scripts.)
I tried it and now it wont let me access my tools i have put in my toolbar, I just want something that will hide it but it will still let the player access their items
There is no way to disable the backpack CoreGui without disabling the number row hotkey functionality afaik.
It was claimed otherwise in this post:
but that appears to be false. Your best bet if I’m right is to write custom backpack hotkeys. You could probably just fork whatever CoreScript handles the standard backpack.
Ok. Thanks for your Help! (30characters)
You would put it in a LocalScript inside of StarterGui
I wouldn’t do that. It won’t hurt but it’ll needlessly disable the backpack every respawn.
I know there is a way to easily do that. Look it up on google. I would show u what I did for my game, but I am unable to until Saturday night.