Guest User

Untitled

a guest
Apr 20th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1. on damage:
  2. {nofalldamage} is true
  3. damage was caused by fall
  4. cancel the event
  5. command /superspeed <player>:
  6. permission: skript.superheroes
  7. trigger:
  8. make player execute command "/effect %arg 1% speed 1000000 1"
  9. broadcast "&1[&4Super Heroes&1] &4The power of &bSPEED &4was granted to %arg 1%"
  10. command /superstrength <player>:
  11. permission: skript.superheroes
  12. trigger:
  13. make player execute command "/effect %arg 1% increase_damage 1000000"
  14. broadcast "&1[&4Super Heroes&1] &4The power of &cSTRENGTH &4was granted to %arg 1%"
  15. command /superhealth <player>:
  16. permission: skript.superheroes
  17. trigger:
  18. make player execute command "/effect %arg 1% health_boost 1000000 2"
  19. broadcast "&1[&4Super Heroes&1] &4The power of &dEXTRA HEALTH &4was granted to %arg 1%"
  20. command /superjump <player>:
  21. permission: skript.superheroes
  22. trigger:
  23. make player execute command "/effect %arg 1% jump 1000000 4"
  24. broadcast "&1[&4Super Heroes&1] &4The power of &aJump Boost &4was granted to %arg 1%"
  25. command /superinvis <player>:
  26. permission: skript.superheroes
  27. trigger:
  28. make player execute command "/effect %arg 1% invisibility 1000000"
  29. broadcast "&1[&4Super Heroes&1] &4The power of &fINVISIBILITY &4was granted to %arg 1%"
  30. command /superres <player>:
  31. permission: skript.superheroes
  32. trigger:
  33. make player execute command "/effect %arg 1% damage_resistance 1000000 1"
  34. broadcast "&1[&4Super Heroes&1] &4The power of &8RESISTANCE &4was granted to %arg 1%"
  35. command /enablesuperheroes:
  36. permission: skript.superheroes
  37. trigger:
  38. broadcast "&1[&4Super Heroes&1] &4Super Heroes is creating teams and disabling no fall damage"
  39. set {nofalldamage} to true
  40. make player execute command "/createteam"
  41. wait 1 second
  42. make player execute command "/scoreboard teams option UHC0 color dark_red"
  43. make player execute command "/createteam"
  44. wait 1 second
  45. make player execute command "/scoreboard teams option UHC1 color gold"
  46. make player execute command "/createteam"
  47. wait 1 second
  48. make player execute command "/scoreboard teams option UHC2 color dark_blue"
  49. make player execute command "/createteam"
  50. wait 1 second
  51. make player execute command "/scoreboard teams option UHC3 color dark_green"
  52. make player execute command "/createteam"
  53. wait 1 second
  54. make player execute command "/scoreboard teams option UHC4 color dark_purple"
  55. make player execute command "/createteam"
  56. wait 1 second
  57. make player execute command "/scoreboard teams option UHC5 color yellow"
  58. command /disablesuperheroes:
  59. permission: skript.superheroes
  60. trigger:
  61. broadcast "&1[&4Super Heroes&1] &4Super Heroes is removing teams and enabling fall damage"
  62. set {nofalldamage} to false
  63. make player execute command "/scoreboard teams remove UHC0"
  64. make player execute command "/scoreboard teams remove UHC1"
  65. make player execute command "/scoreboard teams remove UHC2"
  66. make player execute command "/scoreboard teams remove UHC3"
  67. make player execute command "/scoreboard teams remove UHC4"
  68. make player execute command "/scoreboard teams remove UHC5"
  69. command /superteams:
  70. permission: skript.superheroes
  71. trigger:
  72. broadcast "&1[&4Super Heroes&1] &4Super Heroes is randomizing the teams"
  73. make player execute command "/randomteams 6"
  74. command /superfreeze:
  75. permission: skript.freeze
  76. trigger:
  77. loop all players:
  78. make player execute command "/effect %loop-players% 2 1000000 5"
  79. make player execute command "/effect %loop-players% blindness 1000000 5"
  80. make player execute command "/effect %loop-players% regeneration 1000000 5"
  81. make player execute command "/effect %loop-players% 4 1000000 5"
  82. broadcast "&1[&4Super Heroes&1] &7Freezing is &2ENABLED"
  83. command /superunfreeze:
  84. permission: skript.freeze
  85. trigger:
  86. loop all players:
  87. make player execute command "/effect %loop-players% clear"
  88. broadcast "&1[&4Super Heroes&1] &7Freezing is &4Disabled"
Advertisement
Add Comment
Please, Sign In to add comment