i am trying to get all the tools in player backpack
script.Parent.Touched:Connect(function(hit) local humanoid = hit.Parent:FindFirstChild("Humanoid") local plr = game.Players.LocalPlayer if (humanoid ~= nil) then for d,tools in pairs(plr.Backpack:GetChildren()) do local i = Instance.new("TextLabel") local find = plr.PlayerGui:FindFirstChild("pack") i.Parent = find.Back if tools:IsA("Tool") then i.Text = tools.Name print(tools.Name) break end end end end)