An ancient prophecy foretells that the Moon Juju, the kind protector of the Pupanunu people, would be weakened by the evil Tlaloc, an embittered Pupanunu shaman, so he could turn the Pupanunu people into sheep as revenge for not being made high shaman in favor of another shaman, Jibolba. The prophecy also mentions a great and mighty warrior who would restore the Moon Juju, defeat Tlaloc, and bring peace to the Pupanunu people.
Having escaped Tlaloc’s spell, Jibolba believes his apprentice Lok to be the warrior of the prophecy and prepares to send him off; however, it appears that Lok has been turned into a sheep. Jibolba sends his younger apprentice, Tak (voiced by Jason Marsden), to find magical plants and change him back, though it turns out not to be Lok. Jibolba tells Tak to obtain the Spirit Rattle, which allows the wielder to communicate with powerful Juju spirits to assist him, while he finds Lok.
Tak returns with the Rattle to find that Lok has been trampled to death by a herd of sheep. Jibolba has Tak collect 100 magic Yorbels and Lok’s spirit from the spirit world, allowing him to successfully resurrect Lok. An unfortunate side-effect of the resurrection, however, is a severe case of diarrhea. Tak obtains the Moon Stones instead while Lok recovers, restoring the Moon Juju to full strength.
The Moon Juju reveals that the warrior of the prophecy is not Lok, but Tak, as he has already fulfilled almost everything the prophecy predicted. Using his arsenal of Juju spells, Tak defeats Tlaloc and turns him into a sheep, finally fulfilling the prophecy.