local Subitem = vci.assets.GetTransform("Subitem") local Subitem2 = vci.assets.GetTransform("Subitem2") function updateAll() -- time [0,2] local time = math.sin(os.time()) + 1 local rotate = Quaternion.identity Subitem.SetRotation(Quaternion.LerpUnclamped(rotate, Subitem2.GetRotation(), time)); end