ArtzifyHD

Mob Money

Aug 6th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. on death:
  2. if attacker is a player:
  3. if attacker's tool is any sword or any axe or any bow:
  4. if victim is a chicken or cow or pig or rabbit or sheep or wolf:
  5. if player has permission "mobcash.amount.double":
  6. set {_mobcash.amount} to random number between 25 and 45
  7. add {_mobcash.amount} to attacker's balance
  8. else:
  9. set {_mobcash.amount} to random number between 0.50 and 2
  10. add {_mobcash.amount} to attacker's balance
  11.  
  12. if victim is a zombie pigman or cave spider or enderman:
  13. if player has permission "mobcash.amount.double":
  14. set {_mobcash.amount} to random number between 25 and 45
  15. add {_mobcash.amount} to attacker's balance
  16. else:
  17. set {_mobcash.amount} to random number between 0.50 and 4
  18. add {_mobcash.amount} to attacker's balance
  19.  
  20. if victim is a zombie or skeleton or creeper or slime:
  21. if player has permission "mobcash.amount.double":
  22. set {_mobcash.amount} to random number between 25 and 45
  23. add {_mobcash.amount} to attacker's balance
  24. else:
  25. set {_mobcash.amount} to random number between 0.50 and 3
  26. add {_mobcash.amount} to attacker's balance
  27.  
  28. if victim is a powered creeper or blaze or ghast:
  29. if player has permission "mobcash.amount.double":
  30. set {_mobcash.amount} to random number between 25 and 45
  31. add {_mobcash.amount} to attacker's balance
  32. else:
  33. set {_mobcash.amount} to random number between 0.50 and 5
  34. add {_mobcash.amount} to attacker's balance
  35.  
  36. if victim is a stray or creature:
  37. if player has permission "mobcash.amount.double":
  38. set {_mobcash.amount} to random number between 25 and 45
  39. add {_mobcash.amount} to attacker's balance
  40. else:
  41. set {_mobcash.amount} to random number between 0.50 and 2
  42. add {_mobcash.amount} to attacker's balance
Add Comment
Please, Sign In to add comment