A 17-year-old Waverly boy has pleaded no contest to attempted first-degree murder for stabbing a 15-year-old in a random attack at a Waverly park in 2022.