Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. #WHEN YOU ENABLE THIS SKRIPT, IT WILL TAKE 5 MINUTES TO START
  2.  
  3. variables:
  4. {heavymetal} = false
  5. {heavymetal.%player%} = 0
  6.  
  7. command /heavymetal [<status>]
  8. description: enables or disables heavymetal skript
  9. usage: /heavymetal <text>
  10. permission: host
  11. trigger:
  12. if arg 1 is "enable":
  13. {heavymetal} is false:
  14. set {heavymetal} to true
  15. message %player% "Heavy Metal has been enabled."
  16. wait 5 minutes
  17. broadcast "Heavy Metal is now active"
  18. stop
  19. else:
  20. message "Heavy Metal has already been enabled."
  21. stop
  22. if arg 1 is "disable":
  23. {heavymetal} is true:
  24. set {heavymetal} to true
  25. message "Heavy Metal has been disabled."
  26. stop
  27. else:
  28. message "Heavy Metal has already been disabled."
  29. stop
  30. if arg 1 is "toggle":
  31. {heavymetal} is false:
  32. set {heavymetal} to true
  33. message %player% "Heavy Metal has been enabled."
  34. wait %arg 2% minutes
  35. broadcast "Heavy Metal is now active"
  36. stop
  37. else:
  38. set {heavymetal} to false
  39. message %player% "Heavy Metal has been disabled."
  40. stop
  41. if arg1 is "help":
  42. message "/heavymetal <enable:disable:toggle:help>"
  43. stop
  44. arg 1 is not set:
  45. execute command "/heavymetal <help>"
  46. every second:
  47. player is wearing chestplate:
  48. add 1 to {heavymetal.%player%}
  49. player is wearing helmet:
  50. add 1 to {heavymetal.%player%}
  51. player is wearing leggings:
  52. add 1 to {heavymetal.%player%}
  53. player is wearing shoes:
  54. add 1 to {heavymetal.%player%}
  55. player is wearing leather helmet:
  56. add 1 to {heavymetal.%player%}
  57. player is wearing leather chestplate:
  58. add 1 to {heavymetal.%player%}
  59. player is wearing leather leggings:
  60. add 1 to {heavymetal.%player%}
  61. player is wearing leather leggins:
  62. add 1 to {heavymetal.%player%}
  63. player is wearing leather boots:
  64. add 1 to {heavymetal.%player%}
  65. player is wearing diamond helmet:
  66. add 5 to {heavymetal.%player%}
  67. player is wearing diamond chestplate:
  68. add 5 to {heavymetal.%player%}
  69. player is wearing diamond leggings:
  70. add 5 to {heavymetal.%player%}
  71. player is wearing diamond boots:
  72. add 5 to {heavymetal.%player%}
  73. {heavymetal.%player%} = 1:
  74. apply swiftness 1 to the player for 2 seconds
  75. {heavymetal.%player%} is 2:
  76. apply swiftness 2 to the player for 2 seconds
  77. {heavymetal.%player%} is 3:
  78. apply swiftness 3 to the player for 2 seconds
  79. {heavymetal.%player%} is 4:
  80. apply swiftness 4 to the player for 2 seconds
  81. {heavymetal.%player%} is 3
  82. apply slowness 2 to the player for 2 seconds
  83. size of {heavymetal.%player%} is 20:
  84. apply slowness 4 to the player or 2 seconds
  85. set {heavymetal.%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement