Guest User

Untitled

a guest
Mar 17th, 2014
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. on player respawn:
  2. equip the player with zombie head
  3. {zombies::*} contains player:
  4. wait 1 second
  5. broadcast "<black>----------------------------------------"
  6. broadcast "<cyan><bold>%player% <red>has respawned as a <green><bold>zombie!"
  7. broadcast "<black>----------------------------------------"
  8. else:
  9. add player to {zombies::*}
  10. wait 1 second
  11. broadcast "<black>----------------------------------------"
  12. broadcast "<cyan><bold>%player% <red>has become a <green><bold>zombie!"
  13. broadcast "<black>----------------------------------------"
  14. wait 1 second
  15. execute console command "scatter RandomSquare no 700 world:0,0 %player%"
  16. message "<red>You are now a <green>zombie."
  17. execute console command "/effect %player% clear"
  18. apply weakness 3 to the player for 99 days
  19. apply saturation 10 to the player for 99 days
  20. apply resistance 3 to the player for 99 days
  21. wait 3 seconds
  22. equip the player with all leather armour
  23. dye the player's helmet dark green
  24. dye the player's shoes dark blue
  25. dye the player's leggings dark blue
  26. dye the player's chestplate light cyan
  27. equip the player with zombie head
  28. remove wither from the player
  29. heal the player
  30. wait 10 seconds
  31. heal the player
  32. remove wither from the player
  33.  
  34. on mine of wood:
  35. {zombies::*} contains player:
  36. cancel the event
  37. message "<bold>You are a <green><bold>zombie. <white>You are not allowed to break wood."
  38. on break of plank:
  39. {zombies::*} contains player:
  40. cancel the event
  41. message "<bold>You are a <green><bold>zombie. <white>You are not allowed to break wood."
  42. on craft of pick:
  43. {zombies::*} contains player:
  44. cancel the event
  45. message "<bold>You are a <green><bold>zombie. <white>You are not allowed to make picks."
  46. on mine of ore:
  47. {zombies::*} contains player:
  48. cancel the event
  49. message "<bold>You are a <green><bold>zombie. <white>You cannot mine ores."
  50. on break of dirt:
  51. {zombies::*} contains player:
  52. cancel the event
  53. message "<bold>You are a <green><bold>zombie. <white>You are not allowed to break dirt."
  54. on break of grass:
  55. {zombies::*} contains player:
  56. cancel the event
  57. message "<bold>You are a <green><bold>zombie. <white>You are not allowed to break grass."
  58. on break of sand:
  59. {zombies::*} contains player:
  60. cancel the event
  61. message "<bold>You are a <green><bold>zombie. <white>You are not allowed to break sand."
  62.  
  63. on damage of a player:
  64. attacker is zombie:
  65. if victim is wearing a zombie head:
  66. cancel the event
  67.  
  68. on chat:
  69. {zombies::*} contains player:
  70. cancel the event
  71.  
  72. every 10 seconds:
  73. loop all players:
  74. {zombies::*} contains loop-player:
  75. loop-player is not wearing zombie head:
  76. apply wither 99 to loop-player for 99 days
  77.  
  78. command /unzombie [<player>]:
  79. permission:skript.op
  80. trigger:
  81. remove argument 1 from {zombies::*}
  82. message "<green>Player unzombified."
  83. remove resistance and mining fatigue and saturation and weakness from argument 1
  84.  
  85. command /unzombieall:
  86. permission:skript.op
  87. trigger:
  88. clear {zombies::*}
  89. message "<green>All players unzombified."
  90. loop all players:
  91. remove resistance and mining fatigue and saturation and weakness from loop-player
  92.  
  93. command /zombie [<player>]:
  94. permission:skript.op
  95. trigger:
  96. add argument 1 to {zombies::*}
  97. message "<green>Player added to zombies."
  98.  
  99. command /zombies:
  100. permission:skript.op
  101. trigger:
  102. broadcast "<green><bold>Zombies: <white>%{zombies::*}%"
Advertisement
Add Comment
Please, Sign In to add comment