Are you thinking of Caddy Shack? A Bill Murray film. It was a Baby Ruth in the pool. (-: https://www.bing.com/videos/search?q=caddy+shack+swimming+pool+candy+bar&view=detail&mid=A6F51A20140E4B7B8FBBA6F51A20140E4B7B8FBB&FORM=VIRE