All the children were students at William Floyd Middle School and got the gummies from a classmate, officials said.