Can't delete a tool I accidentally added

I accidently added a tool to my game and I don’t know how to delete it, can anyone help me with this, please?

2 Likes

If you right-click the tool, there will be an option to “Delete”. Click that.

Crl - z is go back a step function

Just click on the tool and click backspace.

Screen Shot 2021-04-11 at 2.49.08 PM
the tools are in starterpack, you can delete it from there.

This script is really complicated but useful to find your tools easily if they are out of StarterPack.

Put this script in ServerScriptService and try it in-game.

local LostTools = {}

for i, tool in pairs (game:GetDescendants()) do
    if tool:IsA("Tool") then
	    table.insert(LostTools, tool)
    end

    for _, variables in ipairs(LostTools) do		
	    local list2 = {}	
	
  	    local function GetAncestors(Object)
		
		    local parent = Object.Parent
		    local list3 = {}

		    while (parent) do
			    list3[#list3 + 1] = parent			
			    parent = parent.Parent
			    table.insert(list2, list3)
		    end
		
		    return list3
	    end
	
	    GetAncestors(variables)
	
	    for i, ancestors in ipairs(list2) do
		    print(ancestors)
		    break
	    end 
    end
end

It prints the first number for the first parent, the second number for the second parent and their number following it.

This function helps you get all of the ancestors of the tool. There is no global function called GetAncestors like GetDescendants. So I had to define a local function myself.

2 Likes