Advertisement
Itsyuumello2

Untitled

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