local cube = vci.assets.GetSubItem("Cube") function update() if not cube.IsAttached then return end local attachedPlayer = cube.GetAttachedPlayer() print("attached to -> "..attachedPlayer) end