How would I make a tool that can not be unequipped AND it auto equips?

How would I wield a part to the players hand or, how can I make a tool always equipped and cant let you unequip them. I also want the backpack gui not to be visible. I have no clue how I could do this. Help?

If you do not understand what I mean, I want something like this

2 Likes

Disable backpack:

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

For the tool:

-- Assuming 'Tool' and 'Humanoid' are defined
Tool.Unequipped:Connect(function()
  Humanoid:EquipTool(Tool)
end)
5 Likes

This should help you: Tool | Roblox Creator Documentation. You could use the .CanBeDropped to make sure they can’t drop it. You can also turn off the tool GUI meaning they can’t unequip it like that. To equip it initially you can use the plr.Character.Humanoid:EquipTool(tool) function (Humanoid | Roblox Creator Documentation).

This topic also already exists: How do i make auto-equipping tools - #10 by SwedishLegend