Troopers said the man admitted to having sex with one of the students but denied sending messages to the other one.