local G=game.Players.LocalPlayer:WaitForChild("\080\101\116\115")local E=script.Parent.Background E.MouseButton1Click:Connect(function()local G=script.Parent.Parent.Parent.DefaultButtonColor.Value local x=script.Parent.Parent.Parent.Parent.SideFrame if x.MassDelete.Value~=false then if script.Parent.MassDeleteIndicator.Visible==false then script.Parent.MassDeleteIndicator.Visible=true script.Parent.Background.BackgroundColor3=script.Parent.Parent.Parent.MassDeleteButtonColor.Value return else script.Parent.MassDeleteIndicator.Visible=false script.Parent.Background.BackgroundColor3=G return end end for E,x in pairs(script.Parent.Parent:GetChildren())do if x:IsA("\070\114\097\109\101")then x.Background.BackgroundColor3=G end end E.BackgroundColor3=script.Parent.Parent.Parent.SelectButtonColor.Value x.PetID.Value=script.Parent.PetID.Value end)


local l__Pets__1 = game.Players.LocalPlayer:WaitForChild("Pets");
local l__Background__2 = script.Parent.Background;
l__Background__2.MouseButton1Click:Connect(function()
	local l__Value__3 = script.Parent.Parent.Parent.DefaultButtonColor.Value;
	local l__SideFrame__4 = script.Parent.Parent.Parent.Parent.SideFrame;
	if l__SideFrame__4.MassDelete.Value ~= false then
		if script.Parent.MassDeleteIndicator.Visible == false then
			script.Parent.MassDeleteIndicator.Visible = true;
			script.Parent.Background.BackgroundColor3 = script.Parent.Parent.Parent.MassDeleteButtonColor.Value;
			return;
		else
			script.Parent.MassDeleteIndicator.Visible = false;
			script.Parent.Background.BackgroundColor3 = l__Value__3;
			return;
		end;
	end;
	for v5, v6 in pairs(script.Parent.Parent:GetChildren()) do
		if v6:IsA("Frame") then
			v6.Background.BackgroundColor3 = l__Value__3;
		end;
	end;
	l__Background__2.BackgroundColor3 = script.Parent.Parent.Parent.SelectButtonColor.Value;
	l__SideFrame__4.PetID.Value = script.Parent.PetID.Value;
end);
