-- Virtual Cast 1.5.1a local cube = vci.assets.GetTransform("Cube") --Insert the name of the SubItem as a string local basePosition = cube.GetLocalPosition() --The initial position of the Cube local speed = 0.1 --speed local range = 0.1 --move range function updateAll() -- Virtual Cast 1.5.1a Called in all users regardless of the ownership if cube.IsMine then -- Virtual Cast 1.5.1a. The owner takes the responsibility to move the object local addPosition = Vector3.__new(0,math.sin(vci.me.FrameCount * speed * range),0) --The position to add cube.SetLocalPosition(basePosition + addPosition) end end