Tweening Model But only primary part moving

I am Trying to make pet hatching system for my upcoming simulator game,Everthing works,But but I have a problem in the twenning model robloxapp-20201010-2101257.wmv (1.4 MB)

Script :

    local PetClone = Folder:FindFirstChild(Type):Clone()
	local EggClone = workspace.Eggs:FindFirstChild(script.Parent.Parent.CurrentTarget.Value).EggModel:Clone()
	local Rarity = Folder.Settings.Rarity.Value
	local RarityColor = RS.Pets.Rarities:FindFirstChild(Rarity).Color.Value
	local Camera = Instance.new("Camera", FrameClone)
	local tweenInfo = TweenInfo.new(.35, Enum.EasingStyle.Quad)
	local EggDelay = .075
	game.Lighting.Blur.Size = 26
	FrameClone.CurrentCamera = Camera
	FrameClone.Parent = Player.PlayerGui.EggPreview
	EggClone.Parent = FrameClone
	EggClone:SetPrimaryPartCFrame(CFrame.new(0,0,0) - Vector3.new(0,10,0))
	Camera.CFrame = (EggClone.PrimaryPart.CFrame + Vector3.new(0,10,0)):ToWorldSpace(CFrame.new(0,0,5.5))
	local bringEgg = TS:Create(EggClone.PrimaryPart, tweenInfo, {Position = EggClone.PrimaryPart.Position + Vector3.new(0,10,0)})
	bringEgg:Play()

HOPE I CAN FIXED IT

Any help is greatly appreciated

I recommend looking at this guide to tweening models.

1 Like

Yeah i’ve read that, but it doesn’t fix my problem.