Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.38 KB | None | 0 0
  1. command /jk:
  2. permission: skript.ad
  3. trigger:
  4. loop all players:
  5. if {opjoin} is false:
  6. if loop-player do not have permission "sk.admin":
  7. set {oni} to random player of loop-player
  8. set {dete} to random player of loop-players
  9. if {opjoin} is true:
  10. set {oni} to random player of all players
  11. set {dete} to random player of all players
  12. if {oni} is {dete}:
  13. while {oni} is not {dete}:
  14. delete {dete}
  15. set {dete} to random player of all players
  16. loop all players:
  17. if loop-player is not {oni}:
  18. if {opjoin} is true:
  19. add loop-player to {allplayer::*}
  20. if {opjoin} is false:
  21. if loop-player do not have permission "sk.admin":
  22. add loop-player to {allplayer::*}
  23. if loop-player is {oni}:
  24. message "&cYour Murder!!" to loop-player
  25. if loop-player is {dete}:
  26. message "&bYour Detective!!" to loop-player
  27. if loop-player has permission "sk.admin":
  28. set {logs.%loop-player%} to false
  29. loop {allplayer::*}:
  30. add 1 to {players}
  31. add 1 to {member}
  32. add 1 to {member} #Muderの分とDetectiveの分
  33. execute {oni} command "/role murder"
  34. execute {allplayer::*} command "/role innocent"
  35. execute {dete} command "/role detective"
  36. execute {allplayer::*} command "/rs"
  37. execute {oni} command "/rs"
  38. wait 1 seconds
  39. loop all players:
  40. if loop-player has permission "sk.admin":
  41. set {logs.%loop-player%} to true
  42. stop
  43. command /opjoin <text>:
  44. permission: skript.ad
  45. trigger:
  46. if arg 1 is "on":
  47. set {opjoin} to true
  48. broadcast "&6opの参加を&aONに&6しました"
  49. stop
  50. if arg 1 is "off":
  51. set {opjoin} to false
  52. broadcast "&6opの参加を&cOFF&6にしました"
  53. command /stopgame:
  54. permission: skript.ad
  55. trigger:
  56. delete {oni}
  57. delete {allplayer::*}
  58. delete {death::*}
  59. delete {players}
  60. delete {member}
  61. delete {korosu}
  62. delete {dete}
  63. set {2m} to false
  64. set {1m} to false
  65. set {0m} to false
  66. set {game} to false
  67. message "リセットしました"
  68. execute console command "/time set day"
  69. execute console command "/clear @a"
  70. execute console command "/gamemode 2 @a"
  71. execute console command "/kill @e[type=item]"
  72. execute console command "/tp @a 0 4 0"
  73. set {shot} to 1
  74. broadcast "&6ゲームを終了しました"
  75. loop all players:
  76. set {death.%loop-player%} to false
  77. execute loop-player command "/rs lobby"
  78. if {regame} is true:
  79. broadcast "&6リスタートが有効になっているので45秒後にリスタートします"
  80. wait 45 seconds
  81. execute console command "/start"
  82. command /stoprestart <text>:
  83. permission: skript.ad
  84. trigger:
  85. if arg 1 is "off":
  86. broadcast "&6リスタートを&c無効にしました"
  87. set {regame} to false
  88. if arg 1 is "on":
  89. broadcast "&6リスタートを&a有効にしました"
  90. set {regame} to true
  91. command /de:
  92. permission: skript.ad
  93. trigger:
  94. delete {oni}
  95. delete {dete}
  96. delete {allplayer::*}
  97. delete {players}
  98. delete {member}
  99. set {game} to false
  100. set {shot} to 1
  101. execute console command "/hd delete Dete"
  102. message "リセットしました"
  103. loop all players:
  104. set {death.%loop-player%} to false
  105. command /start:
  106. permission: skript.ad
  107. trigger:
  108. set {game} to true
  109. if {game} is true:
  110. broadcast "&65秒後にゲームを開始します。少々ラグが生じますが気にしないでください"
  111. execute console command "/jk"
  112. wait 5 seconds
  113. if {member} < 2:
  114. broadcast "&6人数が足りないのでゲームを開始できません"
  115. execute console command "/stopgame"
  116. stop
  117. execute console command "/gamemode 2 @a"
  118. execute console command "/kill @e[type=item]"
  119. execute console command "/kill @e[type=arrow]"
  120. execute console command "/random"
  121. loop all players:
  122. if {invs.%loop-player%} is true:
  123. execute loop-player command "/invv"
  124. broadcast "&610秒後にMurderに剣が渡されます"
  125. wait 5 seconds
  126. broadcast "&e5"
  127. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  128. wait 1 seconds
  129. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  130. broadcast "&e4"
  131. wait 1 seconds
  132. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  133. broadcast "&e3"
  134. wait 1 seconds
  135. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  136. broadcast "&e2"
  137. wait 1 seconds
  138. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  139. broadcast "&e1"
  140. wait 1 seconds
  141. broadcast "&6Murderに剣が与えられました"
  142. execute console command "/playsound entity.zombie_villager.converted master @a ~ ~ ~ 1 1 1"
  143. set slot 1 of {oni} to iron sword
  144. set slot 0 of {dete} to bow
  145. set slot 1 of {dete} to arrow
  146. command /random:
  147. permission: skript.admin
  148. trigger:
  149. set {map} to random integer between 1 and {mapnum}
  150. if {map} is 1:
  151. set {1} to true
  152. broadcast "&l今回のMap:&f&6いつもの館"
  153. broadcast "&6[製作者] &f&nsiso_ & jeek2008 (解雇済み)"
  154. loop all players:
  155. execute loop-player command "/map1"
  156. if {map} is 2:
  157. set {2} to true
  158. broadcast "&l今回のMap:&f&7刑務所"
  159. broadcast "&6[製作者] &f&nfutabanyan106"
  160. loop all players:
  161. execute loop-player command "/map2"
  162. if {map} is 3:
  163. set {3} to true
  164. broadcast "&l今回のMap:&f&aDesert"
  165. broadcast "&6[製作者] &f&nfutabanyan106"
  166. loop all players:
  167. execute loop-player command "/map3"
  168. if {map} is 4:
  169. set {4} to true
  170. broadcast "&l今回のMap:&f&0Dark The Snow"
  171. broadcast "&6[製作者] &f&nToppi1228"
  172. loop all players:
  173. execute loop-player command "/map4"
  174. if {map} is 5:
  175. set {5} to true
  176. broadcast "&l今回のMap:&f&5廃墟"
  177. broadcast "&6[製作者] &f&nsiso_"
  178. loop all players:
  179. execute loop-player command "/map5"
  180. if {map} is 6:
  181. set {6} to true
  182. broadcast "&l今回のMap:&f&8某配管工"
  183. broadcast "&6[製作者] &f&nLostItem"
  184. loop all players:
  185. execute loop-player command "/map6"
  186. if {map} is 7:
  187. set {7} to true
  188. broadcast "&l今回のMap:&f&a庭園"
  189. broadcast "&6[製作者] &f&nHqko"
  190. loop all players:
  191. execute loop-player command "/map7"
  192. if {map} is 8:
  193. set {8} to true
  194. broadcast "&l今回のMap:&f&d田舎"
  195. broadcast "&6[製作者] &f&9_mIrAgEdayo_"
  196. loop all players:
  197. execute loop-player command "/map8"
  198. command /map1:
  199. trigger:
  200. if {1} is true:
  201. set {spawn.x} to random integer between 1 and 4
  202. if {spawn.x} is 1:
  203. teleport player to {spawn1}
  204. if {spawn.x} is 2:
  205. teleport player to {spawn2}
  206. if {spawn.x} is 3:
  207. teleport player to {spawn3}
  208. if {spawn.x} is 4:
  209. teleport player to {spawn4}
  210. command /map2:
  211. trigger:
  212. if {2} is true:
  213. set {spawn.l} to random integer between 1 and 4
  214. if {spawn.l} is 1:
  215. teleport player to {spawn5}
  216. if {spawn.l} is 2:
  217. teleport player to {spawn6}
  218. if {spawn.l} is 3:
  219. teleport player to {spawn7}
  220. if {spawn.l} is 4:
  221. teleport player to {spawn8}
  222. command /map3:
  223. trigger:
  224. if {3} is true:
  225. execute console command "/time set 16000"
  226. set {spawn.n} to random integer between 1 and 4
  227. if {spawn.n} is 1:
  228. teleport player to {spawn9}
  229. if {spawn.n} is 2:
  230. teleport player to {spawn10}
  231. if {spawn.n} is 3:
  232. teleport player to {spawn11}
  233. if {spawn.n} is 4:
  234. teleport player to {spawn12}
  235. command /map4:
  236. trigger:
  237. if {4} is true:
  238. execute console command "/time set 16000"
  239. set {spawn.b} to random integer between 1 and 4
  240. if {spawn.b} is 1:
  241. teleport player to {spawn13}
  242. if {spawn.b} is 2:
  243. teleport player to {spawn14}
  244. if {spawn.b} is 3:
  245. teleport player to {spawn14}
  246. if {spawn.b} is 4:
  247. teleport player to {spawn16}
  248. command /map5:
  249. trigger:
  250. if {5} is true:
  251. set {spawn.5} to random integer between 1 and 4
  252. if {spawn.5} is 1:
  253. teleport player to {spawn17}
  254. if {spawn.5} is 2:
  255. teleport player to {spawn18}
  256. if {spawn.5} is 3:
  257. teleport player to {spawn19}
  258. if {spawn.5} is 4:
  259. teleport player to {spawn20}
  260. command /map6:
  261. trigger:
  262. if {6} is true:
  263. set {spawn.6} to random integer between 1 and 4
  264. if {spawn.6} is 1:
  265. teleport player to {spawn21}
  266. if {spawn.6} is 2:
  267. teleport player to {spawn22}
  268. if {spawn.6} is 3:
  269. teleport player to {spawn23}
  270. if {spawn.6} is 4:
  271. teleport player to {spawn24}
  272. command /map7:
  273. trigger:
  274. if {7} is true:
  275. set {spawn.7} to random integer between 1 and 4
  276. if {spawn.7} is 1:
  277. teleport player to {spawn25}
  278. if {spawn.7} is 2:
  279. teleport player to {spawn26}
  280. if {spawn.7} is 3:
  281. teleport player to {spawn27}
  282. if {spawn.7} is 4:
  283. teleport player to {spawn28}
  284. command /map8:
  285. trigger:
  286. if {8} is true:
  287. set {spawn.7} to random integer between 1 and 4
  288. if {spawn.7} is 1:
  289. teleport player to {spawn29}
  290. if {spawn.7} is 2:
  291. teleport player to {spawn30}
  292. if {spawn.7} is 3:
  293. teleport player to {spawn31}
  294. if {spawn.7} is 4:
  295. teleport player to {spawn32}
  296. command /spawnsett <text>:
  297. permission: tag.spawn
  298. trigger:
  299. if arg 1 is "1":
  300. set {spawn1} to location of player
  301. message "1"
  302. if arg 1 is "2":
  303. set {spawn2} to location of player
  304. message "2"
  305. if arg 1 is "3":
  306. set {spawn3} to location of player
  307. message "3"
  308. if arg 1 is "4":
  309. set {spawn4} to location of player
  310. message "4"
  311. if arg 1 is "5": #ここからmap2
  312. set {spawn5} to location of player
  313. message "5"
  314. if arg 1 is "6":
  315. set {spawn6} to location of player
  316. message "6"
  317. if arg 1 is "7":
  318. set {spawn7} to location of player
  319. message "7"
  320. if arg 1 is "8":
  321. set {spawn8} to location of player
  322. message "8"
  323. if arg 1 is "9": #map3
  324. set {spawn9} to location of player
  325. message "9"
  326. if arg 1 is "10":
  327. set {spawn10} to location of player
  328. message "10"
  329. if arg 1 is "11":
  330. set {spawn11} to location of player
  331. message "11"
  332. if arg 1 is "12":
  333. set {spawn12} to location of player
  334. message "12"
  335. if arg 1 is "13": #map4
  336. set {spawn13} to location of player
  337. message "13"
  338. if arg 1 is "14":
  339. set {spawn14} to location of player
  340. message "14"
  341. if arg 1 is "15":
  342. set {spawn15} to location of player
  343. message "15"
  344. if arg 1 is "16":
  345. set {spawn16} to location of player
  346. message "16"
  347. if arg 1 is "17": #map5
  348. set {spawn17} to location of player
  349. message "17"
  350. if arg 1 is "18":
  351. set {spawn18} to location of player
  352. message "18"
  353. if arg 1 is "19":
  354. set {spawn19} to location of player
  355. message "19"
  356. if arg 1 is "20":
  357. set {spawn20} to location of player
  358. message "20"
  359. if arg 1 is "21": #map6
  360. set {spawn21} to location of player
  361. message "21"
  362. if arg 1 is "22":
  363. set {spawn22} to location of player
  364. message "22"
  365. if arg 1 is "23":
  366. set {spawn23} to location of player
  367. message "23"
  368. if arg 1 is "24":
  369. set {spawn24} to location of player
  370. message "24"
  371. if arg 1 is "25": #map7
  372. set {spawn25} to location of player
  373. message "25"
  374. if arg 1 is "26":
  375. set {spawn26} to location of player
  376. message "26"
  377. if arg 1 is "27":
  378. set {spawn27} to location of player
  379. message "27"
  380. if arg 1 is "28":
  381. set {spawn28} to location of player
  382. message "28"
  383. if arg 1 is "29": #map8
  384. set {spawn29} to location of player
  385. message "29"
  386. if arg 1 is "30":
  387. set {spawn30} to location of player
  388. message "30"
  389. if arg 1 is "31":
  390. set {spawn31} to location of player
  391. message "31"
  392. if arg 1 is "32":
  393. set {spawn32} to location of player
  394. message "32"
  395. if arg 1 is "delete":
  396. delete {spawn1}
  397. delete {spawn2}
  398. delete {spawn3}
  399. delete {spawn4}
  400. delete {spawn5}
  401. delete {spawn6}
  402. delete {spawn7}
  403. delete {spawn8}
  404. delete {spawn9}
  405. delete {spawn10}
  406. delete {spawn11}
  407. delete {spawn12}
  408. delete {spawn13}
  409. delete {spawn14}
  410. delete {spawn15}
  411. delete {spawn16}
  412. delete {spawn17}
  413. delete {spawn18}
  414. delete {spawn19}
  415. delete {spawn20}
  416. delete {spawn21}
  417. delete {spawn22}
  418. delete {spawn23}
  419. delete {spawn24}
  420. delete {spawn25}
  421. delete {spawn26}
  422. delete {spawn27}
  423. delete {spawn28}
  424. message "deleted"
  425. stop
  426. command /ma4 delete:
  427. permission: skript.ad
  428. trigger:
  429. delete {spawn13}
  430. delete {spawn14}
  431. delete {spawn15}
  432. delete {spawn16}
  433. message "aa"
  434. command /ma3 delete:
  435. permission: skript.ad
  436. trigger:
  437. delete {spawn12}
  438. delete {spawn11}
  439. delete {spawn10}
  440. delete {spawn9}
  441. message "aa&a"
  442. command /ma5 delete:
  443. permission: skript.ad
  444. trigger:
  445. delete {spawn17}
  446. delete {spawn18}
  447. delete {spawn19}
  448. delete {spawn20}
  449. message "aaa5"
  450. command /ma6 delete:
  451. permission: skript.ad
  452. trigger:
  453. delete {spawn21}
  454. delete {spawn22}
  455. delete {spawn23}
  456. delete {spawn24}
  457. message "aaa6"
  458. command /ma7 delete:
  459. permission: skript.ad
  460. trigger:
  461. delete {spawn25}
  462. delete {spawn26}
  463. delete {spawn27}
  464. delete {spawn28}
  465. message "aaa6"
  466. command /set3:
  467. permission: skript.setxp
  468. trigger:
  469. set {spawn9} to the location (1016, 4, 979)
  470. message "9"
  471. set {spawn10} to the location (979, 8, 987)
  472. message "10"
  473. set {spawn11} to the location (1018, 8, 1017)
  474. message "11"
  475. set {spawn12} to the location (988, 8, 1026)
  476. message "12"
  477. command /set4:
  478. permission: skript.setxp
  479. trigger:
  480. set {spawn13} to the location (2500, 4, 2494)
  481. message "13"
  482. set {spawn14} to the location (2483, 25, 2505)
  483. message "14"
  484. set {spawn15} to the location (2476, 4, 2537)
  485. message "15"
  486. set {spawn16} to the location (2515, 13, 2479)
  487. message "16"
  488. command /set5:
  489. permission: skript.setxp
  490. trigger:
  491. set {spawn17} to the location (4984, 12, 5015)
  492. message "17"
  493. set {spawn18} to the location (5007, 12, 5011)
  494. message "18"
  495. set {spawn19} to the location (4997, 4, 4991)
  496. message "19"
  497. set {spawn20} to the location (5011, 4, 5015)
  498. message "20"
  499. command /invv:
  500. trigger:
  501. if {inv.%player%} is true:
  502. execute console command "/effect %player% minecraft:invisibility 7 1 true"
  503. stop
  504. if {inv2.%player%} is true:
  505. execute console command "/effect %player% minecraft:invisibility 10 1 true"
  506. stop
  507. if {inv3.%player%} is true:
  508. execute console command "/effect %player% minecraft:invisibility 15 1 true"
  509. stop
  510. on pick up of gold ingot:
  511. if {sinnsoku.%player%} is true:
  512. apply speed 2 to the player for 10 tick
  513. if {sinnsoku2.%player%} is true:
  514. apply speed 2 to the player for 20 tick
  515. if {sinnsoku3.%player%} is true:
  516. apply speed 2 to the player for 40 tick
  517. if {luck.%player%} is true:
  518. chance of 10%:
  519. give gold ingot to player
  520. message "&eラッキー"
  521. if {luck2.%player%} is true:
  522. chance of 20%:
  523. give gold ingot to player
  524. message "&eラッキー"
  525. if {luck3.%player%} is true:
  526. chance of 30%:
  527. give gold ingot to player
  528. message "&eラッキー"
  529. message "&a+1xp"
  530. add 1 to {stats.%player%.xp}
  531. if number of all gold ingot in player's inventory is greater than 8:
  532. if player do not have bow:
  533. chance of 20%:
  534. give arrow to player
  535. message "&e&lラッキー 矢が二つ手に入った"
  536. execute console command "/playsound entity.cat.ambient ambient %player% ~ ~ ~ 1 2"
  537. give bow to player
  538. give arrow to player
  539. wait 5 tick
  540. remove 10 gold ingot from player's inventory
  541. execute console command "/playsound item.armor.equip_diamond ambient %player% ~ ~ ~ 1 1"
  542. stop
  543. if player has bow:
  544. give arrow to player
  545. wait 5 tick
  546. remove 10 gold ingot from player's inventory
  547. on rightclick holding gold ingot:
  548. wait a tick
  549. if number of all gold ingot in player's inventory is greater than 9:
  550. if player do not have bow:
  551. chance of 10%:
  552. give arrow to player
  553. message "&eラッキー☆ 矢が二つ手に入った"
  554. execute console command "/playsound entity.cat.ambient ambient %player% ~ ~ ~ 1 2"
  555. give bow to player
  556. give arrow to player
  557. wait 5 tick
  558. remove 10 gold ingot from player's inventory
  559. execute console command "/playsound item.armor.equip_diamond ambient %player% ~ ~ ~ 1 1"
  560. stop
  561. if player has bow:
  562. give arrow to player
  563. wait 5 tick
  564. remove 10 gold ingot from player's inventory
  565. else:
  566. if player do not have 10 gold ingot:
  567. message "&6弓と交換するには金が足りません!"
  568. on pick up of bow:
  569. if player is {oni}:
  570. if {detebow.%player%} is true:
  571. stop
  572. else:
  573. cancel event
  574. stop
  575. if player has bow:
  576. cancel event
  577. stop
  578. broadcast "&a%player%が&bDetectiveの弓を拾った"
  579. set {dete} to player
  580. give arrow to player
  581. on pick up arrow:
  582. if {arrow.%player%} is true:
  583. stop
  584. else:
  585. cancel event
  586. on rightclick holding iron sword:
  587. if {shot} is 0:
  588. message "&6もう矢を発射しました!"
  589. stop
  590. remove 1 from {shot}
  591. make the player shoot a arrow at speed 10
  592. wait 1 seconds
  593. if {players} is 0:
  594. broadcast "&cまーだー勝ち"
  595. wait 5 seconds
  596. execute console command "/stopgame"
  597. on leftclick holding bow:
  598. if player is {oni}:
  599. if player is sneaking:
  600. if {shine.%player%} is true:
  601. remove 1 of held item from player
  602. execute console command "/effect @a minecraft:glowing 2"
  603. broadcast "&cMurderが心眼を使った!"
  604. stop
  605. if {shine2.%player%} is true:
  606. remove 1 of held item from player
  607. execute console command "/effect @a minecraft:glowing 4"
  608. broadcast "&cMurderが心眼を使った!"
  609. stop
  610. if {shine3.%player%} is true:
  611. remove 1 of held item from player
  612. execute console command "/effect @a minecraft:glowing 8"
  613. broadcast "&cMurderが心眼を使った!"
  614. stop
  615. command /players:
  616. permission: skript.ad
  617. trigger:
  618. message "&a参加者は%{allplayer::*}%です!"
  619. message "&d人数は%{member}%です"
  620. message "&cマーダーは%{oni}%です"
  621. message "&bDetectiveは%{dete}%です"
  622. on death of player:
  623. if attacker is {oni}:
  624. if player is {dete} or {allplayer::*}:
  625. if projectile is arrow:
  626. if {nolog.%attacker%} is true:
  627. set death message to "&cMurder &f(、´・ω・)▄︻┻┳═一 &a%player%"
  628. on damage of player:
  629. if {game} is true:
  630. if attacker's tool is iron sword:
  631. if {players} is 1:
  632. broadcast "&c村人を全員倒した、マーダーの勝利!"
  633. execute console command "/playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 1 1 1"
  634. set victim's gamemode to spectator
  635. wait 1 seconds
  636. broadcast "&5===================================================="
  637. broadcast " &6今回のMurder &6Murderを倒した人"
  638. broadcast " &c%{oni}% いませんでした"
  639. wait 7 seconds
  640. execute console command "/stopgame"
  641. message "&a+30xp" to attacker
  642. add 30 to {stats.%attacker%.xp}
  643. add 1 to {stats.%attacker%.kill}
  644. stop
  645. set victim's gamemode to spectator
  646. remove 1 from {players}
  647. set {death.%victim%} to true
  648. execute console command "/playsound entity.hostile.hurt master @a ~ ~ ~ 1 1 1"
  649. message "&a+5xp" to attacker
  650. add 5 to {stats.%attacker%.xp}
  651. add 1 to {stats.%attacker%.kill}
  652. if victim is {dete}:
  653. drop bow at location of victim
  654. drop arrow at location of victim
  655. broadcast "&bDetectiveが倒された"
  656. loop all players:
  657. set action bar of loop-player to "&c%victim%が倒された、残り&a%{players}%&c人"
  658. stop
  659. if projectile is arrow:
  660. if victim is {oni}:
  661. broadcast "&aMurderを倒した、村人の勝利!"
  662. set {korosu} to attacker
  663. set victim's gamemode to spectator
  664. execute console command "/playsound entity.player.levelup master @a ~ ~ ~ 1 1 1"
  665. message "&a+15xp" to attacker
  666. add 15 to {stats.%attacker%.xp}
  667. add 1 to {stats.%attacker%.kill}
  668. loop all players:
  669. loop-player is {allplayer::*}:
  670. add 5 to {stats.%loop-player%.xp}
  671. message "&a+5xp" to loop-player
  672. wait 1 seconds
  673. broadcast " &6今回のMurder &6Murderを倒した人"
  674. broadcast " &c%{oni}% &a%{korosu}%"
  675. wait 7 seconds
  676. execute console command "/stopgame"
  677. stop
  678. if attacker is {oni}:
  679. if {players} is 1:
  680. broadcast "&c村人を全員倒した、マーダーの勝利!"
  681. execute console command "/playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 1 1 1"
  682. set victim's gamemode to spectator
  683. wait 1 seconds
  684. broadcast "&5===================================================="
  685. broadcast " &6今回のMurder &6Murderを倒した人"
  686. broadcast " &c%{oni}% いませんでした"
  687. wait 7 seconds
  688. execute console command "/stopgame"
  689. message "&a+30xp" to attacker
  690. add 30 to {stats.%attacker%.xp}
  691. add 1 to {stats.%attacker%.kill}
  692. stop
  693. set victim's gamemode to spectator
  694. remove 1 from {players}
  695. set {death.%victim%} to true
  696. execute console command "/playsound entity.hostile.hurt master @a ~ ~ ~ 1 1 1"
  697. message "&a+5xp" to attacker
  698. add 5 to {stats.%attacker%.xp}
  699. add 1 to {stats.%attacker%.kill}
  700. if victim is {dete}:
  701. drop bow at location of victim
  702. drop arrow at location of victim
  703. broadcast "&bDetectiveが倒された"
  704. delete {dete}
  705. loop all players:
  706. set action bar of loop-player to "&c%victim%が倒された、残り&a%{players}%&c人"
  707. stop
  708. if victim is {oni}:
  709. broadcast "&cError"
  710. execute console command "/stopgame"
  711. stop
  712. if attacker is victim:
  713. cancel event
  714. stop
  715. if attacker's tool is iron sword:
  716. remove 1 from {players}
  717. stop
  718. else:
  719. if {nosp.%attacker%} is true:
  720. message "&6Murderではなかったようだ..." to attacker
  721. execute console command "/playsound entity.wither.spawn master %attacker% ~ ~ ~ 1 1 1"
  722. remove 1 from {players}
  723. broadcast "&d誤射:&5攻撃者 %attacker%・&c犠牲者 &e%victim%"
  724. remove 1 from {stats.%attacker%.xp}
  725. message "&c-10xp" to attacker
  726. loop all players:
  727. if loop-player has permission "sk.admin":
  728. message "&d誤射&5%attacker%・&e%victim% &6もし自殺だった場合その人をBAN or KICKしてください" to loop-player
  729. wait 30 tick
  730. if {players} is 0:
  731. broadcast "&5村人が誤って村人を倒してしまった、Murderの勝利"
  732. wait 10 seconds
  733. execute console command "/stopgame"
  734. stop
  735. set victim's gamemode to spectator
  736. set attacker's gamemode to spectator
  737. remove 15 from {stats.%attacker%.xp}
  738. message "&c-15xp" to attacker
  739. message "&6Murderではなかったようだ..." to attacker
  740. execute console command "/playsound entity.wither.spawn master %attacker% ~ ~ ~ 1 1 1"
  741. remove 2 from {players}
  742. broadcast "&d誤射:&5攻撃者 %attacker%・&c犠牲者 &e%victim%"
  743. remove 15 from {stats.%attacker%.xp}
  744. loop all players:
  745. if loop-player has permission "sk.admin":
  746. message "&d誤射&5%attacker%・&e%victim% &6もし自殺だった場合その人をBAN or KICKしてください" to loop-player
  747. wait 30 tick
  748. if {players} is 0:
  749. broadcast "&5村人が誤って村人を倒してしまった、Murderの勝利"
  750. wait 10 seconds
  751. execute console command "/stopgame"
  752. stop
  753. else:
  754. cancel event
  755. if {game} is false:
  756. cancel event
  757. command /sinnda:
  758. permission: skript.ad
  759. trigger:
  760. remove 1 from {players}
  761. message "-1"
  762. command /reloadstats [<text>]:
  763. aliases: /rs
  764. trigger:
  765. if arg 1 is not set:
  766. if {dete} is not set:
  767. wipe player's sidebar
  768. set name of sidebar of player to "&5Murder Mystery"
  769. set score "&6sisoPixel" in sidebar of player to 1
  770. set score "" in sidebar of player to 2
  771. set score "Detective: &bいません" in sidebar of player to 3
  772. set score "" in sidebar of player to 4
  773. set score "参加者: &a%{member}%" in sidebar of player to 5
  774. set score "" in sidebar of player to 6
  775. set score "Role: %{Role.%player%}%" in sidebar of player to 7
  776. set score "" in sidebar of player to 8
  777. stop
  778. wipe player's sidebar
  779. set name of sidebar of player to "&5Murder Mystery"
  780. set score "&6sisoPixel" in sidebar of player to 1
  781. set score "" in sidebar of player to 2
  782. set score "Detective: &b%{dete}%" in sidebar of player to 3
  783. set score "" in sidebar of player to 4
  784. set score "参加者: &a%{member}%" in sidebar of player to 5
  785. set score "" in sidebar of player to 6
  786. set score "Role: %{Role.%player%}%" in sidebar of player to 7
  787. set score "" in sidebar of player to 8
  788. stop
  789. if arg 1 is "deathdev":
  790. wipe player's sidebar
  791. set name of sidebar of player to "&5Murder Mystery"
  792. set score "&6sisoPixel" in sidebar of player to 1
  793. set score "" in sidebar of player to 2
  794. set score "Detective: &a死亡" in sidebar of player to 3
  795. set score "" in sidebar of player to 4
  796. set score "Time Left: &aTime" in sidebar of player to 5
  797. set score "Innocent Left: &a%{players}%" in sidebar of player to 6
  798. set score "" in sidebar of player to 7
  799. set score "Role: %{Role.%player%}%" in sidebar of player to 8
  800. set score "" in sidebar of player to 9
  801. if arg 1 is "lobby":
  802. wipe player's sidebar
  803. set name of sidebar of player to "&eしその鯖"
  804. set score "&6sisoPixel" in sidebar of player to 1
  805. set score "" in sidebar of player to 2
  806. set score "XP: &a%{stats.%player%.xp}%" in sidebar of player to 3
  807. set score "Kills: &c%{stats.%player%.kill}%" in sidebar of player to 4
  808. set score "&b===Your Stats===" in sidebar of player to 5
  809. set score "" in sidebar of player to 6
  810. command /allplayer:
  811. permission: skript.ad
  812. trigger:
  813. loop all players:
  814. set tab header to "&5Murder Mystery" and footer to "&6sisoPixel" for loop-player
  815. on first join:
  816. wait a tick
  817. set player's gamemode to adventure
  818. execute console command "/tp %player% 0 4 0"
  819. set tab header to "&5Murder Mystery" and footer to "&6SisoPixel&a%number of all players%&7/15" for player
  820. on join:
  821. set player's gamemode to adventure
  822. execute console command "/tp %player% 0 4 0"
  823. broadcast "&e%player%がサーバーに参加しました"
  824. execute console command "/clear %player%"
  825. wait 5 tick
  826. set tab header to "&5Murder Mystery" and footer to "&6SisoPixel &a%number of all players%&7/15" for player
  827. on quit:
  828. wait 1 tick
  829. loop all players:
  830. wait 5 tick
  831. set tab header to "&5Murder Mystery" and footer to "&6SisoPixel &a%number of all players%&7/15" for loop-player
  832. if player is {oni}:
  833. broadcast "&6鬼が抜けたので強制終了します、※ゲーム中にサーバーを抜けるのは控えてください"
  834. execute console command "/stopgame"
  835. stop
  836. if player is {allplayer::*}:
  837. if {death.%player%} is true:
  838. remove 1 from {member}
  839. stop
  840. if player is {allplayer::*}:
  841. remove 1 from {players}
  842. remove 1 from {member}
  843. command /setxp <player> <number>:
  844. permission: skript.setxp
  845. trigger:
  846. set {stats.%arg 1%.xp} to arg 2
  847. broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9にしました。"
  848. execute arg 1 command "/rs lobby"
  849. command /setkill <player> <number>:
  850. permission: skript.setkill
  851. trigger:
  852. set {stats.%arg 1%.kill} to arg 2
  853. broadcast "&e%player%&9さんが&b%arg 1%&9さんのKillを&c%arg 2%&9Killにしました。"
  854. execute arg 1 command "/rs lobby"
  855. command /addxp <player> <number>:
  856. permission: skript.ad
  857. trigger:
  858. if arg 1 is set:
  859. if arg 2 is set:
  860. add arg 2 to {stats.%arg 1%.xp}
  861. broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9増やしました。"
  862. execute arg 1 command "/rs lobby"
  863. stop
  864. if arg 1 is not set:
  865. loop all players:
  866. add 10 to {stats.%loop-player%.xp}
  867. execute loop-player command "/rs lobby"
  868. broadcast "66全員のxpを10増やしました!"
  869. stop
  870. command /Role <text>:
  871. trigger:
  872. if arg 1 is "murder":
  873. set {Role.%player%} to "&cMurder"
  874. stop
  875. if arg 1 is "Innocent":
  876. set {Role.%player%} to "&aInnocent"
  877. stop
  878. if arg 1 is "detective":
  879. set {Role.%player%} to "&bDetective"
  880. stop
  881. on drop:
  882. if player do not have permission "sk.admin":
  883. cancel event
  884. on command "fun":
  885. message "つかうな失せろ"
  886. cancel event
  887. on command "kifumenu":
  888. message "つかうな失せろ"
  889. cancel event
  890. command /fun:
  891. trigger:
  892. stop
  893. command /funmenu:
  894. trigger:
  895. stop
  896. on right click on a villager:
  897. wait 1 ticks
  898. open chest with 2 row named "&6Perkの購入" to player
  899. format slot 0 of player with experience bottle named "&bXP : &e%{stats.%player%.xp}%" to close
  900. if {sinnsoku.%player%} is true:
  901. if {stats.%player%.xp} >= 700:
  902. format slot 2 of player with sugar named "&9&l神速Lv2" with lore "&d金を取ると足が速くなります。||&a(700xp)" to close then run [execute player command "/pay sinnsoku2"]
  903. if {stats.%player%.xp} <= 700:
  904. format slot 2 of player with sugar named "&9&l神速Lv2" with lore "&d金を取ると足が速くなります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=700)" to be unstealable
  905. stop
  906. else:
  907. if {stats.%player%.xp} >= 500:
  908. format slot 2 of player with sugar named "&9&l神速" with lore "&d金を取ると足が速くなります。||&a(500xp)" to close then run [execute player command "/pay sinnsoku"]
  909. if {stats.%player%.xp} <= 500:
  910. format slot 2 of player with sugar named "&9&l神速" with lore "&d金を取ると足が速くなります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=500)" to be unstealable
  911. if {sinnsoku2.%player%} is true:
  912. if {stats.%player%.xp} >= 1000:
  913. format slot 2 of player with sugar named "&9&l神速Lv3" with lore "&d金を取ると足が速くなります。||&a(1000xp)" to close then run [execute player command "/pay sinnsoku3"]
  914. if {stats.%player%.xp} <= 1000:
  915. format slot 2 of player with sugar named "&9&l神速Lv3" with lore "&d金を取ると足が速くなります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=1000)" to be unstealable
  916. if {sinnsoku3.%player%} is true:
  917. format slot 2 of player with sugar named "&b&l神速 &aComplete!!" to be unstealable
  918. #luck
  919. if {luck.%player%} is true:
  920. if {stats.%player%.xp} >= 800:
  921. format slot 3 of player with gold ingot named "&e&lラッキーLv2" with lore "&d金を取った時20%%の確率でもう一個金が手に入ります。||&a(800xp)" to close then run [execute player command "/pay luck2"]
  922. if {stats.%player%.xp} <= 800:
  923. format slot 3 of player with gold ingot named "&e&lラッキーLv2" with lore "&d金を取った時20%%の確率でもう一個金が手に入ります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=800)" to be unstealable
  924. stop
  925. else:
  926. if {stats.%player%.xp} >= 600:
  927. format slot 3 of player with gold ingot named "&e&lラッキー" with lore "&d金を取った時10%%の確率でもう一個金が手に入ります。||&a(600xp)" to close then run [execute player command "/pay luck"]
  928. if {stats.%player%.xp} <= 600:
  929. format slot 3 of player with gold ingot named "&e&lラッキー" with lore "&d金を取った時10%%の確率でもう一個金が手に入ります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=600)" to be unstealable
  930. if {luck2.%player%} is true:
  931. if {stats.%player%.xp} >= 1000:
  932. format slot 3 of player with gold ingot named "&e&lラッキーLv3" with lore "&d金を取った時30%%の確率でもう一個金が手に入ります。||&a(1000xp)" to close then run [execute player command "/pay luck3"]
  933. if {stats.%player%.xp} <= 1000:
  934. format slot 3 of player with gold ingot named "&e&lラッキーLv3" with lore "&d金を取った時30%%の確率でもう一個金が手に入ります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=1000)" to be unstealable
  935. if {luck3.%player%} is true:
  936. format slot 3 of player with gold ingot named "&e&lラッキー &aComplete!!" to be unstealable
  937. #心眼
  938. if {shine.%player%} is true:
  939. if {stats.%player%.xp} >= 350:
  940. format slot 11 of player with Pumpkin named "&5&l心眼Lv2" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。|| &a(350xp)" to close then run [execute player command "/pay shine2"]
  941. if {stats.%player%.xp} <= 350:
  942. format slot 11 of player with Pumpkin named "&5&l心眼Lv2" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。|| &c(あなたは購入条件を満たしてません!) &6(必要xp=350)" to be unstealable
  943. stop
  944. else:
  945. if {stats.%player%.xp} >= 150:
  946. format slot 11 of player with Pumpkin named "&5&l心眼" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。||&a(150xp)" to close then run [execute player command "/pay shine"]
  947. if {stats.%player%.xp} <= 150:
  948. format slot 11 of player with Pumpkin named "&5&l心眼" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。||&c(あなたは購入条件を満たしてません!) &6(必要xp=150)" to be unstealable
  949. if {shine2.%player%} is true:
  950. if {stats.%player%.xp} >= 500:
  951. format slot 11 of player with Pumpkin named "&5&l心眼Lv3" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。||&a(500xp)" to close then run [execute player command "/pay shine3"]
  952. if {stats.%player%.xp} <= 500:
  953. format slot 11 of player with Pumpkin named "&5&l心眼Lv3" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。||&c(あなたは購入条件を満たしてません!) &6(必要xp=500)" to be unstealable
  954. if {shine3.%player%} is true:
  955. format slot 11 of player with Pumpkin named "&5&l心眼 &aComplete!!" to be unstealable
  956. #透明
  957. if {inv.%player%} is true:
  958. if {stats.%player%.xp} >= 450:
  959. format slot 4 of player with Bone named "&7&l透明Lv2" with lore "&d開始時に透明が付きます。|| &a(450xp)" to close then run [execute player command "/pay inv2"]
  960. if {stats.%player%.xp} <= 450:
  961. format slot 4 of player with Bone named "&7&l透明Lv2" with lore "&d開始時に透明が付きます。|| &c(あなたは購入条件を満たしてません!) &6(必要xp=450)" to be unstealable
  962. stop
  963. else:
  964. if {stats.%player%.xp} >= 130:
  965. format slot 4 of player with Bone named "&7&l透明" with lore "&d開始時に透明が付きます。||&a(130xp)" to close then run [execute player command "/pay inv"]
  966. if {stats.%player%.xp} <= 130:
  967. format slot 4 of player with Bone named "&7&l透明" with lore "&d開始時に透明が付きます。||&c(あなたは購入条件を満たしてません!) &6(必要xp=130)" to be unstealable
  968. if {inv2.%player%} is true:
  969. if {stats.%player%.xp} >= 1200:
  970. format slot 4 of player with Bone named "&7&l透明Lv3" with lore "&d開始時に透明が付きます。||&a(1200xp)" to close then run [execute player command "/pay inv3"]
  971. if {stats.%player%.xp} <= 1200:
  972. format slot 4 of player with Bone named "&7&l透明Lv3" with lore "&d開始時に透明が付きます。||&c(あなたは購入条件を満たしてません!) &6(必要xp=1200)" to be unstealable
  973. if {inv3.%player%} is true:
  974. format slot 4 of player with Bone named "&7&l透明 &aComplete!!" to be unstealable
  975. if {stats.%player%.xp} >= 100:
  976. format slot 5 of player with arrow named "&3物拾い" with lore "&d落ちてる矢を回収できます。||&a(100xp)" to close then run [execute player command "/pay arrow"]
  977. if {stats.%player%.xp} <= 100:
  978. format slot 5 of player with arrow named "&3物拾い" with lore "&d落ちてる矢を回収できます。||&c(あなたは購入条件を満たしてません!)&6(必要xp=100)" to be unstealable
  979. if {arrow.%player%} is true:
  980. format slot 5 of player with arrow named "&3物拾い" with lore "&aComplete!!" to be unstealable
  981. if {stats.%player%.xp} >= 100:
  982. format slot 12 of player with bow named "&bDetectiveBow" with lore "&dDetectiveが落とした弓を拾えます。||&a(100xp)" to close then run [execute player command "/pay detebow"]
  983. if {stats.%player%.xp} <= 100:
  984. format slot 12 of player with bow named "&bDetectiveBow" with lore "&dDetectiveが落とした弓を拾えます。||&c(あなたは購入条件を満たしてません!)&6(必要xp=100)" to be unstealable
  985. if {detebow.%player%} is true:
  986. format slot 12 of player with bow named "&bDetectiveBow" with lore "&aComplete!!" to be unstealable
  987. if {stats.%player%.xp} >= 200:
  988. format slot 13 of player with bow named "&9FuckingShot" with lore "&d矢で倒したときのキルログが消えます。||&a(200xp)" to close then run [execute player command "/pay nolog"]
  989. if {stats.%player%.xp} <= 200:
  990. format slot 13 of player with gunpowder named "&9FuckingShot" with lore "&d矢で倒したときのキルログが消えます。||&c(あなたは購入条件を満たしてません!)&6(必要xp=200)" to be unstealable
  991. if {nolog.%player%} is true:
  992. format slot 13 of player with gunpowder named "&9FuckingShot" with lore "&aComplete!!" to be unstealable
  993. command /pay <text>:
  994. trigger:
  995. if arg 1 is "sinnsoku":
  996. broadcast "&e%player%が&9&l神速&6を購入しました!"
  997. set {sinnsoku.%player%} to true
  998. remove 500 from {stats.%player%.xp}
  999. if arg 1 is "sinnsoku2":
  1000. broadcast "&e%player%が&b&l神速Lv2&6を購入しました!"
  1001. delete {sinnsoku.%player%}
  1002. set {sinnsoku2.%player%} to true
  1003. remove 700 from {stats.%player%.xp}
  1004. if arg 1 is "sinnsoku3":
  1005. broadcast "&e%player%が&b&l神速Lv3&6を購入しました!"
  1006. delete {sinnsoku2.%player%}
  1007. set {sinnsoku3.%player%} to true
  1008. remove 1000 from {stats.%player%.xp}
  1009. #ちゃう
  1010. if arg 1 is "luck":
  1011. broadcast "&e%player%が&e&lラッキー&6を購入しました!"
  1012. set {luck.%player%} to true
  1013. remove 600 from {stats.%player%.xp}
  1014. if arg 1 is "luck2":
  1015. broadcast "&e%player%が&e&lラッキーLv2&6を購入しました!"
  1016. delete {luck.%player%}
  1017. set {luck2.%player%} to true
  1018. remove 800 from {stats.%player%.xp}
  1019. if arg 1 is "luck3":
  1020. broadcast "&e%player%が&e&lラッキーLv3&6を購入しました!"
  1021. delete {luck2.%player%}
  1022. set {luck3.%player%} to true
  1023. remove 1000 from {stats.%player%.xp}
  1024. #しんがん
  1025. if arg 1 is "shine":
  1026. broadcast "&e%player%が&5&l心眼&6を購入しました!"
  1027. set {shine.%player%} to true
  1028. remove 150 from {stats.%player%.xp}
  1029. if arg 1 is "shine2":
  1030. broadcast "&e%player%が&5&l心眼Lv2&6を購入しました!"
  1031. delete {shine.%player%}
  1032. set {shine2.%player%} to true
  1033. remove 350 from {stats.%player%.xp}
  1034. if arg 1 is "shine3":
  1035. broadcast "&e%player%が&5&l心眼Lv3&6を購入しました!"
  1036. delete {shine2.%player%}
  1037. set {shine3.%player%} to true
  1038. remove 500 from {stats.%player%.xp}
  1039. #inv
  1040. if arg 1 is "inv":
  1041. broadcast "&e%player%が&7&l透明さん&6を購入しました!"
  1042. set {inv.%player%} to true
  1043. set {invs.%player%} to true
  1044. remove 130 from {stats.%player%.xp}
  1045. if arg 1 is "inv2":
  1046. broadcast "&e%player%が&7&l透明さんLv2&6を購入しました!"
  1047. delete {inv.%player%}
  1048. set {inv2.%player%} to true
  1049. set {invs.%player%} to true
  1050. remove 450 from {stats.%player%.xp}
  1051. if arg 1 is "inv3":
  1052. broadcast "&e%player%が&7&l透明さんLv3&6を購入しました!"
  1053. delete {inv2.%player%}
  1054. set {inv3.%player%} to true
  1055. remove 1200 from {stats.%player%.xp}
  1056. #arrow
  1057. if arg 1 is "arrow":
  1058. broadcast "&e%player%が&3&l物拾い&6を購入しました!"
  1059. set {arrow.%player%} to true
  1060. remove 100 from {stats.%player%.xp}
  1061. #detebow
  1062. if arg 1 is "detebow":
  1063. broadcast "&e%player%が&b&lDetectiveBow&6を購入しました!"
  1064. set {detebow.%player%} to true
  1065. remove 100 from {stats.%player%.xp}
  1066. #FuckingShot
  1067. if arg 1 is "nolog":
  1068. broadcast "&e%player%が&9&lFuckingShot&6を購入しました!"
  1069. set {nolog.%player%} to true
  1070. remove 100 from {stats.%player%.xp}
  1071. every 10 minutes:
  1072. execute console command "/me ビルダー募集してます Discord→https://discord.gg/PXtdk5Q"
  1073. command /slot:
  1074. trigger:
  1075. message "&eXPギャンブルスタート!"
  1076. message "&c-5xp"
  1077. remove 5 from {stats.%player%.xp}
  1078. wait 1 seconds
  1079. message "&6・"
  1080. wait 1 seconds
  1081. message "&6・・"
  1082. wait 1 seconds
  1083. message "&6・・・"
  1084. wait 1 seconds
  1085. chance of 50%:
  1086. message "&e勝ち!!!!"
  1087. add 10 to {stats.%player%.xp}
  1088. message "&a+10xp"
  1089. execute player command "/rs lobby"
  1090. if {game} is true:
  1091. execute player command "/rs"
  1092. stop
  1093. message "&7負け..."
  1094. execute player command "/rs lobby"
  1095. if {game} is true:
  1096. execute player command "/rs"
  1097. #Report
  1098. command /report [<player>] [<text>]:
  1099. aliases: /rp
  1100. trigger:
  1101. if arg 1 is not set:
  1102. message "&8&m----------------------------"
  1103. message "/rp &c(player) &9(reson)"
  1104. message "&8&m----------------------------"
  1105. stop
  1106. if arg 2 is not set:
  1107. message "&8&m----------------------------"
  1108. message "/rp &c(player) &9(reson)"
  1109. message "&8&m----------------------------"
  1110. stop
  1111. add 1 to {log.hensuu}
  1112. set {log::%{log.hensuu}%} to "%player%が報告 &c%arg 1% &9%arg 2%"
  1113. play sound "entity.villager.ambient" at player
  1114. loop all players:
  1115. if loop-player is op:
  1116. message "%player%が報告 &c%arg 1% &9%arg 2%"
  1117. command /clogs:
  1118. permission: skript.admin
  1119. trigger:
  1120. set {c.logs} to 1
  1121. loop {log.hensuu} times:
  1122. message "%{log::%{c.logs}%}%"
  1123. add 1 to {c.logs}
  1124. play sound "block.fire.extinguish" at player
  1125. command /resetlogs:
  1126. permission: skript.ad
  1127. trigger:
  1128. message "&cリセットしました。"
  1129. set {log.hensuu} to 0
  1130. play sound "block.anvil.place" at player
  1131. loop all players:
  1132. delete {sinnsoku.%loop-player%}
  1133. command /fuckoff:
  1134. trigger:
  1135. delete {sinnsoku.%player%}
  1136. delete {sinnsoku2.%player%}
  1137. delete {sinnsoku3.%player%}
  1138. delete {shine.%player%}
  1139. delete {shine2.%player%}
  1140. delete {shine3.%player%}
  1141. delete {inv.%player%}
  1142. delete {inv2.%player%}
  1143. delete {inv3.%player%}
  1144. delete {invv.%player%}
  1145. delete {luck.%player%}
  1146. delete {luck2.%player%}
  1147. delete {luck3.%player%}
  1148. message "park deleted"
  1149. on rightclick on a cow:
  1150. if player has 1 gold ingot:
  1151. remove 1 gold ingot from player's inventory
  1152. apply speed 2 to the player for 20 seconds
  1153. command /tabchange [<text>] [<text>]:
  1154. aliases: /tc
  1155. permission: skript.ad
  1156. trigger:
  1157. play sound "entity.itemframe.place" at player
  1158. if arg 1 is not set:
  1159. message "&8使い方"
  1160. message "&a&0/tabchange &5(text) &5(text) &7※/tc"
  1161. loop all players:
  1162. set tab header to "%colored arg-1%" and footer to "%colored arg-2%" for loop-player
  1163. stop
  1164. on rightclick holding paper:
  1165. name of held item contains "100円寄付ありがとう"
  1166. add 10 to {stats.%player%.xp}
  1167. message "&a+10xp"
  1168. execute player command "/rs lobby"
  1169. remove 1 of held item from player
  1170. on rightclick holding paper:
  1171. name of held item contains "500円寄付ありがとう"
  1172. add 50 to {stats.%player%.xp}
  1173. execute player command "/rs lobby"
  1174. message "&a+50xp"
  1175. remove 1 of held item from player
  1176. on rightclick holding paper:
  1177. name of held item contains "vote特典"
  1178. add 100 to {stats.%player%.xp}
  1179. message "&a+100xp"
  1180. broadcast "&e%player%&6さんがログインボーナスで&a100XP&6を手に入れました!"
  1181. execute player command "/rs lobby"
  1182. remove 1 of held item from player
  1183. on rightclick holding paper:
  1184. name of held item contains "ガチャ"
  1185. remove 1 of held item from player
  1186. set {g} to random integer between 1 and 4
  1187. if {g} is 1:
  1188. add 100 to {stats.%player%.xp}
  1189. message "&a+100xp"
  1190. broadcast "&e%player%&6がガチャ券で&a+100XP&6された"
  1191. if {g} is 2:
  1192. add 50 to {stats.%player%.xp}
  1193. message "&a+50xp"
  1194. if {g} is 3:
  1195. add 10 to {stats.%player%.xp}
  1196. message "&a+10xp"
  1197. if {g} is 4:
  1198. message "&9大チャンスの予感!!"
  1199. wait 3 seconds
  1200. chance of 60:
  1201. add 150 to {stats.%player%.xp}
  1202. message "&a+100xp"
  1203. broadcast "&e%player%&bがガチャ券で大当たりを出した!!&a+150XPされた"
  1204. stop
  1205. message "予感は外れた..."
  1206. execute player command "/rs lobby"
  1207. remove 1 of held item from player
  1208. command /housyu:
  1209. trigger:
  1210. broadcast "&e%player%&6さんがアスレをクリアして&a+5xp&6もらいました"
  1211. add 5 to {stats.%player%.xp}
  1212. execute console command "/tp %player% 0 4 0"
  1213. command /murder:
  1214. permission: skript.ad
  1215. trigger:
  1216. message "/startでスタート"
  1217. message "/opjoin off/on でOPの参加を変える"
  1218. message "/stoprestart on/off でリスタートのおんおふ"
  1219. message "/stopgame で終了(バグが起きたときだけつかって)"
  1220. message "&a/opjoin をオフにするとDetectiveが選ばれなくなるバグがあるから控えて"
  1221. message "&a参加したくないときは、/sinndaをやって作業して"
  1222. message "&6コマンドを不正に使ってる人いたらBANしね"
  1223. on rightclick holding lever:
  1224. loop 3 times:
  1225. shoot an arrow at speed 10
  1226. command /buppa <text>:
  1227. permission: skript.ad
  1228. trigger:
  1229. if arg 1 is "on":
  1230. set {nosp.%player%} to true
  1231. send "しなない"
  1232. if arg 1 is "off":
  1233. delete {nosp.%player%}
  1234. send "しぬ"
  1235. on leaves decay:
  1236. cancel event
  1237. command /vip <player>:
  1238. permission: skript.ad
  1239. trigger:
  1240. stop
  1241. command /mapnum <number>:
  1242. permission: skript.ad
  1243. trigger:
  1244. set {mapnum} to arg
  1245. message "&6%{mapnum}%にしました"
  1246. stop
  1247. command /ping [<player>]:
  1248. trigger:
  1249. if arg 1 is not set:
  1250. set {_ping} to player's ping
  1251. message "&6Your Ping &a%{_ping}% ms" to player
  1252. stop
  1253. if arg 1 is set:
  1254. set {_ping} to arg-player's ping
  1255. message "&6%arg 1% Ping &a%{_ping}% ms" to player
  1256. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement