-- The name of the SubItem game object and the argument string in GetTransform("") must match. Subitem = vci.assets.GetTransform("Subitem") base = Quaternion.identity target = Quaternion.Euler(0, 90, 0) function update() local time = math.abs(math.sin((vci.me.FrameCount / 60))) local lerp = Quaternion.Lerp(base, target, time) Subitem.SetRotation(lerp) end