Itsyuumello2

Untitled

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