-- Function to get all tools in the game local function findAllTools() local tools = {} -- Table to store all tools -- Loop through all descendants in the game (workspace, ReplicatedStorage, etc.) for _, item in pairs(game:GetDescendants()) do -- Check if the item is a Tool if item:IsA("Tool") then -- If it's a Tool, insert it into the tools table table.insert(tools, item) print("Found tool: " .. item.Name) -- Print the name of the tool to the output end end return tools -- Return the list of tools end -- Call the function and store the result local allTools = findAllTools() -- Output the total number of tools found print("Total tools found: " .. #allTools) -- Example of giving all tools to the first player (if there's one) local player = game.Players:GetPlayers()[1] -- Get the first player in the game if player then -- Move each tool to the player's backpack for _, tool in pairs(allTools) do tool.Parent = player.Backpack print("Gave tool: " .. tool.Name .. " to player.") end else print("No players found.") end