Guest User

BloodCycle

a guest
Jun 21st, 2015
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. Options:
  2. P: &7[&9Bloodcycle&7]&r
  3.  
  4. command /bloodcycle [<text>] [<text>]:
  5. permission: skript.op
  6. trigger:
  7. if arg 1 is "enable":
  8. set {bcemerald} to true
  9. set {bclapis} to true
  10. set {bcredstone} to true
  11. set {bcgold} to true
  12. set {bccoal} to true
  13. set {bciron} to true
  14. set {bcdiamonds} to true
  15. message "{@P} Everything is now &aEnabled" to player
  16. if arg 1 is "disable":
  17. set {bcemerald} to false
  18. set {bclapis} to false
  19. set {bcredstone} to false
  20. set {bcgold} to false
  21. set {bccoal} to false
  22. set {bciron} to false
  23. set {bcdiamonds} to false
  24. message "{@P} Everything is now &cDisabled" to player
  25. if arg 1 is "help":
  26. message "&c/bloodcycle enable/disable" to player
  27. wait 5 ticks
  28. message "&c/bloodcycle startgame" to player
  29. wait 5 ticks
  30. message "&c/bloodcycle endgame" to player
  31. if arg 1 is "info":
  32. message "{@P} Skripted by &cZakkeagle" to player
  33. message "{@P} Gamemode by &cLethalWinter" to player
  34. if arg 1 is "startgame":
  35. set {bloodcycle} to true
  36. broadcast "{@P} The BloodCycle game has started"
  37. set {death} to a random integer between 0 and 7
  38. if {death} is 1:
  39. if {bcdiamonds} is true:
  40. broadcast "{@P} &bDiamonds &rnow do damage"
  41. if {death} is 2:
  42. if {bcgold} is true:
  43. broadcast "{@P} &6Gold &rnow does damage"
  44. if {death} is 3:
  45. if {bcemerald} is true:
  46. broadcast "{@P} &2Emerald &rnow does damage"
  47. if {death} is 4:
  48. if {bclapis} is true:
  49. broadcast "{@P} &9Lapis &rnow does damage"
  50. if {death} is 5:
  51. if {bcredstone} is true:
  52. broadcast "{@P} &4Redstone &rnow does damage"
  53. if {death} is 6:
  54. if {bccoal} is true:
  55. broadcast "{@P} &0Coal &rnow does damage"
  56. if {death} is 7:
  57. if {bciron} is true:
  58. broadcast "{@P} &7Iron &rnow does damage"
  59. if arg 1 is "endgame":
  60. set {bloodcycle} to false
  61. broadcast "{@P} The BloodCycle game has ended"
  62. set {death} to 0
  63. every 10 minutes:
  64. if {bloodcycle} is true:
  65. set {death} to a random integer between 0 and 7
  66. if {death} is 1:
  67. if {bcdiamonds} is true:
  68. broadcast "{@P} &bDiamonds &rnow do damage"
  69. if {death} is 2:
  70. if {bcgold} is true:
  71. broadcast "{@P} &6Gold &rnow does damage"
  72. if {death} is 3:
  73. if {bcemerald} is true:
  74. broadcast "{@P} &2Emerald &rnow does damage"
  75. if {death} is 4:
  76. if {bclapis} is true:
  77. broadcast "{@P} &9Lapis &rnow does damage"
  78. if {death} is 5:
  79. if {bcredstone} is true:
  80. broadcast "{@P} &4Redstone &rnow does damage"
  81. if {death} is 6:
  82. if {bccoal} is true:
  83. broadcast "{@P} &0Coal &rnow does damage"
  84. if {death} is 7:
  85. if {bciron} is true:
  86. broadcast "{@P} &7Iron &rnow does damage"
  87.  
  88.  
  89. on mine of diamond ore:
  90. if {death} is 1:
  91. chance of 75%:
  92. damage the player by 0.5 hearts
  93. on mine of gold ore:
  94. if {death} is 2:
  95. chance of 50%:
  96. damage the player by 0.5 hearts
  97. on mine of emerald ore:
  98. if {death} is 3:
  99. chance of 40%:
  100. damage the player by 0.5 hearts
  101. on mine of lapis ore:
  102. if {death} is 4:
  103. chance of 30%:
  104. damage the player by 0.5 hearts
  105. on mine of redstone ore:
  106. if {death} is 5:
  107. chance of 35%:
  108. damage the player by 0.5 hearts
  109. on mine of coal ore:
  110. if {death} is 6:
  111. chance of 15%:
  112. damage the player by 0.5 hearts
  113. on mine of iron ore:
  114. if {death} is 7:
  115. chance of 15%:
  116. damage the player by 0.5 hearts
Advertisement
Add Comment
Please, Sign In to add comment