Yes, Israel and its military are ordered to 'prevent' killing Palestinians in Gaza.
End of story.
The Court indicates provisional measures
In its Order, which has binding effect, the Court indicates the following provisional measures:
“(1) By fifteen votes to two,
The State of Israel shall, in accordance with its obligations under the Convention on the Prevention and Punishment of the Crime of Genocide, in relation to Palestinians in Gaza, take all measures within its power to prevent the commission of all acts within the scope of Article II of this Convention, in particular:
(a) killing members of the group;
(b) causing serious bodily or mental harm to members of the group;
(c) deliberately inflicting on the group conditions of life calculated to bring about its physical destruction in whole or in part; and