Paramount Pictures has bought “The Legendary McClouds,” a family-adventure spec script from Joe Ballarini, for Nickelodeon and Tollin/Robbins to produce.

The story, set in 1904, follows a family of adventurers as they journey across the globe in search of their lost father and a treasure.

Deal is the second successful spec transaction for Ballarini, who sold “The Spy Next Door” to Dimension Films for $600,000 against $1 million. “Spy,” centered on a frustrated suburban accountant who teams with his neighborhood spy, will be produced by Mutual Film Group’s Jennifer Klein and producer Mike Karz.

Ballarini, who graduated three years ago from USC, is repped by ICM and managed by Foursight Management.