Guest User

CookieX v1.1

a guest
May 23rd, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. #Skrypt CookieX by uiuin#
  2. on consume of cookie:
  3. if name of event-item is "&2&lCookieX":
  4. if chance of 4%:
  5. apply instant health 1 to the player for 10 seconds
  6. if chance of 4%:
  7. apply regeneration 2 to the player for 10 seconds
  8. if chance of 4%:
  9. apply speed 2 to the player for 10 seconds
  10. if chance of 4%:
  11. apply fire resistance 2 to the player for 10 seconds
  12. if chance of 4%:
  13. apply poison 2 to the player for 10 seconds
  14. if chance of 4%:
  15. apply night vision 2 to the player for 10 seconds
  16. if chance of 4%:
  17. apply weakness 2 to the player for 10 seconds
  18. if chance of 4%:
  19. apply strength 2 to the player for 10 seconds
  20. if chance of 4%:
  21. apply slowness 2 to the player for 10 seconds
  22. if chance of 4%:
  23. apply instant damage 2 to the player for 10 seconds
  24. if chance of 4%:
  25. apply water breathing 2 to the player for 10 seconds
  26. if chance of 4%:
  27. apply invisibility 2 to the player for 10 seconds
  28. if chance of 4%:
  29. apply haste 2 to the player for 10 seconds
  30. if chance of 4%:
  31. apply mining fatigue 2 to the player for 10 seconds
  32. if chance of 4%:
  33. apply jump boost 2 to the player for 10 seconds
  34. if chance of 4%:
  35. apply nausea 2 to the player for 10 seconds
  36. if chance of 4%:
  37. apply resistance 2 to the player for 10 seconds
  38. if chance of 4%:
  39. apply blindness 2 to the player for 10 seconds
  40. if chance of 4%:
  41. apply hunger 2 to the player for 10 seconds
  42. if chance of 4%:
  43. apply wither 2 to the player for 10 seconds
  44. if chance of 4%:
  45. apply health boost 2 to the player for 10 seconds
  46. if chance of 4%:
  47. apply absorption 2 to the player for 10 seconds
  48. else if chance of 4%:
  49. apply saturation 2 to the player for 10 seconds
  50. #BreadX
  51. on consume of bread:
  52. if name of event-item is "&5&lBreadX":
  53. if chance of 10%:
  54. apply speed 1 to the player for 30 seconds
  55. else if chance of 1%:
  56. apply absorption 10 to the player for 30 seconds
  57. #CMD
  58. command /cookiex:
  59. trigger:
  60. wait 10 seconds
  61. send "&9&lSkrypt zrobiony 20.05.2014"
  62. wait 10 seconds
  63. send "&a&lTworca uiuin and Mentor(wiadomo)"
  64. wait 3 seconds
  65. send "&bCiastko X zostalo zrobione bo ktos chcial"
  66. wait 2 seconds
  67. send "&6&lWersja v1.1 and prace nad v1.2(na forum dopiero v1.3)"
  68. send "&6&lNowe jedzenie i pierwsza woda :)."
  69. #Crafting
  70. on script load:
  71. register new shaped recipe for 357 named "&2&lCookieX" using 296, 296, 296, 296, sugar, 296, 296, 296, 296
  72. register new shaped recipe for 297 named "&5&lBreadX" using 296, 296, 296, 296, 297, 296, 296, bone, 296
Advertisement
Add Comment
Please, Sign In to add comment