Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &7[&4&l人狼RPG&7]
- command /jinro <text>:
- permission: sk.admin
- trigger:
- if arg-1 is "start" or "stop":
- if arg-1 is "start":
- set {jinro} to "true"
- wait 1 seconds
- broadcast "{@logo} &aマップを選んでいます…"
- wait 2 second
- execute console command "/execute @r[type=Armor_Stand,name=MapRandom] ~ ~ ~ setblock ~ ~ ~ redstone_block"
- wait 10 second
- execute console command "/title @a subtitle ["""",{""text"":""--"",""color"":""dark_gray""},{""text"":""JinrouPRG"",""bold"":true,""color"":""dark_red""},{""text"":""--"",""color"":""dark_gray""}]"
- execute console command "/title @a title ["""",{""text"":""\u4eba\u72fcRPG"",""bold"":true,""color"":""dark_red""},{""text"":""\u3092\u59cb\u3081\u307e\u3059"",""color"":""dark_gray""}]"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- broadcast "{@logo} &4&l人狼RPG&aをスタートします…"
- wait 3 second
- execute console command "/title @a title ["""",{""text"":""\u4eba\u72fcRPG"",""bold"":true,""color"":""dark_red""},{""text"":""\u3092\u59cb\u3081\u307e\u3059"",""color"":""dark_gray""}]"
- execute console command "/title @a title {""text"":""3\u2026"",""bold"":true,""color"":""green""}"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- broadcast "{@logo} &a3…"
- wait 2 second
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- execute console command "/title @a title ["""",{""text"":""\u4eba\u72fcRPG"",""bold"":true,""color"":""dark_red""},{""text"":""\u3092\u59cb\u3081\u307e\u3059"",""color"":""dark_gray""}]"
- execute console command "/title @a title {""text"":""2\u2026"",""bold"":true,""color"":""yellow""}"
- broadcast "{@logo} &e2…"
- wait 2 seconds
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- execute console command "/title @a title ["""",{""text"":""\u4eba\u72fcRPG"",""bold"":true,""color"":""dark_red""},{""text"":""\u3092\u59cb\u3081\u307e\u3059"",""color"":""dark_gray""}]"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- execute console command "/title @a title {""text"":""1\u2026"",""bold"":true,""color"":""red""}"
- broadcast "{@logo} &41…"
- wait 2 seconds
- execute console command "/title @a title {""text"":""Start!!"",""bold"":true,""color"":""gold""}"
- execute console command "/title @a subtitle ["""",{""text"":""--"",""color"":""dark_gray""},{""text"":""JinrouPRG"",""bold"":true,""color"":""dark_red""},{""text"":""--"",""color"":""dark_gray""}]"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
- broadcast "{@logo} &6&lStart!!"
- execute console command "/setblock -165 1 760 redstone_block"
- if arg-1 is "stop":
- broadcast "{@logo}人狼終了!"
- set {jinro::a} to "false"
- set {vlls::a} to 0
- set {jrrs::a} to 0
- loop all players:
- set {vll::%loop-player%} to "false"
- set {jrr::%loop-player%} to "false"
- set {shpp.%loop-player%} to "false"
- command /villager:
- permission: sk.villager
- trigger:
- set {vll::%player%} to "true"
- add 1 to {vlls::a}
- command /jinrou:
- permission: sk.jinrou
- trigger:
- set {jrr::%player%} to "true"
- add 1 to {jrrs::a}
- command /jvcheck:
- permission: sk.admin
- trigger:
- send "villagers %{vlls::a}%"
- send "jinrous %{jrrs::a}%"
- on death:
- attacker is player
- victim is player
- if {vll::%victim%} is "true":
- remove 1 from {vlls::a}
- else:
- remove 1 from {jrrs::a}
- on death:
- set {shpp.%victim%} to "true"
- on damage:
- if attacker's tool is stick:
- if {jrr::%victim%} is "true":
- cancel event
- execute console command "clear %attacker% minecraft:stick 0 1 "
- send "&6占っています.." to attacker
- wait 1 second
- send "&b結果: &a%victim%は&4人狼でした。" to attacker
- else:
- cancel event
- execute console command "clear %attacker% minecraft:stick 0 1 "
- send "&6占っています.." to attacker
- wait 1 second
- send "&b結果: &a%victim%は&b村人でした。" to attacker
- on chat:
- if {shpp.%player%} is "true":
- cancel event
- send "あなたは死んでいるためしゃべることができません"
- command /shreset:
- permission: sk.admin
- trigger:
- loop all players:
- set {shpp.%loop-player%} to "false"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement