Advertisement
Itsyuumello2

Untitled

Dec 16th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.49 KB | None | 0 0
  1. on first join:
  2. if {game} is true:
  3. set join message to "&7%player% &efirst joined."
  4. set player's display name to "&7[SPECTATOR] %player%"
  5. set tablist name of player to "&7[SPECTATOR] %player%"
  6. set {lobbysidebar.%player%} to true
  7. set {default.%player%} to player
  8. set {ranks.%player%} to "&7Default"
  9. set {coins.%player%} to 0
  10. set {kills.%player%} to 0
  11. set {wins.%player%} to 0
  12. set {cash.%player%} to 0
  13. teleport player to {spectatespawn}
  14. set player's gamemode to spectator
  15.  
  16. on join:
  17. if {game} is true:
  18. force respawn player
  19. set player's gamemode to spectator
  20. set player's display name to "&7[SPECTATOR] %player%"
  21. set tablist name of player to "&7[SPECTATOR] %player%"
  22. teleport player to {spectatespawn}
  23. if {default.%player%} is set:
  24. set join message to "&7%player% &eJoined."
  25. if {vip.%player%} is set:
  26. set join message to "&a[VIP] %player% &6joined the game!"
  27. if {vip+.%player%} is set:
  28. set join message to "&a[VIP&6+&a] %player% &6joined the game!"
  29. if {mvp.%player%} is set:
  30. set join message to "&b>&c>&a> &b[MVP] %player% &6joined the game! &a<&c<&b<"
  31. if {mvp+.%player%} is set:
  32. set join message to "&b>&c>&a> &b[MVP&c+&b] %player% &6joined the game! &a<&c<&b<"
  33. if {special.%player%} is set:
  34. set join message to "&b>&c>&a> &d[SPECIAL] %player% &6joined the game! &a<&c<&b<"
  35. if {admin.%player%} is set:
  36. set join message to "&b>&c>&a> &c[ADMIN] %player% &6joined the game! &a<&c<&b<"
  37.  
  38. on quit:
  39. if {game} is true:
  40. set quit message to "&7%player% &eDisconnected."
  41. execute console command "/kill %player%"
  42.  
  43. on death of player:
  44. if {game} is true:
  45. command "/playsound entity.exprience_orb.pickup mastet %attacker% 2 2 1"
  46. command "/playsound entity.exprience_orb.pickup mastet %attacker% 2 1 1"
  47. set death message to "&7%victim% &ewas killed by &7%attacker%"
  48. wait 3 seconds
  49. force respawn victim
  50. if {default.%player%} is set:
  51. send "&6+20 coins (kill)"
  52. send "&d+80 exprience (kill)"
  53. add 20 to {coins.%attacker%}
  54. add 80 to {exp.%attacker%}
  55.  
  56. on respawn:
  57. if {game} is true:
  58. set player's gamemode to spectator
  59. teleport player to {spectatespawn}
  60. send "&cあなたは死亡しました!"
  61.  
  62. on right click on villager:
  63. if {game} is true:
  64. open chest with 6 row named "&bItem Shop" to player
  65. set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" and "&7Your Coins: &6%{gold.%player%}%" and "&2"
  66. set slot 9 of player's current inventory to gray glass pane named "&1"
  67. set slot 1 of player's current inventory to white hardened clay named "&aブロック"
  68. set slot 10 of player's current inventory to gray glass pane named "&2"
  69. set slot 2 of player's current inventory to golden sword named "&a武器"
  70. set slot 11 of player's current inventory to gray glass pane named "&3"
  71. set slot 3 of player's current inventory to chainmail boots named "&a装備"
  72. set slot 12 of player's current inventory to gray glass pane named "&4"
  73. set slot 4 of player's current inventory to stone pickaxe named "&aツール"
  74. set slot 13 of player's current inventory to gray glass pane named "&5"
  75. set slot 5 of player's current inventory to bow named "&a弓 & 矢"
  76. set slot 14 of player's current inventory to gray glass pane named "&6"
  77. set slot 6 of player's current inventory to brewing stand named "&aポーション"
  78. set slot 15 of player's current inventory to gray glass pane named "&7"
  79. set slot 7 of player's current inventory to tnt named "&aその他"
  80. set slot 16 of player's current inventory to gray glass pane named "&8"
  81. set slot 17 of player's current inventory to gray glass pane named "&9"
  82.  
  83. on inventory click:
  84. if name of player's current inventory contain "&bItem Shop":
  85. cancel event
  86. if name of clicked item is "&a羊毛":
  87. if {red::*} is set:
  88. if {gold.%player%} >= 80:
  89. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  90. give 16 red wool to player
  91. send "&6羊毛 &aを購入しました!"
  92. remove 80 from {gold.%player%}
  93. stop
  94. else:
  95. send "&cGold が不足しています。"
  96. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  97. stop
  98. if {blue::*} is set:
  99. if {gold.%player%} >= 80:
  100. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  101. give 16 blue wool to player
  102. send "&6羊毛 &aを購入しました!"
  103. remove 80 from {gold.%player%}
  104. stop
  105. else:
  106. send "&cGold が不足しています。"
  107. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  108. stop
  109. if name of clicked item is "&a粘土":
  110. if {red::*} is set:
  111. if {gold.%player%} >= 80:
  112. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  113. give 12 red hardened clay to player
  114. send "&6粘土 &aを購入しました!"
  115. remove 80 from {gold.%player%}
  116. stop
  117. else:
  118. send "&cGold が不足しています。"
  119. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  120. stop
  121. if {blue::*} is set:
  122. if {gold.%player%} >= 80:
  123. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  124. give 12 blue hardened clay to player
  125. send "&6粘土 &aを購入しました!"
  126. remove 80 from {gold.%player%}
  127. stop
  128. else:
  129. send "&cGold が不足しています。"
  130. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  131. stop
  132. if name of clicked item is "&a砂岩":
  133. if {gold.%player%} >= 130:
  134. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  135. give 16 sandstone to player
  136. send "&6砂岩 &aを購入しました!"
  137. remove 130 from {gold.%player%}
  138. stop
  139. else:
  140. send "&cGold が不足しています。"
  141. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  142. stop
  143. if name of clicked item is "&a木材":
  144. if {gold.%player%} >= 180:
  145. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  146. give 16 oak wood planks to player
  147. send "&6木材 &aを購入しました!"
  148. remove 180 from {gold.%player%}
  149. stop
  150. else:
  151. send "&cGold が不足しています。"
  152. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  153. stop
  154. if name of clicked item is "&aエンドストーン":
  155. if {gold.%player%} >= 260:
  156. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  157. give 12 end stone to player
  158. send "&6エンドストーン &aを購入しました!"
  159. remove 260 from {gold.%player%}
  160. stop
  161. else:
  162. send "&cGold が不足しています。"
  163. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  164. stop
  165. if name of clicked item is "&a黒曜石":
  166. if {gold.%player%} >= 800:
  167. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  168. give 4 obsidian to player
  169. send "&6黒曜石 &aを購入しました!"
  170. remove 800 from {gold.%player%}
  171. stop
  172. else:
  173. send "&cGold が不足しています。"
  174. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  175. stop
  176. if name of clicked item is "&a石の剣":
  177. if {gold.%player%} >= 100:
  178. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  179. give stone sword of unbreaking 3 to player
  180. send "&6石の剣 &aを購入しました!"
  181. remove 100 from {gold.%player%}
  182. stop
  183. else:
  184. send "&cGold が不足しています。"
  185. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  186. stop
  187. if name of clicked item is "&a鉄の剣":
  188. if {gold.%player%} >= 500:
  189. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  190. give iron sword of unbreaking 3 to player
  191. send "&6鉄の剣 &aを購入しました!"
  192. remove 500 from {gold.%player%}
  193. stop
  194. else:
  195. send "&cGold が不足しています。"
  196. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  197. stop
  198. if name of clicked item is "&aダイヤモンドの剣":
  199. if {gold.%player%} >= 800:
  200. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  201. give diamond sword of unbreaking 3 to player
  202. send "&6ダイヤモンドの剣 &aを購入しました!"
  203. remove 800 from {gold.%player%}
  204. stop
  205. else:
  206. send "&cGold が不足しています。"
  207. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  208. stop
  209. if name of clicked item is "&aチェーンアーマー":
  210. if {gold.%player%} >= 300:
  211. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  212. equip player with chainmail leggings
  213. equip player with chainmail boots
  214. send "&6チェーンアーマー &aを購入しました!"
  215. remove 300 from {gold.%player%}
  216. stop
  217. else:
  218. send "&cGold が不足しています。"
  219. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  220. stop
  221. if name of clicked item is "&a鉄アーマー":
  222. if {gold.%player%} >= 500:
  223. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  224. equip player with iron leggings
  225. equip player with iron boots
  226. send "&6鉄アーマー &aを購入しました!"
  227. remove 500 from {gold.%player%}
  228. stop
  229. else:
  230. send "&cGold が不足しています。"
  231. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  232. stop
  233. if name of clicked item is "&aダイヤモンドアーマー":
  234. if {gold.%player%} >= 1000:
  235. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  236. equip player with diamond leggings
  237. equip player with diamond boots
  238. send "&6ダイヤモンドアーマー &aを購入しました!"
  239. remove 1000 from {gold.%player%}
  240. stop
  241. else:
  242. send "&cGold が不足しています。"
  243. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  244. stop
  245. if name of clicked item is "&a石のツルハシ":
  246. if {gold.%player%} >= 100:
  247. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  248. give stone pickaxe of unbreaking 3 to player
  249. send "&6石のツルハシ &aを購入しました!"
  250. remove 100 from {gold.%player%}
  251. else:
  252. send "&cGold が不足しています。"
  253. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  254. stop
  255. if name of clicked item is "&a石の斧":
  256. if {gold.%player%} >= 100:
  257. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  258. give stone axe of unbreaking 3 to player
  259. send "&6石の斧 &aを購入しました!"
  260. remove 100 from {gold.%player%}
  261. else:
  262. send "&cGold が不足しています。"
  263. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  264. stop
  265. if name of clicked item is "&a石のシャベル":
  266. if {gold.%player%} >= 100:
  267. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  268. give stone shovel of unbreaking 3 to player
  269. send "&6石のシャベル &aを購入しました!"
  270. remove 100 from {gold.%player%}
  271. else:
  272. send "&cGold が不足しています。"
  273. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  274. stop
  275. if name of clicked item is "&a鉄のツルハシ":
  276. if {gold.%player%} >= 300:
  277. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  278. give iron pickaxe of unbreaking 3 to player
  279. send "&6鉄のツルハシ &aを購入しました!"
  280. remove 300 from {gold.%player%}
  281. else:
  282. send "&cGold が不足しています。"
  283. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  284. stop
  285. if name of clicked item is "&a鉄の斧":
  286. if {gold.%player%} >= 300:
  287. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  288. give iron axe of unbreaking 3 to player
  289. send "&6鉄の斧 &aを購入しました!"
  290. remove 300 from {gold.%player%}
  291. else:
  292. send "&cGold が不足しています。"
  293. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  294. stop
  295. if name of clicked item is "&a鉄のシャベル":
  296. if {gold.%player%} >= 300:
  297. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  298. give iron shovel of unbreaking 3 to player
  299. send "&6鉄のシャベル &aを購入しました!"
  300. remove 300 from {gold.%player%}
  301. else:
  302. send "&cGold が不足しています。"
  303. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  304. stop
  305. if name of clicked item is "&aダイヤモンドのツルハシ":
  306. if {gold.%player%} >= 900:
  307. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  308. give diamond pickaxe of unbreaking 3 to player
  309. send "&6ダイヤモンドのツルハシ &aを購入しました!"
  310. remove 900 from {gold.%player%}
  311. else:
  312. send "&cGold が不足しています。"
  313. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  314. stop
  315. if name of clicked item is "&aダイヤモンドの斧":
  316. if {gold.%player%} >= 900:
  317. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  318. give diamond axe of unbreaking 3 to player
  319. send "&6ダイヤモンドの斧 &aを購入しました!"
  320. remove 900 from {gold.%player%}
  321. else:
  322. send "&cGold が不足しています。"
  323. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  324. stop
  325. if name of clicked item is "&aダイヤモンドのシャベル":
  326. if {gold.%player%} >= 900:
  327. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  328. give diamond shovel of unbreaking 3 to player
  329. send "&6ダイヤモンドのシャベル &aを購入しました!"
  330. remove 900 from {gold.%player%}
  331. else:
  332. send "&cGold が不足しています。"
  333. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  334. stop
  335. if name of clicked item is "&a弓":
  336. if {gold.%player%} >= 1000:
  337. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  338. give bow of unbreaking 3 to player
  339. send "&6弓 &aを購入しました!"
  340. remove 1000 from {gold.%player%}
  341. else:
  342. send "&cGold が不足しています。"
  343. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  344. stop
  345. if name of clicked item is "&a矢":
  346. if {gold.%player%} >= 500:
  347. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  348. give 16 arrow to player
  349. send "&6矢 &aを購入しました!"
  350. remove 500 from {gold.%player%}
  351. else:
  352. send "&cGold が不足しています。"
  353. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  354. stop
  355. if name of clicked item is "&aスピードポーション &7(II 60s)":
  356. if {gold.%player%} >= 300:
  357. execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
  358. give water bottle named "&aスピードポーション" to player
  359. send "&6スピードポーション &aを購入しました!"
  360. remove 300 from {gold.%player%}
  361. else:
  362. send "&cGold が不足しています。"
  363. execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
  364. stop
  365.  
  366. if name of clicked item is "&aブロック":
  367. set slot 10 of player's current inventory to green glass pane named "&1"
  368. set slot 11 of player's current inventory to gray glass pane named "&2"
  369. set slot 12 of player's current inventory to gray glass pane named "&3"
  370. set slot 13 of player's current inventory to gray glass pane named "&4"
  371. set slot 14 of player's current inventory to gray glass pane named "&5"
  372. set slot 15 of player's current inventory to gray glass pane named "&6"
  373. set slot 16 of player's current inventory to gray glass pane named "&7"
  374. set slot 19 of player's current inventory to white wool named "&a羊毛" with lore "&c" and "&7羊毛 &8x16" and "&1" and "&7Price: &680"
  375. set slot 20 of player's current inventory to sandstone named "&a砂岩" with lore "&c" and "&7砂岩 &8x16" and "&1" and "&7Price: &6130"
  376. set slot 21 of player's current inventory to white hardened clay named "&a粘土" with lore "&c" and "&7粘土 &8x12" and "&1" and "&7Price: &680"
  377. set slot 22 of player's current inventory to oak wood planks named "&a木材" with lore "&c" and "&7木材 &8x16" and "&1" and "&7Price: &6180"
  378. set slot 23 of player's current inventory to end stone named "&aエンドストーン" with lore "&c" and "&7エンドストーン &8x12" and "&1" and "&7Price: &6260"
  379. set slot 24 of player's current inventory to obsidian named "&a黒曜石" with lore "&c" and "&7黒曜石 &8x4" and "&1" and "&7Price: &6800"
  380. set slot 25 of player's current inventory to air
  381. set slot 26 of player's current inventory to air
  382. set slot 27 of player's current inventory to air
  383. set slot 28 of player's current inventory to air
  384. set slot 29 of player's current inventory to air
  385. set slot 30 of player's current inventory to air
  386. set slot 31 of player's current inventory to air
  387. set slot 32 of player's current inventory to air
  388. if name of clicked item is "&a武器":
  389. set slot 10 of player's current inventory to gray glass pane named "&1"
  390. set slot 11 of player's current inventory to green glass pane named "&2"
  391. set slot 12 of player's current inventory to gray glass pane named "&3"
  392. set slot 13 of player's current inventory to gray glass pane named "&4"
  393. set slot 14 of player's current inventory to gray glass pane named "&5"
  394. set slot 15 of player's current inventory to gray glass pane named "&6"
  395. set slot 16 of player's current inventory to gray glass pane named "&7"
  396. set slot 19 of player's current inventory to stone sword named "&a石の剣" with lore "&c" and "&7石の剣 &8x1" and "&1" and "&7Price: &6100"
  397. set slot 20 of player's current inventory to iron sword named "&a鉄の剣" with lore "&c" and "&7鉄の剣 &8x1" and "&1" and "&7Price: &6500"
  398. set slot 21 of player's current inventory to diamond sword named "&aダイヤモンドの剣" with lore "&c" and "&7ダイヤモンドの剣 &8x1" and "&1" and "&7Price: &6800"
  399. set slot 22 of player's current inventory to air
  400. set slot 23 of player's current inventory to air
  401. set slot 24 of player's current inventory to air
  402. set slot 25 of player's current inventory to air
  403. set slot 26 of player's current inventory to air
  404. set slot 27 of player's current inventory to air
  405. set slot 28 of player's current inventory to air
  406. set slot 29 of player's current inventory to air
  407. set slot 30 of player's current inventory to air
  408. set slot 31 of player's current inventory to air
  409. set slot 32 of player's current inventory to air
  410. if name of clicked item is "&a装備":
  411. set slot 10 of player's current inventory to gray glass pane named "&1"
  412. set slot 11 of player's current inventory to gray glass pane named "&2"
  413. set slot 12 of player's current inventory to green glass pane named "&3"
  414. set slot 13 of player's current inventory to gray glass pane named "&4"
  415. set slot 14 of player's current inventory to gray glass pane named "&5"
  416. set slot 15 of player's current inventory to gray glass pane named "&6"
  417. set slot 16 of player's current inventory to gray glass pane named "&7"
  418. set slot 19 of player's current inventory to chainmail boots named "&aチェーンアーマー" with lore "&c" and "&7チェーンレギンス &8x1" and "&7チェーンブーツ &8x1" and "&1" and "&7Price: &6300"
  419. set slot 20 of player's current inventory to iron boots named "&a鉄アーマー" with lore "&c" and "&7鉄レギンス &8x1" and "&7鉄ブーツ &8x1" and "&1" and "&7Price: &6500"
  420. set slot 21 of player's current inventory to diamond boots named "&aダイヤモンドアーマー" with lore "&c" and "&7ダイヤモンドレギンス &8x1" and "&7ダイヤモンドブーツ &8x1" and "&1" and "&7Price: &61000"
  421. set slot 22 of player's current inventory to air
  422. set slot 23 of player's current inventory to air
  423. set slot 24 of player's current inventory to air
  424. set slot 25 of player's current inventory to air
  425. set slot 26 of player's current inventory to air
  426. set slot 27 of player's current inventory to air
  427. set slot 28 of player's current inventory to air
  428. set slot 29 of player's current inventory to air
  429. set slot 30 of player's current inventory to air
  430. set slot 31 of player's current inventory to air
  431. set slot 32 of player's current inventory to air
  432. if name of clicked item is "&aツール":
  433. set slot 10 of player's current inventory to gray glass pane named "&1"
  434. set slot 11 of player's current inventory to gray glass pane named "&2"
  435. set slot 12 of player's current inventory to gray glass pane named "&3"
  436. set slot 13 of player's current inventory to green glass pane named "&4"
  437. set slot 14 of player's current inventory to gray glass pane named "&5"
  438. set slot 15 of player's current inventory to gray glass pane named "&6"
  439. set slot 16 of player's current inventory to gray glass pane named "&7"
  440. set slot 19 of player's current inventory to stone pickaxe named "&a石のツルハシ" with lore "&c" and "&7石のツルハシ &8x1" and "&1" and "&7Price: &6100"
  441. set slot 20 of player's current inventory to stone axe named "&a石の斧" with lore "&c" and "&7石の斧 &8x1" and "&1" and "&7Price: &6100"
  442. set slot 21 of player's current inventory to stone shovel named "&a石のシャベル" with lore "&c" and "&7石のシャベル &8x1" and "&1" and "&7Price: &6100"
  443. set slot 22 of player's current inventory to air
  444. set slot 23 of player's current inventory to iron pickaxe named "&a鉄のツルハシ" with lore "&c" and "&7鉄のツルハシ &8x1" and "&1" and "&7Price: &6300"
  445. set slot 24 of player's current inventory to iron axe named "&a鉄の斧" with lore "&c" and "&7鉄の斧 &8x1" and "&1" and "&7Price: &6300"
  446. set slot 25 of player's current inventory to iron shovel named "&a鉄のシャベル" with lore "&c" and "&7鉄のシャベル &8x1" and "&1" and "&7Price: &6300"
  447. set slot 26 of player's current inventory to air
  448. set slot 27 of player's current inventory to air
  449. set slot 28 of player's current inventory to air
  450. set slot 29 of player's current inventory to air
  451. set slot 30 of player's current inventory to diamond pickaxe named "&aダイヤモンドのツルハシ" with lore "&c" and "&7ダイヤモンドのツルハシ &8x1" and "&1" and "&7Price: &6900"
  452. set slot 31 of player's current inventory to diamond axe named "&aダイヤモンドの斧" with lore "&c" and "&7ダイヤモンドの斧 &8x1" and "&1" and "&7Price: &6900"
  453. set slot 32 of player's current inventory to diamond shovel named "&aダイヤモンドのシャベル" with lore "&c" and "&7ダイヤモンドシャベル &8x1" and "&1" and "&7Price: &6900"
  454. if name of clicked item is "&a弓 & 矢":
  455. set slot 10 of player's current inventory to gray glass pane named "&1"
  456. set slot 11 of player's current inventory to gray glass pane named "&2"
  457. set slot 12 of player's current inventory to gray glass pane named "&3"
  458. set slot 13 of player's current inventory to gray glass pane named "&4"
  459. set slot 14 of player's current inventory to green glass pane named "&5"
  460. set slot 15 of player's current inventory to gray glass pane named "&6"
  461. set slot 16 of player's current inventory to gray glass pane named "&7"
  462. set slot 19 of player's current inventory to bow named "&a弓" with lore "&c" and "&7弓 &8x1" and "&1" and "&7Price: &61000"
  463. set slot 20 of player's current inventory to arrow named "&a矢" with lore "&c" and "&7矢 &8x16" and "&1" and "&7Price: &6500"
  464. set slot 21 of player's current inventory to air
  465. set slot 22 of player's current inventory to air
  466. set slot 23 of player's current inventory to air
  467. set slot 24 of player's current inventory to air
  468. set slot 25 of player's current inventory to air
  469. set slot 26 of player's current inventory to air
  470. set slot 27 of player's current inventory to air
  471. set slot 28 of player's current inventory to air
  472. set slot 29 of player's current inventory to air
  473. set slot 30 of player's current inventory to air
  474. set slot 31 of player's current inventory to air
  475. set slot 32 of player's current inventory to air
  476. if name of clicked item is "&aポーション":
  477. set slot 10 of player's current inventory to gray glass pane named "&1"
  478. set slot 11 of player's current inventory to gray glass pane named "&2"
  479. set slot 12 of player's current inventory to gray glass pane named "&3"
  480. set slot 13 of player's current inventory to gray glass pane named "&4"
  481. set slot 14 of player's current inventory to gray glass pane named "&5"
  482. set slot 15 of player's current inventory to green glass pane named "&6"
  483. set slot 16 of player's current inventory to gray glass pane named "&7"
  484. set slot 19 of player's current inventory to water bottle named "&aスピードポーション &7(II 60s)" with lore "&c" and "&7スピードポーション (II 60s) &8x1" and "&1" and "&7Price: &6300"
  485. set slot 20 of player's current inventory to water bottle named "&aジャンプ力上昇 &7(V 60s)" with lore "&c" and "&7ジャンプ力上昇ポーション (III 60s) &8x1" and "&1" and "&7Price: &6300"
  486. set slot 21 of player's current inventory to water bottle named "&a透明化ポーション &7(II 30s)" with lore "&c" and "&7透明化ポーション (II 30s) &8x1" and "&1" and "&7Price: &6400"
  487. set slot 22 of player's current inventory to air
  488. set slot 23 of player's current inventory to air
  489. set slot 24 of player's current inventory to air
  490. set slot 25 of player's current inventory to air
  491. set slot 26 of player's current inventory to air
  492. set slot 27 of player's current inventory to air
  493. set slot 28 of player's current inventory to air
  494. set slot 29 of player's current inventory to air
  495. set slot 30 of player's current inventory to air
  496. set slot 31 of player's current inventory to air
  497. set slot 32 of player's current inventory to air
  498. if name of clicked item is "&aその他":
  499. set slot 10 of player's current inventory to gray glass pane named "&1"
  500. set slot 11 of player's current inventory to gray glass pane named "&2"
  501. set slot 12 of player's current inventory to gray glass pane named "&3"
  502. set slot 13 of player's current inventory to gray glass pane named "&4"
  503. set slot 14 of player's current inventory to gray glass pane named "&5"
  504. set slot 15 of player's current inventory to gray glass pane named "&6"
  505. set slot 16 of player's current inventory to green glass pane named "&7"
  506. set slot 19 of player's current inventory to tnt named "&aTNT" with lore "&c" and "&7TNT &8x1" and "&1" and "&7Price: &6400"
  507. set slot 20 of player's current inventory to egg named "&a卵" with lore "&c" and "&7卵 &8x64" and "&1" and "&7Price: &6600"
  508. set slot 21 of player's current inventory to water bucket named "&a水バケツ" with lore "&c" and "&7水バケツ &8x1" and "&1" and "&7Price: &6200"
  509. set slot 22 of player's current inventory to lava bucket named "&a溶岩バケツ" with lore "&c" and "&7溶岩バケツ &8x1" and "&1" and "&7Price: &6300"
  510. set slot 23 of player's current inventory to air
  511. set slot 24 of player's current inventory to air
  512. set slot 25 of player's current inventory to air
  513. set slot 26 of player's current inventory to air
  514. set slot 27 of player's current inventory to air
  515. set slot 28 of player's current inventory to air
  516. set slot 29 of player's current inventory to air
  517. set slot 30 of player's current inventory to air
  518. set slot 31 of player's current inventory to air
  519. set slot 32 of player's current inventory to air
  520.  
  521. command /game <text>:
  522. permission: skript.admin
  523. trigger:
  524. if arg-1 is "false":
  525. set {game} to false
  526. set {lobby} to true
  527. send "&aGame mode: &cFalse"
  528. stop
  529. if arg-1 is "true":
  530. set {game} to true
  531. set {lobby} to false
  532. send "&aGame mode: &eTrue"
  533. stop
  534.  
  535. command /team <text>:
  536. trigger:
  537. if arg-1 is "red":
  538. set {red::*} to player
  539. delete {blue::*}
  540. send "&cYour Team Red!"
  541. if arg-1 is "blue":
  542. set {blue::*} to player
  543. delete {red::*}
  544. send "&9Your Team Blue!"
  545.  
  546. command /teamcheck:
  547. trigger:
  548. send "Red: &a%{red::*}%"
  549. send "Blue: &a%{blue::*}%"
  550.  
  551. on explode:
  552. cancel event
  553.  
  554. On consume a water bottle:
  555. if item is water bottle item named "&aスピードポーション":
  556. apply potion of speed of tier 2 to player for 60 seconds
  557. send "&aSpeed &7(II 60s)"
  558. if item is water bottle item named "&aジャンプ力上昇 &7(V 60s)":
  559. apply potion of jump boost of tier 5 to player for 60 seconds
  560. if item is water bottle item named "&a透明化ポーション &7(II 30s)":
  561. apply potion of invisibility of tier 2 to player for 30 seconds
  562.  
  563. on drop:
  564. if {lobby} is true:
  565. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement