click.MouseClick:connect(function(d)if ready==true then ready=false click.MaxActivationDistance=0 coverdown()menuappear()local u=tool:clone()local x=handle:clone()u.Parent=sp.Temporary x.Parent=sp.Temporary x.CFrame=CFrame.new(Vector3.new(x.Position.X,x.Position.Y+1,x.Position.Z))for N,K in pairs(maingui:GetChildren())do if K:IsA("\084\101\120\116\066\117\116\116\111\110")then K.MouseButton1Down:connect(function()menudisappear()u.Name=K.Name for N,l in pairs(maingui:GetChildren())do if l:IsA("\070\114\097\109\101")and l.Name==K.Name then for N,K in pairs(l:GetChildren())do if K:IsA("\084\101\120\116\066\117\116\116\111\110")then K.Visible=true K.MouseButton1Down:connect(function()u.ToolTip=K.Name x.Parent=u x.Anchored=false u.Cup.Disabled=false u.Parent=d.Backpack coverup()for d,u in pairs(K.Parent:GetChildren())do if u:IsA("\084\101\120\116\066\117\116\116\111\110")then u.Visible=false end end click.MaxActivationDistance=10 wait(5)ready=true script.Fixer.Disabled=false end)end end end end end)end end end end)
--function of all111
click.MouseClick:connect(function(player)
	if ready == true then
		ready = false
		click.MaxActivationDistance = 0
		coverdown()
		menuappear()
		local newtool = tool:clone()
		local newhandle = handle:clone()
		newtool.Parent = sp.Temporary
		newhandle.Parent = sp.Temporary
		newhandle.CFrame = CFrame.new(Vector3.new(newhandle.Position.X, newhandle.Position.Y + 1, newhandle.Position.Z))

		for _, one in pairs(maingui:GetChildren()) do
			if one:IsA("TextButton") then
				one.MouseButton1Down:connect(function()
					menudisappear()
					newtool.Name = one.Name
					for _, frame in pairs(maingui:GetChildren()) do
						if frame:IsA("Frame") and frame.Name == one.Name then --lol this whole part though
							for _, button in pairs(frame:GetChildren()) do
								if button:IsA("TextButton") then
									button.Visible = true
									button.MouseButton1Down:connect(function()
										newtool.ToolTip = button.Name
										newhandle.Parent = newtool
										newhandle.Anchored = false
										newtool.Cup.Disabled = false
										newtool.Parent = player.Backpack
										coverup()
										for _, v in pairs(button.Parent:GetChildren()) do
											if v:IsA("TextButton") then
												v.Visible = false
											end
										end
										click.MaxActivationDistance = 10
										wait(5)
										ready = true
										script.Fixer.Disabled = false
									end)
								end
							end
						end
					end
				end)
			end
		end
	end
end)
