Egg animation going back to place

How can I make the animation not go back to it’s last positio? like not go back to normal.

local RunService = game:GetService('RunService')
local cameraOffset =, 0, -4.5) * CFrame.Angles(0, math.rad(180), 0)
local Egg = game.ReplicatedStorage.Egg:Clone() --or wherever else you put it
local pos ="CFrameValue")
Egg.Parent = workspace
newOffset = cameraOffset +, 0, 0)
	Egg:SetPrimaryPartCFrame(workspace.Camera.CFrame * newOffset * pos.Value) -- you NEED to have the model with the RootPart as the PrimaryPart
local TweenService = game:GetService("TweenService")
local goal = {}
goal.CFrame = Egg.Egg.CFrame * CFrame.fromOrientation(0, 0, math.random(-1,1))
local tweenInfo =
local tween = TweenService:Create(Egg.Egg, tweenInfo, goal)


Tween your pos CFrameValue instead of the egg directly? What’s happening is the egg’s CFrame gets overriden once the tween finishes playing on the egg object due to your RenderStepped event, I think. Tweening a CFrameValue to use as an offset applied to the code within your RenderStepped event would always remain the same.