Itsyuumello2

Untitled

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