Advertisement
mrkeith782

Untitled

Apr 16th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. on damage:
  2. victim is in world "World"
  3. victim is sheep:
  4. {pinata1} is true:
  5. cancel the event
  6. damage the victim by 0.25 hearts
  7. chance of 50%:
  8. drop a diamond block at the victim
  9. chance of 20%:
  10. drop an emerald block at the victim
  11. chance of 20%:
  12. drop an iron ingot at the victim
  13. chance of 10%:
  14. drop a diamond at the victim
  15. chance of 5%:
  16. drop a diamond sword of sharpness 2 at the victim
  17. chance of 5%:
  18. drop a diamond pick of efficiency 2 at the victim
  19. chance of 10%:
  20. drop steak at the victim
  21. chance of 0.1%:
  22. drop a diamond pick of efficiency 5, fortune 3, unbreaking 3 at the victim
  23. command /pinata:
  24. permission: dp.epic
  25. trigger:
  26. set {pinata} to true
  27. spawn 1 sheep
  28. set {pinata} to false
  29. broadcast "<red><italic>ThePrisonServer <reset><gray>> <red>Pinata? Yeah! Pinatas! Goto /spawn for the pinata!"
  30. give 2 leads to player
  31. on spawn of a sheep:
  32. {pinata} is true:
  33. apply regeneration 1 to entity for 999 days
  34. apply slowness 7 to entity for 999 days
  35. set the entity's display name to "<green>P<lime>i<yellow>n<orange>a<red>t<purple>a"
  36. set {pinata1} to true
  37. on death of a sheep:
  38. {pinata1} is not true:
  39. stop trigger
  40. world is not "World":
  41. stop trigger
  42. set {pinata1} to false
  43. set {_temp} to location 3 blocks above victim
  44. drop 3 raw beef at the victim
  45. loop 500 times:
  46. wait 0.05 seconds
  47. chance of 2%:
  48. drop a diamond block at {_temp}
  49. chance of 1%:
  50. drop an emerald block at {_temp}
  51. chance of 20%:
  52. drop an iron ingot at {_temp}
  53. chance of 10%:
  54. drop a diamond at {_temp}
  55. chance of 0.1%:
  56. drop a diamond sword of sharpness 2 at {_temp}
  57. chance of 0.1%:
  58. drop a diamond pick of efficiency 2 at {_temp}
  59. chance of 0.05%:
  60. drop a diamond pick of efficiency 5, fortune 3, unbreaking 3 at {_temp}
  61. chance of 0.05%:
  62. drop a diamond sword of sharpness 3, flame 1, unbreaking 1 at {_temp}
  63. chance of 1%:
  64. drop wool at {_temp}
  65. chance of 0.0001%:
  66. drop gold nugget named "<yellow><bold>BANANA" at {_temp}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement