Run it
Copy the script and paste it into your executor.
Players = :()
StarterGui = :()
UIS = :()
player = Players.LocalPlayer
(()
StarterGui:(.CoreGuiType.Backpack, )
)
MAX_SLOTS =
SlotLimit =
slots = {}
EquippedSlot =
KeepEquip =
SlotType =
LastEquippedTool =
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = player:()
toggleBtn = .(, gui)
toggleBtn.Size = .(, )
toggleBtn.Position = .(, )
toggleBtn.Text =
toggleBtn.BackgroundColor3 = .(,,)
toggleBtn.BackgroundTransparency =
.(, toggleBtn)
panel = .(, gui)
panel.Size = .(, )
panel.Position = .(, )
panel.BackgroundColor3 = .(,,)
panel.BackgroundTransparency =
panel.Visible =
.(, panel)
toggleBtn.MouseButton1Click:(()
panel.Visible = panel.Visible
)
layout = .(, panel)
layout.Padding = .(,)
title = .(, panel)
title.Size = .(, )
title.Text =
title.TextScaled =
title.BackgroundTransparency =
title.TextColor3 = .(,,)
limitRow = .(, panel)
limitRow.Size = .(, )
limitRow.BackgroundTransparency =
limitLabel = .(, limitRow)
limitLabel.Size = .(,)
limitLabel.Text =
limitLabel.TextScaled =
limitLabel.BackgroundTransparency =
limitLabel.TextXAlignment = .TextXAlignment.Left
limitLabel.TextColor3 = .(,,)
limitBox = .(, limitRow)
limitBox.Size = .(,)
limitBox.Position = .(,)
limitBox.Text = (SlotLimit)
limitBox.TextScaled =
limitBox.BackgroundColor3 = .(,,)
limitBox.TextColor3 = .(,,)
.(, limitBox)
reflectBtn = .(, limitRow)
reflectBtn.Size = .(,)
reflectBtn.Position = .(,)
reflectBtn.Text =
reflectBtn.TextScaled =
reflectBtn.BackgroundColor3 = .(,,)
reflectBtn.TextColor3 = .(,,)
.(, reflectBtn)
typeRow = .(, panel)
typeRow.Size = .(,)
typeRow.BackgroundTransparency =
typeLabel = .(, typeRow)
typeLabel.Size = .(,)
typeLabel.Text =
typeLabel.TextScaled =
typeLabel.BackgroundTransparency =
typeLabel.TextXAlignment = .TextXAlignment.Left
typeLabel.TextColor3 = .(,,)
typeBtn = .(, typeRow)
typeBtn.Size = .(,)
typeBtn.Position = .(,)
typeBtn.Text =
typeBtn.TextScaled =
typeBtn.BackgroundColor3 = .(,,)
typeBtn.TextColor3 = .(,,)
.(, typeBtn)
typeBtn.MouseButton1Click:(()
SlotType = (SlotType == )
typeBtn.Text = ..SlotType..
()
)
keepRow = .(, panel)
keepRow.Size = .(,)
keepRow.BackgroundTransparency =
keepLabel = .(, keepRow)
keepLabel.Size = .(,)
keepLabel.Text =
keepLabel.TextScaled =
keepLabel.BackgroundTransparency =
keepLabel.TextXAlignment = .TextXAlignment.Left
keepLabel.TextColor3 = .(,,)
keepBtn = .(, keepRow)
keepBtn.Size = .(,)
keepBtn.Position = .(,)
keepBtn.Text =
keepBtn.TextScaled =
keepBtn.BackgroundColor3 = .(,,)
keepBtn.TextColor3 = .(,,)
.(, keepBtn)
keepBtn.MouseButton1Click:(()
KeepEquip = KeepEquip
keepBtn.Text = KeepEquip
keepBtn.BackgroundColor3 = KeepEquip .(,,) .(,,)
LastEquippedTool =
)
slotBar = .(, gui)
slotBar.Size = .(,)
slotBar.Position = .(,)
slotBar.BackgroundTransparency =
barLayout = .(, slotBar)
barLayout.FillDirection = .FillDirection.Horizontal
barLayout.Padding = .(,)
(i)
tool = slots[i]
tool
EquippedSlot == i
tool.Parent == player.Character
tool.Parent = player.Backpack
EquippedSlot =
player.Character
_,t (player.Character:())
t:()
t.Parent = player.Backpack
tool.Parent = player.Character
EquippedSlot = i
()
slots = {}
backpack = player.Backpack
backpack
_,tool (backpack:())
tool:()
.(slots, tool)
()
_,c (slotBar:())
c:() c:()
i = , .(SlotLimit, #slots)
tool = slots[i]
btn = .(, slotBar)
btn.Size = .(,)
btn.Text = tool.Name
btn.TextScaled =
btn.BackgroundColor3 = .(,,)
btn.TextColor3 = .(,,)
.(, btn)
btn.MouseButton1Click:(()
(i)
)
reflectBtn.MouseButton1Click:(()
n = (limitBox.Text)
n
SlotLimit = .(.(n),,MAX_SLOTS)
limitBox.Text = (SlotLimit)
()
)
player.Backpack.ChildAdded:(()
()
()
)
player.Backpack.ChildRemoved:(()
()
()
)
player.CharacterAdded:(()
.()
()
()
LastEquippedTool =
)
.()
()
()
For friend

Universal