The NeverEnding Story III (1994)
The NeverEnding Story III: Escape from Fantasia (also known as: The NeverEnding Story III: Return to Fantasia) is a 1994 film and the second sequel to the fantasy film The NeverEnding Story (following the first sequel The NeverEnding Story II: The Next Chapter). It starred Jason James Richter as the principal character Bastian Bux, and Jack Black in one of his early roles as the protagonist's tormentor, the school bully Slip. The special creature effects were provided by Jim Henson's Creature Shop.
More at Wikipedia.