Sinon tu met une clock avec un command block et /kill @e[type=Slime] Ou /kill @e[type=slime] C'est un des deux