Here is an example https://gyazo.com/36004da386e651f4f6307a8849cec175 I need it to go into my hotbar when I equip, and when I unequip it goes back into my inventory. This is the only relatable code I found in the script.
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false)
try
--localscript inside the tool tool = script.Parent tool.Equipped:Connect(function() game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,true) end) tool.UnEquipped:Connect(function() game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false) end)