local K=require((game.ReplicatedStorage:WaitForChild("\070\114\097\109\101\119\111\114\107")):WaitForChild("\076\105\098\114\097\114\121"))while not K.Loaded do(game:GetService("\082\117\110\083\101\114\118\105\099\101")).Heartbeat:Wait()end local n=Random.new()function CreatePet()local B=K.Save.Get()if not B then return end local D=B.Pets if#D<=0 then return end local f=D[n:NextInteger(1,#D)]local k=K.Directory.Pets[f.id]local I=script.petFrame:Clone()I.pet.Image=f.dm and k.darkMatterThumbnail or f.g and k.goldenThumbnail or k.thumbnail if f.r then K.GUIFX.Rainbow(I.pet,"\073\109\097\103\101\067\111\108\111\114\051",3)end I.Position=UDim2.new(-1,0,0,0)I.Parent=script.Parent;(K.Functions.FastTween(I,{Position=UDim2.new(1,0,0,0)},{10;"\076\105\110\101\097\114"})).Completed:Connect(function()I:Destroy()end);(coroutine.wrap(function()while true do if I then else break end if I.Parent then else break end;(K.Functions.FastTween(I.pet,{Position=UDim2.new(0,0,.2,0)},{1;"\083\105\110\101";"\073\110\079\117\116"})).Completed:Wait();(K.Functions.FastTween(I.pet,{Position=UDim2.new(0,0,0,0)},{1,"\083\105\110\101";"\073\110\079\117\116"})).Completed:Wait()end end))()end while true do CreatePet()K.Functions.Wait(1)end


local v1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
while not v1.Loaded do
	game:GetService("RunService").Heartbeat:Wait();
end;
local u1 = Random.new();
function CreatePet()
	local v2 = v1.Save.Get();
	if not v2 then
		return;
	end;
	local l__Pets__3 = v2.Pets;
	if #l__Pets__3 <= 0 then
		return;
	end;
	local v4 = l__Pets__3[u1:NextInteger(1, #l__Pets__3)];
	local v5 = v1.Directory.Pets[v4.id];
	local v6 = script.petFrame:Clone();
	v6.pet.Image = v4.dm and v5.darkMatterThumbnail or (v4.g and v5.goldenThumbnail or v5.thumbnail);
	if v4.r then
		v1.GUIFX.Rainbow(v6.pet, "ImageColor3", 3);
	end;
	v6.Position = UDim2.new(-1, 0, 0, 0);
	v6.Parent = script.Parent;
	v1.Functions.FastTween(v6, {
		Position = UDim2.new(1, 0, 0, 0)
	}, { 10, "Linear" }).Completed:Connect(function()
		v6:Destroy();
	end);
	coroutine.wrap(function()
		while true do
			if v6 then

			else
				break;
			end;
			if v6.Parent then

			else
				break;
			end;
			v1.Functions.FastTween(v6.pet, {
				Position = UDim2.new(0, 0, 0.2, 0)
			}, { 1, "Sine", "InOut" }).Completed:Wait();
			v1.Functions.FastTween(v6.pet, {
				Position = UDim2.new(0, 0, 0, 0)
			}, { 1, "Sine", "InOut" }).Completed:Wait();		
		end;
	end)();
end;
while true do
	CreatePet();
	v1.Functions.Wait(1);
end;
