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

Remove Toolbox [closed]

Asked by 10 years ago

This question already has an answer here:

How do I get rid of the backpack toolbar in a script?

I want to ask yas guys, how do u remove toolbox? cos in some games I saw that there are no toolboxes but there is gear, and all u have to do is press a number to change to certain weapon...

Marked as Duplicate by User#2

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

2 answers

Log in to vote
1
Answered by
AxeOfMen 434 Moderation Voter
10 years ago

Place this code in a LocalScript to hide the backpack:

game.StarterGui:SetCoreGuiEnabled("Backpack", false)
0
worked :D so now that its away, could u plz tell me a script that u can select weapons with? cos I tried equipping RPG, and it didnt work... so plz tell me if u can... thnx... I would thumbs up but I need at least 1 rputation :( Kapitanovas 0 — 10y
1
You are the asker of the question which means that you can accept an answer. Click the link that says "Accept answer" AxeOfMen 434 — 10y
0
oh yeah sry forgot lol Kapitanovas 0 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

Well, first you need a script. The code in the script needs to tell the game client to NOT load out the tools. The code in the script can be written like this.

local Backpack = game:GetService("Backpack")
Backpack :SetCoreGuiEnabled(0,false)

I hope this helped you. If It did, I would appreciate a thumbs up why you reach 5 Thumbs

0
lol awesome!!! I had like -6 now I got -2 nice! and bro, sry, I would thumbs up, but I need at least 1 reputation it says here :( Kapitanovas 0 — 10y
0
damn, stopped working :( :'( Kapitanovas 0 — 10y
0
There is no Backpack service. More-so, the SetCoreGuiEnabled method is part of the StarterGui. User#2 0 — 10y