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?