Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &6[&4Murder&6]
- command /murder <text> [<number>]:
- permission: sk.admin
- aliases: mr
- trigger:
- if arg-1 is "start":
- loop all players:
- add loop-player to {ino::*}
- set {yk.%{_p}%} to "ino"
- loop 2 times:
- set {_p} to random player of {ino::*}
- add {_p} to {mur::*}
- set {yk.%{_p}%} to "mur"
- remove {_p} from {ino::*}
- set {_p} to random player of {ino::*}
- add {_p} to {det::*}
- set {yk.%{_p}%} to "det"
- remove {_p} from {ino::*}
- broadcast "{@logo} ゲームを始めます..."
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- wait 3 seconds
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- broadcast "{@logo} ゲーム開始まで &a5"
- wait 1 second
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- broadcast "{@logo} ゲーム開始まで &a4"
- wait 1 second
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- broadcast "{@logo} ゲーム開始まで &a3"
- wait 1 second
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- broadcast "{@logo} ゲーム開始まで &a2"
- wait 1 second
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- broadcast "{@logo} ゲーム開始まで &a1"
- wait 1 second
- loop all players:
- teleport the loop-player to {tp-1}
- send title "&bDetective" to {det::*}
- send title "&4&lMurder" to {mur::*}
- send title "&a&lInnocent" to {ino::*}
- send "{@logo} &aあなたは&bDetective&aです!" to {det::*}
- send "{@logo} &aあなたは&4&lMurder&aです!" to {mur::*}
- send "{@logo} &aあなたは&a&lInnocent&aです!" to {ino::*}
- wait 5 seconds
- broadcast "{@logo} &eMurderが剣を入手するまで &c5秒&e!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- wait 1 second
- broadcast "{@logo} &eMurderが剣を入手するまで &c4秒&e!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- wait 1 second
- broadcast "{@logo} &eMurderが剣を入手するまで &c3秒&e!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- wait 1 second
- broadcast "{@logo} &eMurderが剣を入手するまで &c2秒&e!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- wait 1 second
- broadcast "{@logo} &eMurderが剣を入手するまで &c1秒&e!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- wait 1 second
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.dispense ambient @a ~ ~ ~ 2 0.9"
- broadcast "&eMurderが剣を入手した!"
- loop all players:
- if {mur::*} contains loop-player:
- if {buki.%loop-player%} is not set:
- give loop-player iron sword
- if {buki.%loop-player%} is 2:
- give loop-player tnt
- if {det::*} contains loop-player:
- if {bow.%loop-player%} is not set:
- give loop-player bow named "&rBow"
- if {bow.%loop-player%} is 1:
- give loop-player bow named "&bBow"
- if arg-1 is "stop":
- broadcast "{@logo} &aゲームを終了しました。"
- delete {mur::*}
- delete {det::*}
- delete {ino::*}
- loop all players:
- set {yk.%loop-player%} to ""
- set {death.%loop-player%} to ""
- if arg-1 is "tp":
- if arg-2 is 1:
- set {tp-1} to location of player
- send "{@logo} TP-1の初期復活地点を設定しました。"
- command /check:
- permission: sk.admin
- trigger:
- broadcast "Murder : %{mur::*}%"
- broadcast "Detective : %{det::*}%"
- broadcast "Innocent : %{ino::*}%"
- set {player.%player%} to "ok"
- on damage:
- if {yk.%victim%} is "mur":
- if {yk.%attacker%} is "mur":
- cancel event
- send "&cMurder同士で攻撃することはできません。" to attacker
- if {player.%victim%} is "ok":
- if projectile is an arrow:
- send title "&c&lYou died" to victim
- send "&cMurder&eに倒された!" to victim
- set victim's gamemode to spectator
- set {daeth.%victim%} to "y"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.player.hurt master @a ~ ~ ~ 2 1"
- execute console command "/execute %victim% ~ ~ ~ /effect %victim% blindness 3 0 true"
- on join:
- set {player.%player%} to "ok"
Advertisement
Add Comment
Please, Sign In to add comment