I'm trying to make it so all tools the player has are taken from the player and they are given the clone of the tool I want to give them, except it isn't giving them the tool.
local tool = game.ServerStorage.Tools["Spool"]
script.Parent.Triggered:Connect(function(player)
local t = tool:Clone()
local hum = player.Character:FindFirstChild("Humanoid")
player:WaitForChild("Backpack"):ClearAllChildren()
wait(0.5)
hum:EquipTool(t)
end)
