In the film, Stanley Yelnats IV (LaBeouf) is sent to Camp Green Lake, a juvenile detention camp in Texas, after being wrongfully convicted of theft. The camp forces inmates to dig holes in a dried lake bed under the command of the cruel Warden Walker (Weaver), who is secretly searching for the buried treasure of outlaw Katherine "Kissin' Kate" Barlow (Arquette).