Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /jk:
- permission: skript.ad
- trigger:
- loop all players:
- if {opjoin} is false:
- if loop-player do not have permission "sk.admin":
- set {oni} to random player of loop-player
- set {dete} to random player of loop-players
- if {opjoin} is true:
- set {oni} to random player of all players
- set {dete} to random player of all players
- if {oni} is {dete}:
- while {oni} is not {dete}:
- delete {dete}
- set {dete} to random player of all players
- loop all players:
- if loop-player is not {oni}:
- if {opjoin} is true:
- add loop-player to {allplayer::*}
- if {opjoin} is false:
- if loop-player do not have permission "sk.admin":
- add loop-player to {allplayer::*}
- if loop-player is {oni}:
- message "&cYour Murder!!" to loop-player
- if loop-player is {dete}:
- message "&bYour Detective!!" to loop-player
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to false
- loop {allplayer::*}:
- add 1 to {players}
- add 1 to {member}
- add 1 to {member} #Muderの分とDetectiveの分
- execute {oni} command "/role murder"
- execute {allplayer::*} command "/role innocent"
- execute {dete} command "/role detective"
- execute {allplayer::*} command "/rs"
- execute {oni} command "/rs"
- wait 1 seconds
- loop all players:
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to true
- stop
- command /opjoin <text>:
- permission: skript.ad
- trigger:
- if arg 1 is "on":
- set {opjoin} to true
- broadcast "&6opの参加を&aONに&6しました"
- stop
- if arg 1 is "off":
- set {opjoin} to false
- broadcast "&6opの参加を&cOFF&6にしました"
- command /stopgame:
- permission: skript.ad
- trigger:
- delete {oni}
- delete {allplayer::*}
- delete {death::*}
- delete {players}
- delete {member}
- delete {korosu}
- delete {dete}
- set {2m} to false
- set {1m} to false
- set {0m} to false
- set {game} to false
- message "リセットしました"
- execute console command "/time set day"
- execute console command "/clear @a"
- execute console command "/gamemode 2 @a"
- execute console command "/kill @e[type=item]"
- execute console command "/tp @a 0 4 0"
- set {shot} to 1
- broadcast "&6ゲームを終了しました"
- loop all players:
- set {death.%loop-player%} to false
- execute loop-player command "/rs lobby"
- if {regame} is true:
- broadcast "&6リスタートが有効になっているので45秒後にリスタートします"
- wait 45 seconds
- execute console command "/start"
- command /stoprestart <text>:
- permission: skript.ad
- trigger:
- if arg 1 is "off":
- broadcast "&6リスタートを&c無効にしました"
- set {regame} to false
- if arg 1 is "on":
- broadcast "&6リスタートを&a有効にしました"
- set {regame} to true
- command /de:
- permission: skript.ad
- trigger:
- delete {oni}
- delete {dete}
- delete {allplayer::*}
- delete {players}
- delete {member}
- set {game} to false
- set {shot} to 1
- execute console command "/hd delete Dete"
- message "リセットしました"
- loop all players:
- set {death.%loop-player%} to false
- command /start:
- permission: skript.ad
- trigger:
- set {game} to true
- if {game} is true:
- broadcast "&65秒後にゲームを開始します。少々ラグが生じますが気にしないでください"
- execute console command "/jk"
- wait 5 seconds
- if {member} < 2:
- broadcast "&6人数が足りないのでゲームを開始できません"
- execute console command "/stopgame"
- stop
- execute console command "/gamemode 2 @a"
- execute console command "/kill @e[type=item]"
- execute console command "/kill @e[type=arrow]"
- execute console command "/random"
- loop all players:
- if {invs.%loop-player%} is true:
- execute loop-player command "/invv"
- broadcast "&610秒後にMurderに剣が渡されます"
- wait 5 seconds
- broadcast "&e5"
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e4"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e3"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e2"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e1"
- wait 1 seconds
- broadcast "&6Murderに剣が与えられました"
- execute console command "/playsound entity.zombie_villager.converted master @a ~ ~ ~ 1 1 1"
- set slot 1 of {oni} to iron sword
- set slot 0 of {dete} to bow
- set slot 1 of {dete} to arrow
- command /random:
- permission: skript.admin
- trigger:
- set {map} to random integer between 1 and {mapnum}
- if {map} is 1:
- set {1} to true
- broadcast "&l今回のMap:&f&6いつもの館"
- broadcast "&6[製作者] &f&nsiso_ & jeek2008 (解雇済み)"
- loop all players:
- execute loop-player command "/map1"
- if {map} is 2:
- set {2} to true
- broadcast "&l今回のMap:&f&7刑務所"
- broadcast "&6[製作者] &f&nfutabanyan106"
- loop all players:
- execute loop-player command "/map2"
- if {map} is 3:
- set {3} to true
- broadcast "&l今回のMap:&f&aDesert"
- broadcast "&6[製作者] &f&nfutabanyan106"
- loop all players:
- execute loop-player command "/map3"
- if {map} is 4:
- set {4} to true
- broadcast "&l今回のMap:&f&0Dark The Snow"
- broadcast "&6[製作者] &f&nToppi1228"
- loop all players:
- execute loop-player command "/map4"
- if {map} is 5:
- set {5} to true
- broadcast "&l今回のMap:&f&5廃墟"
- broadcast "&6[製作者] &f&nsiso_"
- loop all players:
- execute loop-player command "/map5"
- if {map} is 6:
- set {6} to true
- broadcast "&l今回のMap:&f&8某配管工"
- broadcast "&6[製作者] &f&nLostItem"
- loop all players:
- execute loop-player command "/map6"
- if {map} is 7:
- set {7} to true
- broadcast "&l今回のMap:&f&a庭園"
- broadcast "&6[製作者] &f&nHqko"
- loop all players:
- execute loop-player command "/map7"
- if {map} is 8:
- set {8} to true
- broadcast "&l今回のMap:&f&d田舎"
- broadcast "&6[製作者] &f&9_mIrAgEdayo_"
- loop all players:
- execute loop-player command "/map8"
- command /map1:
- trigger:
- if {1} is true:
- set {spawn.x} to random integer between 1 and 4
- if {spawn.x} is 1:
- teleport player to {spawn1}
- if {spawn.x} is 2:
- teleport player to {spawn2}
- if {spawn.x} is 3:
- teleport player to {spawn3}
- if {spawn.x} is 4:
- teleport player to {spawn4}
- command /map2:
- trigger:
- if {2} is true:
- set {spawn.l} to random integer between 1 and 4
- if {spawn.l} is 1:
- teleport player to {spawn5}
- if {spawn.l} is 2:
- teleport player to {spawn6}
- if {spawn.l} is 3:
- teleport player to {spawn7}
- if {spawn.l} is 4:
- teleport player to {spawn8}
- command /map3:
- trigger:
- if {3} is true:
- execute console command "/time set 16000"
- set {spawn.n} to random integer between 1 and 4
- if {spawn.n} is 1:
- teleport player to {spawn9}
- if {spawn.n} is 2:
- teleport player to {spawn10}
- if {spawn.n} is 3:
- teleport player to {spawn11}
- if {spawn.n} is 4:
- teleport player to {spawn12}
- command /map4:
- trigger:
- if {4} is true:
- execute console command "/time set 16000"
- set {spawn.b} to random integer between 1 and 4
- if {spawn.b} is 1:
- teleport player to {spawn13}
- if {spawn.b} is 2:
- teleport player to {spawn14}
- if {spawn.b} is 3:
- teleport player to {spawn14}
- if {spawn.b} is 4:
- teleport player to {spawn16}
- command /map5:
- trigger:
- if {5} is true:
- set {spawn.5} to random integer between 1 and 4
- if {spawn.5} is 1:
- teleport player to {spawn17}
- if {spawn.5} is 2:
- teleport player to {spawn18}
- if {spawn.5} is 3:
- teleport player to {spawn19}
- if {spawn.5} is 4:
- teleport player to {spawn20}
- command /map6:
- trigger:
- if {6} is true:
- set {spawn.6} to random integer between 1 and 4
- if {spawn.6} is 1:
- teleport player to {spawn21}
- if {spawn.6} is 2:
- teleport player to {spawn22}
- if {spawn.6} is 3:
- teleport player to {spawn23}
- if {spawn.6} is 4:
- teleport player to {spawn24}
- command /map7:
- trigger:
- if {7} is true:
- set {spawn.7} to random integer between 1 and 4
- if {spawn.7} is 1:
- teleport player to {spawn25}
- if {spawn.7} is 2:
- teleport player to {spawn26}
- if {spawn.7} is 3:
- teleport player to {spawn27}
- if {spawn.7} is 4:
- teleport player to {spawn28}
- command /map8:
- trigger:
- if {8} is true:
- set {spawn.7} to random integer between 1 and 4
- if {spawn.7} is 1:
- teleport player to {spawn29}
- if {spawn.7} is 2:
- teleport player to {spawn30}
- if {spawn.7} is 3:
- teleport player to {spawn31}
- if {spawn.7} is 4:
- teleport player to {spawn32}
- command /spawnsett <text>:
- permission: tag.spawn
- trigger:
- if arg 1 is "1":
- set {spawn1} to location of player
- message "1"
- if arg 1 is "2":
- set {spawn2} to location of player
- message "2"
- if arg 1 is "3":
- set {spawn3} to location of player
- message "3"
- if arg 1 is "4":
- set {spawn4} to location of player
- message "4"
- if arg 1 is "5": #ここからmap2
- set {spawn5} to location of player
- message "5"
- if arg 1 is "6":
- set {spawn6} to location of player
- message "6"
- if arg 1 is "7":
- set {spawn7} to location of player
- message "7"
- if arg 1 is "8":
- set {spawn8} to location of player
- message "8"
- if arg 1 is "9": #map3
- set {spawn9} to location of player
- message "9"
- if arg 1 is "10":
- set {spawn10} to location of player
- message "10"
- if arg 1 is "11":
- set {spawn11} to location of player
- message "11"
- if arg 1 is "12":
- set {spawn12} to location of player
- message "12"
- if arg 1 is "13": #map4
- set {spawn13} to location of player
- message "13"
- if arg 1 is "14":
- set {spawn14} to location of player
- message "14"
- if arg 1 is "15":
- set {spawn15} to location of player
- message "15"
- if arg 1 is "16":
- set {spawn16} to location of player
- message "16"
- if arg 1 is "17": #map5
- set {spawn17} to location of player
- message "17"
- if arg 1 is "18":
- set {spawn18} to location of player
- message "18"
- if arg 1 is "19":
- set {spawn19} to location of player
- message "19"
- if arg 1 is "20":
- set {spawn20} to location of player
- message "20"
- if arg 1 is "21": #map6
- set {spawn21} to location of player
- message "21"
- if arg 1 is "22":
- set {spawn22} to location of player
- message "22"
- if arg 1 is "23":
- set {spawn23} to location of player
- message "23"
- if arg 1 is "24":
- set {spawn24} to location of player
- message "24"
- if arg 1 is "25": #map7
- set {spawn25} to location of player
- message "25"
- if arg 1 is "26":
- set {spawn26} to location of player
- message "26"
- if arg 1 is "27":
- set {spawn27} to location of player
- message "27"
- if arg 1 is "28":
- set {spawn28} to location of player
- message "28"
- if arg 1 is "29": #map8
- set {spawn29} to location of player
- message "29"
- if arg 1 is "30":
- set {spawn30} to location of player
- message "30"
- if arg 1 is "31":
- set {spawn31} to location of player
- message "31"
- if arg 1 is "32":
- set {spawn32} to location of player
- message "32"
- if arg 1 is "delete":
- delete {spawn1}
- delete {spawn2}
- delete {spawn3}
- delete {spawn4}
- delete {spawn5}
- delete {spawn6}
- delete {spawn7}
- delete {spawn8}
- delete {spawn9}
- delete {spawn10}
- delete {spawn11}
- delete {spawn12}
- delete {spawn13}
- delete {spawn14}
- delete {spawn15}
- delete {spawn16}
- delete {spawn17}
- delete {spawn18}
- delete {spawn19}
- delete {spawn20}
- delete {spawn21}
- delete {spawn22}
- delete {spawn23}
- delete {spawn24}
- delete {spawn25}
- delete {spawn26}
- delete {spawn27}
- delete {spawn28}
- message "deleted"
- stop
- command /ma4 delete:
- permission: skript.ad
- trigger:
- delete {spawn13}
- delete {spawn14}
- delete {spawn15}
- delete {spawn16}
- message "aa"
- command /ma3 delete:
- permission: skript.ad
- trigger:
- delete {spawn12}
- delete {spawn11}
- delete {spawn10}
- delete {spawn9}
- message "aa&a"
- command /ma5 delete:
- permission: skript.ad
- trigger:
- delete {spawn17}
- delete {spawn18}
- delete {spawn19}
- delete {spawn20}
- message "aaa5"
- command /ma6 delete:
- permission: skript.ad
- trigger:
- delete {spawn21}
- delete {spawn22}
- delete {spawn23}
- delete {spawn24}
- message "aaa6"
- command /ma7 delete:
- permission: skript.ad
- trigger:
- delete {spawn25}
- delete {spawn26}
- delete {spawn27}
- delete {spawn28}
- message "aaa6"
- command /set3:
- permission: skript.setxp
- trigger:
- set {spawn9} to the location (1016, 4, 979)
- message "9"
- set {spawn10} to the location (979, 8, 987)
- message "10"
- set {spawn11} to the location (1018, 8, 1017)
- message "11"
- set {spawn12} to the location (988, 8, 1026)
- message "12"
- command /set4:
- permission: skript.setxp
- trigger:
- set {spawn13} to the location (2500, 4, 2494)
- message "13"
- set {spawn14} to the location (2483, 25, 2505)
- message "14"
- set {spawn15} to the location (2476, 4, 2537)
- message "15"
- set {spawn16} to the location (2515, 13, 2479)
- message "16"
- command /set5:
- permission: skript.setxp
- trigger:
- set {spawn17} to the location (4984, 12, 5015)
- message "17"
- set {spawn18} to the location (5007, 12, 5011)
- message "18"
- set {spawn19} to the location (4997, 4, 4991)
- message "19"
- set {spawn20} to the location (5011, 4, 5015)
- message "20"
- command /invv:
- trigger:
- if {inv.%player%} is true:
- execute console command "/effect %player% minecraft:invisibility 7 1 true"
- stop
- if {inv2.%player%} is true:
- execute console command "/effect %player% minecraft:invisibility 10 1 true"
- stop
- if {inv3.%player%} is true:
- execute console command "/effect %player% minecraft:invisibility 15 1 true"
- stop
- on pick up of gold ingot:
- if {sinnsoku.%player%} is true:
- apply speed 2 to the player for 10 tick
- if {sinnsoku2.%player%} is true:
- apply speed 2 to the player for 20 tick
- if {sinnsoku3.%player%} is true:
- apply speed 2 to the player for 40 tick
- if {luck.%player%} is true:
- chance of 10%:
- give gold ingot to player
- message "&eラッキー"
- if {luck2.%player%} is true:
- chance of 20%:
- give gold ingot to player
- message "&eラッキー"
- if {luck3.%player%} is true:
- chance of 30%:
- give gold ingot to player
- message "&eラッキー"
- message "&a+1xp"
- add 1 to {stats.%player%.xp}
- if number of all gold ingot in player's inventory is greater than 8:
- if player do not have bow:
- chance of 20%:
- give arrow to player
- message "&e&lラッキー 矢が二つ手に入った"
- execute console command "/playsound entity.cat.ambient ambient %player% ~ ~ ~ 1 2"
- give bow to player
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- execute console command "/playsound item.armor.equip_diamond ambient %player% ~ ~ ~ 1 1"
- stop
- if player has bow:
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- on rightclick holding gold ingot:
- wait a tick
- if number of all gold ingot in player's inventory is greater than 9:
- if player do not have bow:
- chance of 10%:
- give arrow to player
- message "&eラッキー☆ 矢が二つ手に入った"
- execute console command "/playsound entity.cat.ambient ambient %player% ~ ~ ~ 1 2"
- give bow to player
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- execute console command "/playsound item.armor.equip_diamond ambient %player% ~ ~ ~ 1 1"
- stop
- if player has bow:
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- else:
- if player do not have 10 gold ingot:
- message "&6弓と交換するには金が足りません!"
- on pick up of bow:
- if player is {oni}:
- if {detebow.%player%} is true:
- stop
- else:
- cancel event
- stop
- if player has bow:
- cancel event
- stop
- broadcast "&a%player%が&bDetectiveの弓を拾った"
- set {dete} to player
- give arrow to player
- on pick up arrow:
- if {arrow.%player%} is true:
- stop
- else:
- cancel event
- on rightclick holding iron sword:
- if {shot} is 0:
- message "&6もう矢を発射しました!"
- stop
- remove 1 from {shot}
- make the player shoot a arrow at speed 10
- wait 1 seconds
- if {players} is 0:
- broadcast "&cまーだー勝ち"
- wait 5 seconds
- execute console command "/stopgame"
- on leftclick holding bow:
- if player is {oni}:
- if player is sneaking:
- if {shine.%player%} is true:
- remove 1 of held item from player
- execute console command "/effect @a minecraft:glowing 2"
- broadcast "&cMurderが心眼を使った!"
- stop
- if {shine2.%player%} is true:
- remove 1 of held item from player
- execute console command "/effect @a minecraft:glowing 4"
- broadcast "&cMurderが心眼を使った!"
- stop
- if {shine3.%player%} is true:
- remove 1 of held item from player
- execute console command "/effect @a minecraft:glowing 8"
- broadcast "&cMurderが心眼を使った!"
- stop
- command /players:
- permission: skript.ad
- trigger:
- message "&a参加者は%{allplayer::*}%です!"
- message "&d人数は%{member}%です"
- message "&cマーダーは%{oni}%です"
- message "&bDetectiveは%{dete}%です"
- on death of player:
- if attacker is {oni}:
- if player is {dete} or {allplayer::*}:
- if projectile is arrow:
- if {nolog.%attacker%} is true:
- set death message to "&cMurder &f(、´・ω・)▄︻┻┳═一 &a%player%"
- on damage of player:
- if {game} is true:
- if attacker's tool is iron sword:
- if {players} is 1:
- broadcast "&c村人を全員倒した、マーダーの勝利!"
- execute console command "/playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 1 1 1"
- set victim's gamemode to spectator
- wait 1 seconds
- broadcast "&5===================================================="
- broadcast " &6今回のMurder &6Murderを倒した人"
- broadcast " &c%{oni}% いませんでした"
- wait 7 seconds
- execute console command "/stopgame"
- message "&a+30xp" to attacker
- add 30 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- stop
- set victim's gamemode to spectator
- remove 1 from {players}
- set {death.%victim%} to true
- execute console command "/playsound entity.hostile.hurt master @a ~ ~ ~ 1 1 1"
- message "&a+5xp" to attacker
- add 5 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- if victim is {dete}:
- drop bow at location of victim
- drop arrow at location of victim
- broadcast "&bDetectiveが倒された"
- loop all players:
- set action bar of loop-player to "&c%victim%が倒された、残り&a%{players}%&c人"
- stop
- if projectile is arrow:
- if victim is {oni}:
- broadcast "&aMurderを倒した、村人の勝利!"
- set {korosu} to attacker
- set victim's gamemode to spectator
- execute console command "/playsound entity.player.levelup master @a ~ ~ ~ 1 1 1"
- message "&a+15xp" to attacker
- add 15 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- loop all players:
- loop-player is {allplayer::*}:
- add 5 to {stats.%loop-player%.xp}
- message "&a+5xp" to loop-player
- wait 1 seconds
- broadcast " &6今回のMurder &6Murderを倒した人"
- broadcast " &c%{oni}% &a%{korosu}%"
- wait 7 seconds
- execute console command "/stopgame"
- stop
- if attacker is {oni}:
- if {players} is 1:
- broadcast "&c村人を全員倒した、マーダーの勝利!"
- execute console command "/playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 1 1 1"
- set victim's gamemode to spectator
- wait 1 seconds
- broadcast "&5===================================================="
- broadcast " &6今回のMurder &6Murderを倒した人"
- broadcast " &c%{oni}% いませんでした"
- wait 7 seconds
- execute console command "/stopgame"
- message "&a+30xp" to attacker
- add 30 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- stop
- set victim's gamemode to spectator
- remove 1 from {players}
- set {death.%victim%} to true
- execute console command "/playsound entity.hostile.hurt master @a ~ ~ ~ 1 1 1"
- message "&a+5xp" to attacker
- add 5 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- if victim is {dete}:
- drop bow at location of victim
- drop arrow at location of victim
- broadcast "&bDetectiveが倒された"
- delete {dete}
- loop all players:
- set action bar of loop-player to "&c%victim%が倒された、残り&a%{players}%&c人"
- stop
- if victim is {oni}:
- broadcast "&cError"
- execute console command "/stopgame"
- stop
- if attacker is victim:
- cancel event
- stop
- if attacker's tool is iron sword:
- remove 1 from {players}
- stop
- else:
- if {nosp.%attacker%} is true:
- message "&6Murderではなかったようだ..." to attacker
- execute console command "/playsound entity.wither.spawn master %attacker% ~ ~ ~ 1 1 1"
- remove 1 from {players}
- broadcast "&d誤射:&5攻撃者 %attacker%・&c犠牲者 &e%victim%"
- remove 1 from {stats.%attacker%.xp}
- message "&c-10xp" to attacker
- loop all players:
- if loop-player has permission "sk.admin":
- message "&d誤射&5%attacker%・&e%victim% &6もし自殺だった場合その人をBAN or KICKしてください" to loop-player
- wait 30 tick
- if {players} is 0:
- broadcast "&5村人が誤って村人を倒してしまった、Murderの勝利"
- wait 10 seconds
- execute console command "/stopgame"
- stop
- set victim's gamemode to spectator
- set attacker's gamemode to spectator
- remove 15 from {stats.%attacker%.xp}
- message "&c-15xp" to attacker
- message "&6Murderではなかったようだ..." to attacker
- execute console command "/playsound entity.wither.spawn master %attacker% ~ ~ ~ 1 1 1"
- remove 2 from {players}
- broadcast "&d誤射:&5攻撃者 %attacker%・&c犠牲者 &e%victim%"
- remove 15 from {stats.%attacker%.xp}
- loop all players:
- if loop-player has permission "sk.admin":
- message "&d誤射&5%attacker%・&e%victim% &6もし自殺だった場合その人をBAN or KICKしてください" to loop-player
- wait 30 tick
- if {players} is 0:
- broadcast "&5村人が誤って村人を倒してしまった、Murderの勝利"
- wait 10 seconds
- execute console command "/stopgame"
- stop
- else:
- cancel event
- if {game} is false:
- cancel event
- command /sinnda:
- permission: skript.ad
- trigger:
- remove 1 from {players}
- message "-1"
- command /reloadstats [<text>]:
- aliases: /rs
- trigger:
- if arg 1 is not set:
- if {dete} is not set:
- wipe player's sidebar
- set name of sidebar of player to "&5Murder Mystery"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "Detective: &bいません" in sidebar of player to 3
- set score "" in sidebar of player to 4
- set score "参加者: &a%{member}%" in sidebar of player to 5
- set score "" in sidebar of player to 6
- set score "Role: %{Role.%player%}%" in sidebar of player to 7
- set score "" in sidebar of player to 8
- stop
- wipe player's sidebar
- set name of sidebar of player to "&5Murder Mystery"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "Detective: &b%{dete}%" in sidebar of player to 3
- set score "" in sidebar of player to 4
- set score "参加者: &a%{member}%" in sidebar of player to 5
- set score "" in sidebar of player to 6
- set score "Role: %{Role.%player%}%" in sidebar of player to 7
- set score "" in sidebar of player to 8
- stop
- if arg 1 is "deathdev":
- wipe player's sidebar
- set name of sidebar of player to "&5Murder Mystery"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "Detective: &a死亡" in sidebar of player to 3
- set score "" in sidebar of player to 4
- set score "Time Left: &aTime" in sidebar of player to 5
- set score "Innocent Left: &a%{players}%" in sidebar of player to 6
- set score "" in sidebar of player to 7
- set score "Role: %{Role.%player%}%" in sidebar of player to 8
- set score "" in sidebar of player to 9
- if arg 1 is "lobby":
- wipe player's sidebar
- set name of sidebar of player to "&eしその鯖"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "XP: &a%{stats.%player%.xp}%" in sidebar of player to 3
- set score "Kills: &c%{stats.%player%.kill}%" in sidebar of player to 4
- set score "&b===Your Stats===" in sidebar of player to 5
- set score "" in sidebar of player to 6
- command /allplayer:
- permission: skript.ad
- trigger:
- loop all players:
- set tab header to "&5Murder Mystery" and footer to "&6sisoPixel" for loop-player
- on first join:
- wait a tick
- set player's gamemode to adventure
- execute console command "/tp %player% 0 4 0"
- set tab header to "&5Murder Mystery" and footer to "&6SisoPixel&a%number of all players%&7/15" for player
- on join:
- set player's gamemode to adventure
- execute console command "/tp %player% 0 4 0"
- broadcast "&e%player%がサーバーに参加しました"
- execute console command "/clear %player%"
- wait 5 tick
- set tab header to "&5Murder Mystery" and footer to "&6SisoPixel &a%number of all players%&7/15" for player
- on quit:
- wait 1 tick
- loop all players:
- wait 5 tick
- set tab header to "&5Murder Mystery" and footer to "&6SisoPixel &a%number of all players%&7/15" for loop-player
- if player is {oni}:
- broadcast "&6鬼が抜けたので強制終了します、※ゲーム中にサーバーを抜けるのは控えてください"
- execute console command "/stopgame"
- stop
- if player is {allplayer::*}:
- if {death.%player%} is true:
- remove 1 from {member}
- stop
- if player is {allplayer::*}:
- remove 1 from {players}
- remove 1 from {member}
- command /setxp <player> <number>:
- permission: skript.setxp
- trigger:
- set {stats.%arg 1%.xp} to arg 2
- broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9にしました。"
- execute arg 1 command "/rs lobby"
- command /setkill <player> <number>:
- permission: skript.setkill
- trigger:
- set {stats.%arg 1%.kill} to arg 2
- broadcast "&e%player%&9さんが&b%arg 1%&9さんのKillを&c%arg 2%&9Killにしました。"
- execute arg 1 command "/rs lobby"
- command /addxp <player> <number>:
- permission: skript.ad
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- add arg 2 to {stats.%arg 1%.xp}
- broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9増やしました。"
- execute arg 1 command "/rs lobby"
- stop
- if arg 1 is not set:
- loop all players:
- add 10 to {stats.%loop-player%.xp}
- execute loop-player command "/rs lobby"
- broadcast "66全員のxpを10増やしました!"
- stop
- command /Role <text>:
- trigger:
- if arg 1 is "murder":
- set {Role.%player%} to "&cMurder"
- stop
- if arg 1 is "Innocent":
- set {Role.%player%} to "&aInnocent"
- stop
- if arg 1 is "detective":
- set {Role.%player%} to "&bDetective"
- stop
- on drop:
- if player do not have permission "sk.admin":
- cancel event
- on command "fun":
- message "つかうな失せろ"
- cancel event
- on command "kifumenu":
- message "つかうな失せろ"
- cancel event
- command /fun:
- trigger:
- stop
- command /funmenu:
- trigger:
- stop
- on right click on a villager:
- wait 1 ticks
- open chest with 2 row named "&6Perkの購入" to player
- format slot 0 of player with experience bottle named "&bXP : &e%{stats.%player%.xp}%" to close
- if {sinnsoku.%player%} is true:
- if {stats.%player%.xp} >= 700:
- 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"]
- if {stats.%player%.xp} <= 700:
- format slot 2 of player with sugar named "&9&l神速Lv2" with lore "&d金を取ると足が速くなります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=700)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 500:
- format slot 2 of player with sugar named "&9&l神速" with lore "&d金を取ると足が速くなります。||&a(500xp)" to close then run [execute player command "/pay sinnsoku"]
- if {stats.%player%.xp} <= 500:
- format slot 2 of player with sugar named "&9&l神速" with lore "&d金を取ると足が速くなります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=500)" to be unstealable
- if {sinnsoku2.%player%} is true:
- if {stats.%player%.xp} >= 1000:
- 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"]
- if {stats.%player%.xp} <= 1000:
- format slot 2 of player with sugar named "&9&l神速Lv3" with lore "&d金を取ると足が速くなります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=1000)" to be unstealable
- if {sinnsoku3.%player%} is true:
- format slot 2 of player with sugar named "&b&l神速 &aComplete!!" to be unstealable
- #luck
- if {luck.%player%} is true:
- if {stats.%player%.xp} >= 800:
- 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"]
- if {stats.%player%.xp} <= 800:
- format slot 3 of player with gold ingot named "&e&lラッキーLv2" with lore "&d金を取った時20%%の確率でもう一個金が手に入ります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=800)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 600:
- 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"]
- if {stats.%player%.xp} <= 600:
- format slot 3 of player with gold ingot named "&e&lラッキー" with lore "&d金を取った時10%%の確率でもう一個金が手に入ります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=600)" to be unstealable
- if {luck2.%player%} is true:
- if {stats.%player%.xp} >= 1000:
- 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"]
- if {stats.%player%.xp} <= 1000:
- format slot 3 of player with gold ingot named "&e&lラッキーLv3" with lore "&d金を取った時30%%の確率でもう一個金が手に入ります。||&c(あなたは購入条件を満たしてません!) &6(必要xp=1000)" to be unstealable
- if {luck3.%player%} is true:
- format slot 3 of player with gold ingot named "&e&lラッキー &aComplete!!" to be unstealable
- #心眼
- if {shine.%player%} is true:
- if {stats.%player%.xp} >= 350:
- 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"]
- if {stats.%player%.xp} <= 350:
- format slot 11 of player with Pumpkin named "&5&l心眼Lv2" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。|| &c(あなたは購入条件を満たしてません!) &6(必要xp=350)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 150:
- format slot 11 of player with Pumpkin named "&5&l心眼" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。||&a(150xp)" to close then run [execute player command "/pay shine"]
- if {stats.%player%.xp} <= 150:
- format slot 11 of player with Pumpkin named "&5&l心眼" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。||&c(あなたは購入条件を満たしてません!) &6(必要xp=150)" to be unstealable
- if {shine2.%player%} is true:
- if {stats.%player%.xp} >= 500:
- 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"]
- if {stats.%player%.xp} <= 500:
- format slot 11 of player with Pumpkin named "&5&l心眼Lv3" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。||&c(あなたは購入条件を満たしてません!) &6(必要xp=500)" to be unstealable
- if {shine3.%player%} is true:
- format slot 11 of player with Pumpkin named "&5&l心眼 &aComplete!!" to be unstealable
- #透明
- if {inv.%player%} is true:
- if {stats.%player%.xp} >= 450:
- 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"]
- if {stats.%player%.xp} <= 450:
- format slot 4 of player with Bone named "&7&l透明Lv2" with lore "&d開始時に透明が付きます。|| &c(あなたは購入条件を満たしてません!) &6(必要xp=450)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 130:
- format slot 4 of player with Bone named "&7&l透明" with lore "&d開始時に透明が付きます。||&a(130xp)" to close then run [execute player command "/pay inv"]
- if {stats.%player%.xp} <= 130:
- format slot 4 of player with Bone named "&7&l透明" with lore "&d開始時に透明が付きます。||&c(あなたは購入条件を満たしてません!) &6(必要xp=130)" to be unstealable
- if {inv2.%player%} is true:
- if {stats.%player%.xp} >= 1200:
- 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"]
- if {stats.%player%.xp} <= 1200:
- format slot 4 of player with Bone named "&7&l透明Lv3" with lore "&d開始時に透明が付きます。||&c(あなたは購入条件を満たしてません!) &6(必要xp=1200)" to be unstealable
- if {inv3.%player%} is true:
- format slot 4 of player with Bone named "&7&l透明 &aComplete!!" to be unstealable
- if {stats.%player%.xp} >= 100:
- format slot 5 of player with arrow named "&3物拾い" with lore "&d落ちてる矢を回収できます。||&a(100xp)" to close then run [execute player command "/pay arrow"]
- if {stats.%player%.xp} <= 100:
- format slot 5 of player with arrow named "&3物拾い" with lore "&d落ちてる矢を回収できます。||&c(あなたは購入条件を満たしてません!)&6(必要xp=100)" to be unstealable
- if {arrow.%player%} is true:
- format slot 5 of player with arrow named "&3物拾い" with lore "&aComplete!!" to be unstealable
- if {stats.%player%.xp} >= 100:
- format slot 12 of player with bow named "&bDetectiveBow" with lore "&dDetectiveが落とした弓を拾えます。||&a(100xp)" to close then run [execute player command "/pay detebow"]
- if {stats.%player%.xp} <= 100:
- format slot 12 of player with bow named "&bDetectiveBow" with lore "&dDetectiveが落とした弓を拾えます。||&c(あなたは購入条件を満たしてません!)&6(必要xp=100)" to be unstealable
- if {detebow.%player%} is true:
- format slot 12 of player with bow named "&bDetectiveBow" with lore "&aComplete!!" to be unstealable
- if {stats.%player%.xp} >= 200:
- format slot 13 of player with bow named "&9FuckingShot" with lore "&d矢で倒したときのキルログが消えます。||&a(200xp)" to close then run [execute player command "/pay nolog"]
- if {stats.%player%.xp} <= 200:
- format slot 13 of player with gunpowder named "&9FuckingShot" with lore "&d矢で倒したときのキルログが消えます。||&c(あなたは購入条件を満たしてません!)&6(必要xp=200)" to be unstealable
- if {nolog.%player%} is true:
- format slot 13 of player with gunpowder named "&9FuckingShot" with lore "&aComplete!!" to be unstealable
- command /pay <text>:
- trigger:
- if arg 1 is "sinnsoku":
- broadcast "&e%player%が&9&l神速&6を購入しました!"
- set {sinnsoku.%player%} to true
- remove 500 from {stats.%player%.xp}
- if arg 1 is "sinnsoku2":
- broadcast "&e%player%が&b&l神速Lv2&6を購入しました!"
- delete {sinnsoku.%player%}
- set {sinnsoku2.%player%} to true
- remove 700 from {stats.%player%.xp}
- if arg 1 is "sinnsoku3":
- broadcast "&e%player%が&b&l神速Lv3&6を購入しました!"
- delete {sinnsoku2.%player%}
- set {sinnsoku3.%player%} to true
- remove 1000 from {stats.%player%.xp}
- #ちゃう
- if arg 1 is "luck":
- broadcast "&e%player%が&e&lラッキー&6を購入しました!"
- set {luck.%player%} to true
- remove 600 from {stats.%player%.xp}
- if arg 1 is "luck2":
- broadcast "&e%player%が&e&lラッキーLv2&6を購入しました!"
- delete {luck.%player%}
- set {luck2.%player%} to true
- remove 800 from {stats.%player%.xp}
- if arg 1 is "luck3":
- broadcast "&e%player%が&e&lラッキーLv3&6を購入しました!"
- delete {luck2.%player%}
- set {luck3.%player%} to true
- remove 1000 from {stats.%player%.xp}
- #しんがん
- if arg 1 is "shine":
- broadcast "&e%player%が&5&l心眼&6を購入しました!"
- set {shine.%player%} to true
- remove 150 from {stats.%player%.xp}
- if arg 1 is "shine2":
- broadcast "&e%player%が&5&l心眼Lv2&6を購入しました!"
- delete {shine.%player%}
- set {shine2.%player%} to true
- remove 350 from {stats.%player%.xp}
- if arg 1 is "shine3":
- broadcast "&e%player%が&5&l心眼Lv3&6を購入しました!"
- delete {shine2.%player%}
- set {shine3.%player%} to true
- remove 500 from {stats.%player%.xp}
- #inv
- if arg 1 is "inv":
- broadcast "&e%player%が&7&l透明さん&6を購入しました!"
- set {inv.%player%} to true
- set {invs.%player%} to true
- remove 130 from {stats.%player%.xp}
- if arg 1 is "inv2":
- broadcast "&e%player%が&7&l透明さんLv2&6を購入しました!"
- delete {inv.%player%}
- set {inv2.%player%} to true
- set {invs.%player%} to true
- remove 450 from {stats.%player%.xp}
- if arg 1 is "inv3":
- broadcast "&e%player%が&7&l透明さんLv3&6を購入しました!"
- delete {inv2.%player%}
- set {inv3.%player%} to true
- remove 1200 from {stats.%player%.xp}
- #arrow
- if arg 1 is "arrow":
- broadcast "&e%player%が&3&l物拾い&6を購入しました!"
- set {arrow.%player%} to true
- remove 100 from {stats.%player%.xp}
- #detebow
- if arg 1 is "detebow":
- broadcast "&e%player%が&b&lDetectiveBow&6を購入しました!"
- set {detebow.%player%} to true
- remove 100 from {stats.%player%.xp}
- #FuckingShot
- if arg 1 is "nolog":
- broadcast "&e%player%が&9&lFuckingShot&6を購入しました!"
- set {nolog.%player%} to true
- remove 100 from {stats.%player%.xp}
- every 10 minutes:
- execute console command "/me ビルダー募集してます Discord→https://discord.gg/PXtdk5Q"
- command /slot:
- trigger:
- message "&eXPギャンブルスタート!"
- message "&c-5xp"
- remove 5 from {stats.%player%.xp}
- wait 1 seconds
- message "&6・"
- wait 1 seconds
- message "&6・・"
- wait 1 seconds
- message "&6・・・"
- wait 1 seconds
- chance of 50%:
- message "&e勝ち!!!!"
- add 10 to {stats.%player%.xp}
- message "&a+10xp"
- execute player command "/rs lobby"
- if {game} is true:
- execute player command "/rs"
- stop
- message "&7負け..."
- execute player command "/rs lobby"
- if {game} is true:
- execute player command "/rs"
- #Report
- command /report [<player>] [<text>]:
- aliases: /rp
- trigger:
- if arg 1 is not set:
- message "&8&m----------------------------"
- message "/rp &c(player) &9(reson)"
- message "&8&m----------------------------"
- stop
- if arg 2 is not set:
- message "&8&m----------------------------"
- message "/rp &c(player) &9(reson)"
- message "&8&m----------------------------"
- stop
- add 1 to {log.hensuu}
- set {log::%{log.hensuu}%} to "%player%が報告 &c%arg 1% &9%arg 2%"
- play sound "entity.villager.ambient" at player
- loop all players:
- if loop-player is op:
- message "%player%が報告 &c%arg 1% &9%arg 2%"
- command /clogs:
- permission: skript.admin
- trigger:
- set {c.logs} to 1
- loop {log.hensuu} times:
- message "%{log::%{c.logs}%}%"
- add 1 to {c.logs}
- play sound "block.fire.extinguish" at player
- command /resetlogs:
- permission: skript.ad
- trigger:
- message "&cリセットしました。"
- set {log.hensuu} to 0
- play sound "block.anvil.place" at player
- loop all players:
- delete {sinnsoku.%loop-player%}
- command /fuckoff:
- trigger:
- delete {sinnsoku.%player%}
- delete {sinnsoku2.%player%}
- delete {sinnsoku3.%player%}
- delete {shine.%player%}
- delete {shine2.%player%}
- delete {shine3.%player%}
- delete {inv.%player%}
- delete {inv2.%player%}
- delete {inv3.%player%}
- delete {invv.%player%}
- delete {luck.%player%}
- delete {luck2.%player%}
- delete {luck3.%player%}
- message "park deleted"
- on rightclick on a cow:
- if player has 1 gold ingot:
- remove 1 gold ingot from player's inventory
- apply speed 2 to the player for 20 seconds
- command /tabchange [<text>] [<text>]:
- aliases: /tc
- permission: skript.ad
- trigger:
- play sound "entity.itemframe.place" at player
- if arg 1 is not set:
- message "&8使い方"
- message "&a&0/tabchange &5(text) &5(text) &7※/tc"
- loop all players:
- set tab header to "%colored arg-1%" and footer to "%colored arg-2%" for loop-player
- stop
- on rightclick holding paper:
- name of held item contains "100円寄付ありがとう"
- add 10 to {stats.%player%.xp}
- message "&a+10xp"
- execute player command "/rs lobby"
- remove 1 of held item from player
- on rightclick holding paper:
- name of held item contains "500円寄付ありがとう"
- add 50 to {stats.%player%.xp}
- execute player command "/rs lobby"
- message "&a+50xp"
- remove 1 of held item from player
- on rightclick holding paper:
- name of held item contains "vote特典"
- add 100 to {stats.%player%.xp}
- message "&a+100xp"
- broadcast "&e%player%&6さんがログインボーナスで&a100XP&6を手に入れました!"
- execute player command "/rs lobby"
- remove 1 of held item from player
- on rightclick holding paper:
- name of held item contains "ガチャ"
- remove 1 of held item from player
- set {g} to random integer between 1 and 4
- if {g} is 1:
- add 100 to {stats.%player%.xp}
- message "&a+100xp"
- broadcast "&e%player%&6がガチャ券で&a+100XP&6された"
- if {g} is 2:
- add 50 to {stats.%player%.xp}
- message "&a+50xp"
- if {g} is 3:
- add 10 to {stats.%player%.xp}
- message "&a+10xp"
- if {g} is 4:
- message "&9大チャンスの予感!!"
- wait 3 seconds
- chance of 60:
- add 150 to {stats.%player%.xp}
- message "&a+100xp"
- broadcast "&e%player%&bがガチャ券で大当たりを出した!!&a+150XPされた"
- stop
- message "予感は外れた..."
- execute player command "/rs lobby"
- remove 1 of held item from player
- command /housyu:
- trigger:
- broadcast "&e%player%&6さんがアスレをクリアして&a+5xp&6もらいました"
- add 5 to {stats.%player%.xp}
- execute console command "/tp %player% 0 4 0"
- command /murder:
- permission: skript.ad
- trigger:
- message "/startでスタート"
- message "/opjoin off/on でOPの参加を変える"
- message "/stoprestart on/off でリスタートのおんおふ"
- message "/stopgame で終了(バグが起きたときだけつかって)"
- message "&a/opjoin をオフにするとDetectiveが選ばれなくなるバグがあるから控えて"
- message "&a参加したくないときは、/sinndaをやって作業して"
- message "&6コマンドを不正に使ってる人いたらBANしね"
- on rightclick holding lever:
- loop 3 times:
- shoot an arrow at speed 10
- command /buppa <text>:
- permission: skript.ad
- trigger:
- if arg 1 is "on":
- set {nosp.%player%} to true
- send "しなない"
- if arg 1 is "off":
- delete {nosp.%player%}
- send "しぬ"
- on leaves decay:
- cancel event
- command /vip <player>:
- permission: skript.ad
- trigger:
- stop
- command /mapnum <number>:
- permission: skript.ad
- trigger:
- set {mapnum} to arg
- message "&6%{mapnum}%にしました"
- stop
- command /ping [<player>]:
- trigger:
- if arg 1 is not set:
- set {_ping} to player's ping
- message "&6Your Ping &a%{_ping}% ms" to player
- stop
- if arg 1 is set:
- set {_ping} to arg-player's ping
- message "&6%arg 1% Ping &a%{_ping}% ms" to player
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement