Advertisement
Blue_Tec

Untitled

Mar 31st, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.91 KB | None | 0 0
  1. on click:
  2. if player is holding 399 named "&aメニュー":
  3. open chest with 5 rows named "&0&lKit PvP Menu" to player
  4. format slot 19 of player with jukebox named "&c&lKit購入&選択" to close then run [message "&c準備中..."]
  5. format slot 22 of player with diamond sword named "&a戦闘" to close then run [execute player command "/joinpvp"]
  6. format slot 25 of player with anvil named "&eKit強化" to close then run [message "&c準備中..."]
  7. format slot 43 of player with 404 named "&e設定" to close then run [message "&c準備中..."]
  8. format slot 44 of player with compass named "&eサーバー間移動" to close then run [message "&c準備中..."]
  9.  
  10. command /kitpvp [<text>]:
  11. permission: kitpvp.admin
  12. permission message: &cYOU DO NOT HAVE ANY PERMISSION
  13. trigger:
  14. if arg-1 is not set:
  15. message "&c使用法: /kitpvp <行動> <手法>"
  16. message "&6行動: setlobby(/spawnでの転送先), setdeath(死亡後の転送先)"
  17. if arg-1 is set:
  18. if arg-1 is "setlobby":
  19. set {kitpvp.lobby} to location of player
  20. message "&9》 &aロビーを設定しました。"
  21. if arg-1 is "setdeath":
  22. set {kitpvp.deathpoint} to location of player
  23. message "&9》 &a死亡後のスポーン地点を設定しました。"
  24. if arg-1 is not "setlobby" or "setdeath":
  25. message "&9》 &asetlobby あるいは setdeath が有効です。"
  26.  
  27. command /joinpvp:
  28. trigger:
  29. message "&9》 &a転送されました。"
  30. teleport player to {kitpvp.deathpoint}
  31.  
  32. command /spawn:
  33. trigger:
  34. message "&9》 &a転送されました。"
  35. teleport player to {kitpvp.lobby}
  36.  
  37. on damage of player:
  38. if damage > victim's health:
  39. cancel event
  40. send victim title "&c&l死亡" with subtitle "&cBY %attacker%" for 5 seconds
  41. send attacker title "&c&l殺害" with subtitle "&cTO %victim%" for 5 seconds
  42. teleport victim to {kitpvp.deathpoint}
  43. heal victim
  44. if {buki.name.%attacker%} is "sakura":
  45. broadcast "&c》 &b%attacker% &d&o桜舞&6>> &4&l&m%victim%"
  46. if {buki.name.%attacker%} is "tora":
  47. broadcast "&c》 &b%attacker% &6&o虎魂&6>> &4&l&m%victim%"
  48. if {buki.name.%attacker%} is "huyu":
  49. broadcast "&c》 &b%attacker% &f&o冬を超えた&6&l&o神&6>> &4&l&m%victim%"
  50. if {buki.name.%attacker%} is not set:
  51. broadcast "&c》 &b%attacker% &6>> &4&l&m%victim%"
  52.  
  53. command /kit [<text>]:
  54. trigger:
  55. if arg-1 is not set:
  56. message "&b/kit <キット>"
  57. if arg-1 is "Solidar":
  58. if {player.level.%player%} is more than 9:
  59. message "&aSolidarに設定しました。"
  60. clear player's inventory
  61. equip player with unbreakable iron helmet named "&aSolidar Helmet" with lore "&6Soul Item"
  62. equip player with unbreakable diamond chestplate named "&aSolidar Chestplate" with lore "&6Soul Item"
  63. equip player with unbreakable iron leggings named "&aSolidar Leggings" with lore "&6Soul Item"
  64. equip player with unbreakable iron boots named "&aSolidar Boots" with lore "&6Soul Item"
  65. give player unbreakable diamond sword named "&aSolidar Sword" with lore "&6Soul Item"
  66. else:
  67. message "&cLv.10 から使用できます。"
  68. if arg-1 is "Enderman":
  69. if {player.level.%player%} is more than 14:
  70. message "&aEndermanに設定しました。"
  71. clear player's inventory
  72. equip player with unbreakable chainmail helmet named "&aEnderman Helmet" with lore "&6Soul Item"
  73. equip player with unbreakable chainmail chestplate named "&aEnderman Chestplate" with lore "&6Soul Item"
  74. equip player with unbreakable chainmail leggings named "&aEnderman Leggings" with lore "&6Soul Item"
  75. equip player with unbreakable chainmail boots named "&aEnderman Boots" with lore "&6Soul Item"
  76. give player unbreakable stone sword named "&aEnderman Sword" with lore "&6Soul Item"
  77. give player 16 ender pearl named "&aEnder Pearl" with lore "&6Soul Item"
  78. else:
  79. message "&cLv.15 から使用できます。"
  80. if arg-1 is "Freeman":
  81. if {player.level.%player%} is more than 0:
  82. message "&aFreemanに設定しました。"
  83. clear player's inventory
  84. equip player with unbreakable iron helmet named "&aFreeman Helmet" with lore "&6Soul Item"
  85. equip player with unbreakable chainmail chestplate named "&aFreeman Chestplate" with lore "&6Soul Item"
  86. equip player with unbreakable iron leggings named "&aFreeman Leggings" with lore "&6Soul Item"
  87. equip player with unbreakable iron boots named "&aFreeman Boots" with lore "&6Soul Item"
  88. give player unbreakable iron sword named "&aFreeman Sword" with lore "&6Soul Item"
  89. give player 2 golden apple named "&a金林檎" with lore "&6Soul Item"
  90. else:
  91. message "&cLv.1 から使用できます。"
  92. if arg-1 is "Terrorist":
  93. if {player.level.%player%} is more than 0:
  94. message "&aTerroristに設定しました。"
  95. clear player's inventory
  96. equip player with unbreakable leather helmet named "&aTerrorist" with lore "&6Soul Item"
  97. equip player with unbreakable iron chestplate named "&aTerrorist Chestplate" with lore "&6Soul Item"
  98. equip player with unbreakable leather leggings named "&aTerrorist Leggings" with lore "&6Soul Item"
  99. equip player with unbreakable leather boots named "&aTerrorist Boots" with lore "&6Soul Item"
  100. if {buki.name.%player%} is "sakura":
  101. give player unbreakable diamond sword named "&d&o桜舞: Terrorist Sword" with lore "&6Soul Item"
  102. if {buki.name.%player%} is "tora":
  103. give player unbreakable diamond sword named "&6&o虎魂: Terrorist Sword" with lore "&6Soul Item"
  104. if {buki.name.%player%} is "huyu":
  105. give player unbreakable diamond sword named "&f&o冬を超えた&6&l&o神&f&o: Terrorist Sword" with lore "&6Soul Item"
  106. if {buki.name.%player%} is not set:
  107. give player unbreakable diamond sword named "&aTerrorist Sword" with lore "&6Soul Item"
  108. give player 2 golden apple named "&a金林檎" with lore "&6Soul Item"
  109. else:
  110. message "&cLv.1 から使用できます。"
  111.  
  112. command /levelup:
  113. permission: kitpvp.admin
  114. permission message: &cYOU DO NOT HAVE ANY PERMISSION
  115. trigger:
  116. add 1 to {player.level.%player%}
  117. message "&a%{player.level.%player%}% になりました。"
  118.  
  119. on join:
  120. teleport player to {kitpvp.lobby}
  121. if {kitpvp.firstjoin.%player%} is true:
  122. stop
  123. else:
  124. set {kitpvp.firstjoin.%player%} to true
  125. add 1 to {player.level.%player%}
  126.  
  127. command /cname [<text>]:
  128. trigger:
  129. if arg-1 is not set:
  130. message "&c/cname <文章>"
  131. if arg-1 is set:
  132. if arg-1 is "sakura":
  133. if {player.level.%player%} is more than 4:
  134. message "&a変更しました。 : &d&o桜舞"
  135. set {buki.name.%player%} to arg-1
  136. else:
  137. message "&cLv.5 から使用できます。"
  138. if arg-1 is "tora":
  139. if {player.level.%player%} is more than 9:
  140. message "&a変更しました。 : &6&o虎魂"
  141. set {buki.name.%player%} to arg-1
  142. else:
  143. message "&cLv.10 から使用できます。"
  144. if arg-1 is "huyu":
  145. if {player.level.%player%} is more than 19:
  146. message "&a変更しました。 : &f&o冬を超えた&6&l&o神"
  147. set {buki.name.%player%} to arg-1
  148. else:
  149. message "&cLv.20 から使用できます。"
  150.  
  151.  
  152. on rightclick:
  153. if player is holding a bone:
  154. if {ridatu.%player%} is true:
  155. message "&aキャンセルしました。"
  156. set {ridatu.%player%} to false
  157. stop
  158. else:
  159. set {ridatu.%player%} to true
  160. if {ridatu.%player%} is true:
  161. message "&c3 秒間動かないでください。"
  162. wait 1 second
  163. if {ridatu.%player%} is true:
  164. message "&c2 秒間動かないでください。"
  165. wait 1 second
  166. if {ridatu.%player%} is true:
  167. message "&c1 秒間動かないでください。"
  168. wait 1 second
  169. if {ridatu.%player%} is true:
  170. teleport player to {kitpvp.lobby}
  171. clear player's inventory
  172. set {ridatu.%player%} to false
  173. stop
  174.  
  175. on any movement:
  176. if {ridatu.%player%} is true:
  177. message "&c動いたためキャンセルされました。"
  178. set {ridatu.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement