Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you make the player equip the tool but the backpack slot/icon is removed?

So when you equip a tool, at the bottom of the screen there is always an icon - how do I remove this? Couldn't find anything on the internet so maybe someone who has dealt with this before could help. Thanks!

1 answer

✓ Accepted answer

Local script in StarterGui:

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

Example local script to equip tool:

local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char:WaitForChild("Humanoid")
hum:EquipTool(plr.Backpack["Tool"])

For this example to work you must have a tool in StarterPack Named Tool. It doesn't have to be a local script. But LocalPlayer can only be used in local scripts.

3 comments

0

Oof there is an answer above me :/

0

Thank you :)

0

Don't worry, I removed my answer as yours was more descriptive and actually gave code rather than just a wiki like mine.

This discussion is preserved as it was. New answers, comments, and votes are closed.