Smoothen rotate egg script

for i = 1,10 do
        rotate(15, EggDelay)
        wait(EggDelay)
        rotate(-15, EggDelay)
        wait(EggDelay)
        EggDelay = EggDelay - .05
    end


 local function rotate(Rot, De)
        --// Making a table so you can add your own stuff such as making the egg bigger as you open!
        local goal = {}
        goal.Value = CFrame.fromOrientation(0,0, math.rad(Rot))

        local tweenInfo = TweenInfo.new(De)

        local tween = TweenService:Create(ChangeTweenPos, tweenInfo, goal)
        
        tween:Play()
        
        wait(De)
    end

My rotate tween is so sketchy. How can I improve it?

1 Like

I don’t think anyone can help you without knowing the values of your tween.

Can’t you just tween it slower?

1 Like

its a cframe value. Sorry for not telling.

you should destroy the tween after it completes.