The Goonies
(1985)

The Goonies find One Eyed Willie's ship and the treasure.  Although the Fratelli's attempt to take all the loot from the kids, they fail to check Mikey's (Sean Astin) marble bag which is full of gems, which is enough to save everyone's homes.  The Fratelli's are arrested and Sloth (John Matuszak) goes to live with Chunk (Jeff Cohen).  One Eyed Willie's ship sails off into the sunset.

Thanks Drummer Brian