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

How do I make a script that hides the backpack?

Asked by
Limk 5
8 years ago

I need help when it comes to hiding the players backpack, BUT there are still tools that are being able to be equipped, someone please help.

2 answers

Log in to vote
2
Answered by 8 years ago

Did you try using the :SetCoreGuiEnabled method? If you need to know how to use it here is a website where you can learn how to use it if you have any problems please don't hesitate to comment down below.

http://wiki.roblox.com/index.php?title=Disabling_parts_of_the_game_interface

I hope I helped and thanks for reading!

~~KingLoneCat

Ad
Log in to vote
0
Answered by 8 years ago

I believe you have to mess with SetCoreGuiEnabled, a member of StarterGUI, in order to do such thing. It is a common practice. I recommend using the wiki page as KingLoneCat kindly shared. Other things that are possible are hiding health and player list. Something like this, perhaps?

game:GetService("StarterGui"):SetCoreGuiEnabled("Backpack", false)

If it doesn't work, mess around with it, I didn't revise it properly.

Answer this question