local petModel = pets:FindFirstChild(chosenPet.petName):Clone()
petModel:PivotTo(CFrame.new(0, 0, 0))
petModel.Parent = eggViewport
local cameraPet = Instance.new("Camera")
cameraPet.Parent = eggViewport
cameraPet.CFrame = CFrame.new(0,0, -3.3) * CFrame.Angles(0, math.rad(180), 0)
eggViewport.CurrentCamera = cameraPet
tweenService:Create(eggViewport, TweenInfo.new(0.7), {Size = UDim2.new(0.236, 0,0.494, 0)}):Play()
eggViewport.NameLabel.Text = chosenPet.petName
eggViewport.NameLabel.Visible = true
eggViewport.RarityLabel.Text = chosenPet.Rarity
eggViewport.RarityLabel.Visible = true
task.wait(1.5)
tweenService:Create(eggViewport, TweenInfo.new(0.3), {Size = UDim2.fromScale(0, 0)}):Play()
task.wait(0.3)
eggViewport.NameLabel.Visible = false
eggViewport.RarityLabel.Visible = false
for _, v in pairs(player:GetChildren()) do
if v:IsA("ScreenGui") or v ~= eggSystemSS then
v.Enabled = true
end
end
end

2 comments
the provides Parameters to the FindFirstChild are working, but the Pet Doesnt exist. try checking the petName , make sure you type it correctly
the provides Parameters to the FindFirstChild are working, but the Pet Doesnt exist. try checking the petName , make sure you type it correctly