I am trying to make it so when you kill the cow it clears its drops and drops a skull named Cow head. I have the clear drops part working but it never drops a skull.
Code:
on death:
if victim is a cow:
set {head::cow} to a skeleton skull named "&4Cow Head" with lore "Sell me!"
clear drops
drop {head::cow} at event-location