SHARE
TWEET

Untitled

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