Using clips from the animated series, the Dr. Doof character sings to Perry the Platypus in a cleverly silly mash-up music video set to the pop star's hit, "I Knew You Were Trouble."
The video premieres Friday at 8 p.m. ET on the "Gravity Falls" episode.
We're told the song is a great fit for the relationship between the two characters, as Perry always finds a way to thwart Dr. Doof's evil plans.
Following the video's debut, it will be available on the Disney Channel website.