Jump to content

razermuffinz

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by razermuffinz

  1. heres my script,

    on death:
     if victim is Zombie
     clear the drops
     chance of 50%
     set {_drop} to diamond named "&9Custom Drop"
     drop {_drop} at victim's location
     stop
     chance of 50%
     set {_amount} to random integer between 1 and 3
     set {_drop} to {_amount} of iron ingot named "&9Custom Drop"
     drop {_drop} at victim's location

    idk what i did wrong, but every mob drops 1 diamond every time its killed, anyone got ideas on how to fix this?

    update: the error says it cant identify the victim "Zombie"

×
×
  • Create New...