brutushduefufn

DeathMatch

Nov 18th, 2018
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. #deathmatch
  2.  
  3. options:
  4. P : Severe put server name and prefix
  5.  
  6.  
  7.  
  8. command /deathmatch [<text>]
  9. usage: /deathmatch ffa, /deathmatch teams
  10. permission: uhc.staff
  11. trigger:
  12. if arg-1 is "ffa"
  13. execute console command "/playsoundall random_click"
  14. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 1 minute!"
  15. wait 50 second
  16. execute console command "/playsoundall random_click"
  17. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 10 seconds!"
  18. wait 1 second
  19. execute console command "/playsoundall random_click"
  20. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 9 seconds!"
  21. wait 1 second
  22. execute console command "/playsoundall random_click"
  23. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 8 seconds!"
  24. wait 1 second
  25. execute console command "/playsoundall random_click"
  26. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 7 seconds!"
  27. wait 1 second
  28. execute console command "/playsoundall random_click"
  29. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 6 seconds!"
  30. wait 1 second
  31. execute console command "/playsoundall random_click"
  32. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 5 seconds!"
  33. wait 1 second
  34. execute console command "/playsoundall random_click"
  35. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 4 seconds!"
  36. wait 1 second
  37. execute console command "/playsoundall random_click"
  38. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 3 seconds!"
  39. wait 1 second
  40. execute console command "/playsoundall random_click"
  41. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 2 seconds!"
  42. wait 1 second
  43. execute console command "/playsoundall random_click"
  44. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 1 seconds!"
  45. wait 1 second
  46. execute console command "/playsoundall random_click"
  47. broadcast "{P}&4You are going to be teleported now!"
  48. execute console command "/wb DeathMatchArena set 100 spawn"
  49. execute console command "/replacenear 300 17:1 air"
  50. wait 2 second
  51. execute console command "/replacenear 300 wood air"
  52. execute console command "/replacenear 300 9 air
  53. execute console command "/replacenear 300 18 air
  54. execute console command "/replacenear 300 18:1 air
  55. execute console command "/replacenear 300 18:2 air
  56. execute console command "/replacenear 300 18:3 air
  57. execute console command "/replacenear 300 161 air
  58. execute console command "/replacenear 300 161:1 air
  59. execute console command "/scatterall DeathMatchArena 100 10"
  60. if arg-1 is "teams"
  61. execute console command "/playsoundall random_click"
  62. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 1 minute!"
  63. wait 50 second
  64. execute console command "/playsoundall random_click"
  65. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 10 seconds!"
  66. wait 1 second
  67. execute console command "/playsoundall random_click"
  68. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 9 seconds!"
  69. wait 1 second
  70. execute console command "/playsoundall random_click"
  71. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 8 seconds!"
  72. wait 1 second
  73. execute console command "/playsoundall random_click"
  74. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 7 seconds!"
  75. wait 1 second
  76. execute console command "/playsoundall random_click"
  77. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 6 seconds!"
  78. wait 1 second
  79. execute console command "/playsoundall random_click"
  80. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 5 seconds!"
  81. wait 1 second
  82. execute console command "/playsoundall random_click"
  83. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 4 seconds!"
  84. wait 1 second
  85. execute console command "/playsoundall random_click"
  86. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 3 seconds!"
  87. wait 1 second
  88. execute console command "/playsoundall random_click"
  89. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 2 seconds!"
  90. wait 1 second
  91. execute console command "/playsoundall random_click"
  92. broadcast "{P}&4You will be teleported to &eDeathMatch &4in 1 seconds!"
  93. wait 1 second
  94. execute console command "playsoundall random_click"
  95. broadcast "{P}&4You are going to be teleported now!"
  96. execute console command "/wb DeathMatchArena 100 * 10"
  97. execute console command "/replacenear 300 17:1 air"
  98. wait 2 second
  99. execute console command "/replacenear 300 wood air"
  100. execute console command "/replacenear 300 9 air
  101. execute console command "/replacenear 300 18 air
  102. execute console command "/replacenear 300 18:1 air
  103. execute console command "/replacenear 300 18:2 air
  104. execute console command "/replacenear 300 18:3 air
  105. execute console command "/replacenear 300 161 air
  106. execute console command "/replacenear 300 161:1 air
  107. execute console command "/scatterall DeathMatchArena 100 10"
  108.  
  109.  
  110.  
  111. command /playsoundall <text>:
  112. usage: /playsoundall <Sound>
  113. trigger:
  114. if command sender has permission "{@perms}":
  115. play raw sound "%arg-1%" at all players with pitch 1 volume 0.8
  116. else:
  117. message "&dYou do not have the required permission to use this command!"
Add Comment
Please, Sign In to add comment