Ilom_uk

(Almost) Everything But Clean

Feb 1st, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. #(Almost) Everything But Clean - Original Skripting by Camaro6460 - Edited by Ilom
  2.  
  3. options:
  4. P: [&2EverythingButClean&r]
  5.  
  6. command /everythingbutclean [<text=toggle>]:
  7. aliases: /everyclean, /ebc
  8. permission: skript.op
  9. trigger:
  10. if arg-1 is "on" or "enable":
  11. set {everyclean} to true
  12. message "{@P} &aEverything But Clean &7has been &aenabled&7!"
  13. else if arg-1 is "off" or "disable":
  14. delete {everyclean}
  15. message "{@P} &aEverything But Clean &7has been &cdisabled&7!"
  16. else if arg-1 is "toggle":
  17. if {everyclean} is set:
  18. delete {everyclean}
  19. message "{@P} &aEverything But Clean &7has been &cdisabled&7!"
  20. else:
  21. set {everyclean} to true
  22. message "{@P} &aEverything But Clean &7has been &aenabled&7!"
  23. else:
  24. message "{@P} &a/everyclean &r<&aon&r:&coff&r:&7toggle&r>"
  25.  
  26. on break:
  27. {everyclean} is set
  28. if event-block is stone:
  29. chance of 50%
  30. set the event-block to air
  31. cancel event
  32. drop 1 stone brick at event-block
  33. player's tool is a pickaxe
  34. damage tool of player by 1
  35. if event-block is grass block:
  36. {everyclean} is set
  37. set the event-block to air
  38. cancel event
  39. drop 1 grass block at event-block
  40. player's tool is a shovel
  41. damage tool of player by 1
  42. if event-block is lapis lazuli ore:
  43. {everyclean} is set
  44. set the event-block to air
  45. cancel event
  46. drop 1 lapis lazuli ore at event-block
  47. player's tool is a pickaxe
  48. damage tool of player by 1
  49. if event-block is redstone ore:
  50. {everyclean} is set
  51. set the event-block to air
  52. cancel event
  53. drop 1 redstone ore at event-block
  54. player's tool is a pickaxe
  55. damage tool of player by 1
  56. if event-block is emerald ore:
  57. {everyclean} is set
  58. set the event-block to air
  59. cancel event
  60. drop 1 emerald ore at event-block
  61. player's tool is a pickaxe
  62. damage tool of player by 1
  63. if event-block is diamond ore:
  64. {everyclean} is set
  65. set the event-block to air
  66. cancel event
  67. drop 1 diamond ore at event-block
  68. player's tool is a pickaxe
  69. damage tool of player by 1
  70. if event-block is nether quartz ore:
  71. {everyclean} is set
  72. set the event-block to air
  73. cancel event
  74. drop 1 nether quartz ore at event-block
  75. player's tool is a pickaxe
  76. damage tool of player by 1
  77. if event-block is grass:
  78. {everyclean} is set
  79. chance of 15%
  80. set the event-block to air
  81. cancel event
  82. drop 1 wheat at event-block
  83.  
  84. on death:
  85. {everyclean} is set
  86. if victim is a spider:
  87. chance of 75%
  88. remove all spider eyes from the drops
  89. chance of 25%
  90. drop 1 fermented spider eye at victim
  91. if victim is a cave spider:
  92. chance of 75%
  93. remove all spider eyes from the drops
  94. chance of 25%
  95. drop 1 fermented spider eye at victim
  96. if victim is a skeleton:
  97. remove all bones from the drops
  98. drop 1 bone meal at victim
  99. if victim is a zombie:
  100. chance of 10%
  101. drop 1 carrot at victim
  102. if victim is an enderman:
  103. chance of 50%
  104. remove all ender pearls from the drops
  105. chance of 50%
  106. drop 1 eye of ender at victim
  107. if victim is a creeper:
  108. chance of 50%:
  109. remove all gunpowder from the drops
  110. chance of 50%
  111. drop 1 tnt at victim
  112. if victim is a chicken:
  113. chance of 15%
  114. remove all raw chicken from the drops
  115. if victim is a cow:
  116. chance of 15%
  117. remove all raw beef from the drops
  118. if victim is a pig:
  119. chance of 15%
  120. remove all raw pork from the drops
Advertisement
Add Comment
Please, Sign In to add comment