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"
- execute console command "setblock 22 1 120 air"
- execute console command "/clear @a nether_star"
- execute console command "/setblock 20 1 120 air"
- execute console command "/clear @a[team=sanka] noteblock"
- execute console command "/clear @a[team=sanka] redstone_block"
- execute console command "/setblock 41 1 185 redstone_block"
- execute console command "/setblock 37 1 182 redstone_block"
- execute console command "/effect @a[team=sanka] 21 10000 4 true"
- execute console command "/scoreboard teams leave @a[team=lobby]"
- execute console command "/jg @a"
- wait 1 seconds
- broadcast "{@logo} &aマップを選んでいます…"
- execute console command "/setblock 41 1 185 air"
- 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をスタートします…"
- execute console command "/heal @a"
- wait 3 seconds
- 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 41 1 181 redstone_block"
- if {jinrou1} is "true":
- command "/scoreboard teams join jinrou @r[team=sanka]"
- else:
- if {jinrou2} is "true":
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- else:
- if {jinrou3} is "true":
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- else:
- if {jinrou4} is "true":
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- else:
- if {jinrou5} is "true":
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- else:
- if {jinrou6} is "true":
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- else:
- if {jinrou7} is "true":
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- command "/scoreboard teams join jinrou @r[team=sanka]"
- if {kyouzin1} is "true":
- command "/scoreboard teams join kyouzin @r[team=sanka]"
- else:
- if {kyouzin2} is "true":
- command "/scoreboard teams join kyouzin @r[team=sanka]"
- command "/scoreboard teams join kyouzin @r[team=sanka]"
- else:
- if {kyouzin3} is "true":
- command "/scoreboard teams join kyouzin @r[team=sanka]"
- command "/scoreboard teams join kyouzin @r[team=sanka]"
- command "/scoreboard teams join kyouzin @r[team=sanka]"
- if {gouhu1} is "true":
- command "/scoreboard teams join gouhu @r[team=sanka]"
- else:
- if {gouhu2} is "true":
- command "/scoreboard teams join gouhu @r[team=sanka]"
- command "/scoreboard teams join gouhu @r[team=sanka]"
- else:
- if {gouhu3} is "true":
- command "/scoreboard teams join gouhu @r[team=sanka]"
- command "/scoreboard teams join gouhu @r[team=sanka]"
- command "/scoreboard teams join gouhu @r[team=sanka]"
- if {kyu1} is "true":
- command "/scoreboard teams join kyuketu @r[team=sanka]"
- command "/scoreboard teams join murabito @a[team=sanka]"
- command "/scoreboard teams join murabito @a[team=sanka]"
- command "/jinrou @a[team=jinrou]"
- command "/kyuketuki @a[team=kyuketu]"
- command "/kyouzin @a[team=kyouzin]"
- command "/gouhu @a[team=gouhu]"
- else:
- if {kyu0} is "true":
- command "/scoreboard teams join murabito @a[team=sanka]"
- command "/jinrou @a[team=jinrou]"
- command "/kyuketuki @a[team=kyuketu]"
- command "/kyouzin @a[team=kyouzin]"
- command "/gouhu @a[team=gouhu]"
- if arg-1 is "stop":
- execute console command "setblock 22 1 120 redstone_block"
- broadcast "{@logo} &4&l人狼終了!"
- broadcast "&8==============&4役職&8=============="
- broadcast "&4&l人狼 … &b%{jinrou::*}%"
- broadcast "&8&l狂人 … &b%{kyouzin::*}%"
- broadcast "&6&l豪富 … &b%{gouhu::*}%"
- broadcast "&d&l吸血鬼 … &b%{kyuketuki::*}%"
- broadcast "&8====================================="
- set {jinro::a} to "false"
- set {vlls::a} to 0
- set {jrrs::a} to 0
- set {vams::a} to 0
- delete {jinrou::*}
- delete {kyouzin::*}
- delete {gouhu::*}
- delete {kyuketuki::*}
- delete {murabito::*}
- execute console command "time set 1000"
- loop all players:
- set {vll::%loop-player%} to "false"
- set {jrr::%loop-player%} to "false"
- set {shpp.%loop-player%} to "false"
- set {vam::%loop-player%} to "false"
- set {game.%loop-player%} to "false"
- set {start.%loop-player%} to "false"
- command /villager <player>:
- permission: sk.villager
- trigger:
- set {vll::%arg-1%} to "true"
- add 1 to {vlls::a}
- add name of arg-1 to {murabito::*}
- command /jinrou <player>:
- permission: sk.jinrou
- trigger:
- set {jrr::%arg-1%} to "true"
- add 1 to {jrrs::a}
- add name of arg-1 to {jinrou::*}
- command /kyuketuki <player>:
- permission: sk.kyuketuki
- trigger:
- set {vam::%arg-1%} to "true"
- add 1 to {vams::a}
- add name of arg-1 to {kyuketuki::*}
- command /jvcheck <player>:
- permission: sk.admin
- trigger:
- send "villagers %{vlls::a}%"
- send "jinros %{jrrs::a}%"
- send "kyuuketuki %{vams::a}%"
- command /kyouzin <player>:
- permission: skript.admin
- trigger:
- add name of arg-1 to {kyouzin::*}
- 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"
- execute console command "/clear %player%"
- execute console command "/scoreboard teams leave %player%"
- execute console command "/effect @a 23 10000 255 true"
- execute console command "/spawnpoint %player% -20 5 112"
- 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:
- if {vll::%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%は&b村人でした。" to attacker
- if {vam::%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%は&5吸血鬼でした。" 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%は&a村人でした。" to attacker
- on damage:
- if attacker's tool is redstone dust:
- if {vam::%victim%} is "true":
- send "&5吸血の十字架&aを使って吸血鬼を倒した!" to attacker
- execute console command "/execute %attacker% ~ ~ ~ /playsound minecraft:item.shield.break ambient %attacker% ~ ~ ~"
- execute console command "clear %attacker% redstone 0 1"
- kill victim
- else:
- send "&5吸血の十字架&aを使った。"
- execute console command "/execute %attacker% ~ ~ ~ /playsound minecraft:item.shield.break ambient %attacker% ~ ~ ~"
- execute console command "clear %attacker% redstone 0 1"
- cancel event
- every 1 second:
- if {jinro} is "true":
- loop all players:
- if {as.a} is "asa":
- remove 1 from {time.a}
- send action bar "&6&l朝 &B&L>>> &a&L残り時間&b&L:&e&L%{time.a}%" to loop-player
- else:
- send "a" to loop-player
- send action bar "&9&l夜 &B&L>>> &a&L残り時間&b&L:&e&L%{time.a}%" to loop-player
- if {time.a} is less than 0.1:
- if {as.a} is "asa":
- set {as.a} to "yoru"
- set {time.a} to 150
- else:
- set {as.a} to "asa"
- set {time.a} to 100
- command /tms:
- trigger:
- set {as.a} to "yoru"
- set {time.a} to 150
- command /tmst:
- trigger:
- set {jinro} to "stop"
- set {time.a} to 150
- command /tmss:
- trigger:
- set {time.a} to 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement