Guest User

UD skript

a guest
Oct 11th, 2014
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. #===================#
  2. #=Under Dogs Skript=#
  3. #===================#
  4.  
  5. #=================================#
  6. #=By The one and only, Shell_Guy_=#
  7. #=================================#
  8.  
  9.  
  10. options:
  11. UD: &6[&eUnderDogs&6]&e
  12.  
  13. command /underdogs <text>:
  14. permission: skript.op
  15. aliases: /ud
  16. usage: /ud <on/off>
  17. trigger:
  18. if arg 1 is "off":
  19. {underdogs} is false:
  20. message "{@UD} is already off."
  21. {underdogs} is true:
  22. set {underdogs} to false
  23. broadcast "{@UD} is now off"
  24. remove swiftness from all players
  25. remove strength from all players
  26. if arg 1 is "on":
  27. {underdogs} is true:
  28. message "{@UD} is already on"
  29. {underdogs} is false:
  30. broadcast "{@UD} is now on"
  31. set {underdogs} to true
  32. execute console command "feature on DisableNether"
  33. on damage of player:
  34. {underdogs} is true:
  35. wait 3 ticks
  36. victim's health is less than 5.1:
  37. apply speed 1 to the victim for 999 days
  38. victim's health is less than 2.6:
  39. apply strength 1 to the victim for 999 days
  40. victim's health is less than 1.1:
  41. apply speed 2 to the victim for 999 days
  42. victim's health is less than 0.6:
  43. apply strength 2 to the victim for 999 days
  44. on heal:
  45. {underdogs} is true:
  46. wait 3 ticks
  47. player's health is less than 0.6:
  48. apply speed 2 to the player for 999 days
  49. apply strength 2 to the player for 999 days
  50. stop
  51. player's health is less than 1.1:
  52. apply speed 2 to the player for 999 days
  53. remove strength from the player
  54. apply strength 1 to the player for 999 days
  55. stop
  56. player's health is less than 2.6:
  57. remove speed from the player
  58. apply speed 1 to the player for 999 days
  59. remove strength from the player
  60. apply strength 1 to the player for 999 days
  61. stop
  62. player's health is less than 5.1:
  63. remove strength from the player
  64. remove speed from the player
  65. apply speed 1 to the player for 999 days
  66. stop
  67. player's health is more than 5:
  68. remove strength from player
  69. remove speed from player
  70. stop
  71. on consume of milk:
  72. {underdogs} is true:
  73. cancel event
  74. on death of player:
  75. {underdogs} is true:
  76. remove speed from victim
  77. remove strength from victim
Advertisement
Add Comment
Please, Sign In to add comment