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

How to remove backpack gui?

Asked by 6 years ago

I am making a fps game and i want to remove the backpack but still be able to press 1/2/3/4/5/6/7/8/9/0 to get the tools. is there a way i can make the backpack transparent?

2 answers

Log in to vote
2
Answered by 6 years ago

I suggest creating your own backpack Gui for what you said you wanted.

This will remove the normal Backpack.

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

There are many tutorials on places such as youtube on how to create your own backpack Gui such as this one here.

0
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false) -- Disable Chat, Inventory/Backpack, and Leaderboard. thesit123 509 — 6y
0
Yep :) Ultimate_Piccolo 201 — 6y
Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

This works for me:
1. Create a ScreenGui in StarterGui
2. Put a LocalScript in this ScreenGui
3. Type:

game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
0
Thanks, works perfectly! Sakamotoo 0 — 3y

Answer this question