I know you must be thinking(except for you duck experts out there): wait, why is bread the bad thing? Well, I learned a while back that bread is BAD for ducks, cuz it messes with their digestive system. It can also be fatal for swans, who might pick up pieces left over.
some of the gravity code made with the help of @ra7645