Carlisle teenager admits trying to rob youth of cash