siso_Friends

Untitled

Mar 24th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.56 KB | None | 0 0
  1. #KitPvP 2.1 by Tapioca_MilkTea
  2. options:
  3. prefix: [KitPvP]
  4.  
  5. command /kits [<text>]:
  6. trigger:
  7. if arg-1 is not set:
  8. wait 1 ticks
  9. open chest with 2 row named "Kitの選択" to player
  10. wait 1 ticks
  11. format slot 1 of player with wood sword named "&8剣士" to close then run [execute player command "/kits kisi"]
  12. format slot 2 of player with obsidian named "&e傭兵" to close then run [execute player command "/kits tanku"]
  13. if player doesn't have permission "ks.yumihei":
  14. format slot 3 of player with yellow stained glass pane named "弓使い" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  15. if player has permission "ks.yumihei":
  16. format slot 3 of player with Arrow named "&1弓使い" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits yumihei"]
  17. if player doesn't have permission "ks.fire":
  18. format slot 4 of player with pink stained glass pane named "ファイアーマン" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  19. if player has permission "ks.fire":
  20. format slot 4 of player with flint and steel named "&cファイアーマン" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits pairo"]
  21. if player doesn't have permission "ks.ansatusya":
  22. format slot 5 of player with red stained glass pane named "神速" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  23. if player has permission "ks.ansatusya":
  24. format slot 5 of player with feather named "&b神速" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits ansatusya"]
  25. if player doesn't have permission "ks.ghost":
  26. format slot 6 of player with light gray stained glass pane named "ghost" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  27. if player has permission "ks.ghost":
  28. format slot 6 of player with pumpkin named "&7ghost" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits ghost"]
  29. if player doesn't have permission "ks.gya":
  30. format slot 7 of player with Brown stained glass pane named "ギャンブラー" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  31. if player has permission "ks.gya":
  32. format slot 7 of player with gold ingot named "&6ギャンブラー" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits gya"]
  33. if player doesn't have permission "ks.mosya":
  34. format slot 8 of player with Yellow stained glass pane named "猛者" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  35. if player has permission "ks.mosya":
  36. format slot 8 of player with iron axe named "&c猛者" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits mosya"]
  37. if {stats.%player%.kill} <= 30:
  38. format slot 10 of player with Orange Stained Glass Pane named "ヒーラー" with lore "&aこのキットは&c30KILLで使用可能になります" to be unstealable
  39. if {stats.%player%.kill} >= 30:
  40. format slot 10 of player with Golden Apple named "&dヒーラー" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits hira"]
  41. if {stats.%player%.kill} <= 60:
  42. format slot 11 of player with green Stained Glass Pane named "アーチャー" with lore "&aこのキットは&c60KILLで使用可能になります" to be unstealable
  43. if {stats.%player%.kill} >= 60:
  44. format slot 11 of player with bow named "&aアーチャー" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits atya"]
  45. if {stats.%player%.kill} <= 100:
  46. format slot 12 of player with Magenta Stained Glass Pane named "勇者" with lore "&aこのキットは&4&n100KILLで使用可能になります" to be unstealable
  47. if {stats.%player%.kill} >= 100:
  48. format slot 12 of player with golden sword named "&4&n勇者" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits yuusya"]
  49. if {stats.%player%.kill} <= 300:
  50. format slot 13 of player with Brown Stained Glass Pane named "エンダーマン" with lore "&aこのキットは&c300KILLで使用可能になります" to be unstealable
  51. if {stats.%player%.kill} >= 300:
  52. format slot 13 of player with ender pearl named "&5エンダーマン" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits ender"]
  53. if {stats.%player%.kill} <= 600:
  54. format slot 14 of player with Cyan Stained Glass Pane named "コック" with lore "&aこのキットは&c600KILLで使用可能になります" to be unstealable
  55. if {stats.%player%.kill} >= 600:
  56. format slot 14 of player with cookie named "&2コック" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits koku"]
  57. if {stats.%player%.kill} <= 1000:
  58. format slot 15 of player with Black Stained Glass Pane named "End" with lore "&aこのキットは&5&n1000KILLで使用可能になります" to be unstealable
  59. if {stats.%player%.kill} >= 1000:
  60. format slot 15 of player with Dragon Egg named "&5&nEnd" with lore "&aこのキットは開放済みです" to close then run [execute player command "/kits end"]
  61. if arg-1 is "kisi":
  62. make console execute command "/effect %player% clear"
  63. clear player's inventory
  64. set slot 0 of player to iron sword
  65. set slot 1 of player to 64 bread
  66. set slot 2 of player to brick named "&8防御"
  67. set slot 8 of player to barrier block named "&cKit選択に戻る"
  68. equip player with chainmail chestplate
  69. equip player with leather boots
  70. equip player with chainmail leggings
  71. message "{@prefix} あなたは剣士を選択しました!"
  72. stop
  73. if arg-1 is "tanku":
  74. make console execute command "/effect %player% clear"
  75. clear player's inventory
  76. set slot 0 of player to stone sword
  77. set slot 1 of player to 64 bread
  78. set slot 2 of player to nether wart named "&d回復"
  79. set slot 8 of player to barrier block named "&cKit選択に戻る"
  80. equip player with iron chestplate
  81. equip player with chainmail leggings
  82. message "{@prefix} あなたは傭兵を選択しました!"
  83. stop
  84. if arg-1 is "yumihei":
  85. if player has permission "ks.yumihei":
  86. make console execute command "/effect %player% clear"
  87. clear player's inventory
  88. set slot 0 of player to bow
  89. set slot 1 of player to 64 bread
  90. set slot 2 of player to 32 arrows
  91. set slot 8 of player to barrier block named "&cKit選択に戻る"
  92. equip player with leather helmet
  93. equip player with leather chestplate
  94. stop
  95. if arg-1 is "pairo":
  96. if player has permission "ks.fire":
  97. make console execute command "/effect %player% clear"
  98. clear player's inventory
  99. set slot 0 of player to stone sword
  100. set slot 1 of player to blaze rod of fire aspect 1
  101. set slot 2 of player to 64 bread
  102. set slot 3 of player to brick named "&8防御"
  103. set slot 8 of player to barrier block named "&cKit選択に戻る"
  104. equip player with chainmail chestplate
  105. equip player with chainmail leggings
  106. equip player with iron boots
  107. message "{@prefix} あなたはパイロを選択しました!"
  108. stop
  109. if arg-1 is "ansatusya":
  110. if player has permission "ks.ansatusya":
  111. make console execute command "/effect %player% clear"
  112. clear player's inventory
  113. set slot 0 of player to stone sword
  114. set slot 2 of player to 1 feather named "&bSpeed"
  115. set slot 1 of player to 64 bread
  116. set slot 8 of player to barrier block named "&cKit選択に戻る"
  117. equip player with chainmail chestplate
  118. equip player with leather leggings
  119. equip player with iron helmet
  120. apply potion of speed 1 to the player for 1000 seconds
  121. message "{@prefix} あなたは神速を選択しました!"
  122. stop
  123. if arg 1 is "ghost":
  124. if player has permission "ks.ghost":
  125. apply potion of Resistance 1 to the player for 1000 seconds
  126. make console execute command "/effect %player% clear"
  127. clear player's inventory
  128. set slot 0 of player to diamond sword of Sharpness 1
  129. set slot 1 of player to 64 bread
  130. set slot 2 of player to 1 feather named "&bSpeed"
  131. set slot 8 of player to barrier block named "&cKit選択に戻る"
  132. apply potion of Invisibility 1 to the player for 1000 seconds
  133. message "{@prefix} あなたはghostを選択しました!"
  134. set {%player%.ghost} to true
  135. stop
  136. if arg 1 is "hira":
  137. if {stats.%player%.kill} >= 30:
  138. make console execute command "/effect %player% clear"
  139. clear player's inventory
  140. apply potion of Regeneration 1 to the player for 1000 seconds
  141. set slot 0 of player to iron sword of Sharpness 1
  142. set slot 1 of player to 64 bread
  143. set slot 2 of player to nether wart named "&d回復"
  144. set slot 8 of player to barrier block named "&cKit選択に戻る"
  145. equip player with leather chestplate
  146. message "{@prefix} あなたはヒーラーを選択しました!"
  147. set {%player%.hira} to true
  148. stop
  149. if arg 1 is "atya":
  150. if {stats.%player%.kill} >= 60:
  151. make console execute command "/effect %player% clear"
  152. clear player's inventory
  153. set slot 0 of player to wooden sword
  154. set slot 1 of player to bow of Power 2
  155. set slot 2 of player to 64 bread
  156. set slot 3 of player to 32 arrows
  157. set slot 8 of player to barrier block named "&cKit選択に戻る"
  158. equip player with leather chestplate
  159. equip player with leather leggings
  160. message "{@prefix} あなたはアーチャーを選択しました!"
  161. stop
  162. if arg 1 is "yuusya":
  163. if {stats.%player%.kill} >= 100:
  164. make console execute command "/effect %player% clear"
  165. clear player's inventory
  166. set slot 0 of player to wooden sword named "&5&nSharp of you" with lore "&cあなたがキルすればするほど強くなる"
  167. set slot 1 of player to 64 bread
  168. set slot 2 of player to 2 golden apple
  169. set slot 8 of player to barrier block named "&cKit選択に戻る"
  170. equip player with diamond helmet
  171. equip player with diamond boots
  172. set {_Berst.%player%} to true
  173. message "{@prefix} あなたは勇者を選択しました!"
  174. stop
  175. if arg 1 is "gya":
  176. if player has permission "ks.gya":
  177. set {%player%.luck} to true
  178. make console execute command "/effect %player% clear"
  179. clear player's inventory
  180. set slot 0 of player to golden sword named "&6luck"
  181. set slot 1 of player to 64 bread
  182. set slot 8 of player to barrier block named "&cKit選択に戻る"
  183. message "{@prefix} あなたはギャンブラーを選択しました!"
  184. stop
  185. if arg 1 is "ender":
  186. if {stats.%player%.kill} >= 300:
  187. make console execute command "/effect %player% clear"
  188. clear player's inventory
  189. set slot 0 of player to iron sword
  190. set slot 1 of player to 64 bread
  191. set slot 2 of player to 16 ender pearl
  192. set slot 3 of player to nether wart named "&d回復"
  193. equip player with iron chestplate
  194. equip player with chainmail leggings
  195. equip player with chainmail boots
  196. set slot 8 of player to barrier block named "&cKit選択に戻る"
  197. message "{@prefix} あなたはギャンブラーを選択しました!"
  198. if arg 1 is "mosya":
  199. if player has permission "ks.mosya":
  200. set {%player%.mosya} to true
  201. make console execute command "/effect %player% clear"
  202. clear player's inventory
  203. set slot 0 of player to iron sword of sharpness 4
  204. set slot 1 of player to 64 bread
  205. remove 7 from the player's health
  206. equip player with iron chestplate
  207. equip player with leather leggings
  208. equip player with leather boots
  209. equip player with leather chestplate
  210. equip player with leather helmet
  211. set slot 8 of player to barrier block named "&cKit選択に戻る"
  212. message "{@prefix} あなたは猛者を選択しました!"
  213. if arg 1 is "koku":
  214. if {stats.%player%.kill} >= 600:
  215. make console execute command "/effect %player% clear"
  216. clear player's inventory
  217. set slot 0 of player to apple of sharpness 6 named "食べるな危険"
  218. set slot 1 of player to 64 bread named "美味しいパン"
  219. set slot 2 of player to bowl named "&2錬金書" with lore "&6食べ物を生み出します"
  220. equip player with diamond boots
  221. set slot 8 of player to barrier block named "&cKit選択に戻る"
  222. message "{@prefix} あなたはコックを選択しました!"
  223. on right click holding brick:
  224. name of held item contains "防御"
  225. set {_cooldown} to difference between {skill.%player%.lastused} and now
  226. if {_cooldown} is less than 8 seconds:
  227. message "&5%difference between 8 seconds and {_cooldown}% &6後に使用可能"
  228. stop
  229. apply potion of Resistance 1 to the player for 5 seconds
  230. message "&7防御力が上がった"
  231. set {skill.%player%.lastused} to now
  232. on right click holding feather:
  233. name of held item contains "Speed"
  234. set {_cooldown} to difference between {skill.%player%.lastused} and now
  235. if {_cooldown} is less than 14 seconds:
  236. message "&5%difference between 14 seconds and {_cooldown}% &6後に使用可能"
  237. stop
  238. apply potion of Speed 2 to the player for 8 seconds
  239. message "&b体が軽くなった"
  240. set {skill.%player%.lastused} to now
  241. on rightclick holding nether wart:
  242. name of held item contains "回復"
  243. set {_cooldown} to difference between {skill.%player%.lastused} and now
  244. if {_cooldown} is less than 15 seconds:
  245. message "&5%difference between 15 seconds and {_cooldown}% &6後に使用可能"
  246. stop
  247. add 3 to the player's health
  248. message "&a回復した"
  249. set {skill.%player%.lastused} to now
  250. on damage of player:
  251. if {%victim%.ghost} is true:
  252. push the victim upwards at speed 100
  253. on respawn:
  254. if {%player%.ghost} is true:
  255. wait 25 tick
  256. apply potion of Invisibility 1 to the player for 1000 seconds
  257. if {%player%.hira} is true:
  258. wait 25 tick
  259. apply potion of Regeneration 1 to the player for 1000 seconds
  260. if {%player%.mosya} is true:
  261. wait 25 tick
  262. remove 7 from the player's health
  263. on right click holding chest:
  264. name of held item contains "Kit選択"
  265. make player execute command "/kits"
  266. stop
  267. on death of player:
  268. if attacker's tool is wooden sword:
  269. name of held item contains "sharp of you"
  270. if {_Berst.%attacker%} is true:
  271. wait 1 tick
  272. add 1 to {_Berst.%attacker%}
  273. if {_Berst.%attacker%} is 1:
  274. enchant the player's tool with sharpness 1
  275. if {_Berst.%attacker%} is 3:
  276. enchant the player's tool with sharpness 2
  277. if {_Berst.%attacker%} is 5:
  278. enchant the player's tool with sharpness 3
  279. if {_Berst.%attacker%} is 7:
  280. enchant the player's tool with sharpness 4
  281. if {_Berst.%attacker%} is 10:
  282. enchant the player's tool with sharpness 5
  283. if {_Berst.%attacker%} is 15:
  284. enchant the player's tool with sharpness 10
  285. on right click holding barrier block:
  286. make console execute command "/effect %player% clear"
  287. clear player's inventory
  288. if {%player%.ghost} is true:
  289. set {%player%.ghost} to false
  290. if {_Berst.%player%} is true:
  291. set {_Berst.%player%} to false
  292. if {%player%.hira} is true:
  293. set {%player%.hira} to false
  294. if {%player%.luck} is true:
  295. set {%player%.luck} to false
  296. if {%player%.mosya} is true:
  297. set {%player%.mosya} to false
  298. execute console command "/heal %player%"
  299. set slot 2 of player to chest named "&bKit選択"
  300. set slot 4 of player to emerald named "&6Kit購入"
  301. set slot 6 of player to book named "&5あなたの情報"
Add Comment
Please, Sign In to add comment