Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /aooni [<text>]:
- permission:sk.aooni
- trigger:
- if arg-1 is "start" or "onikime" or "chuukoku" or "help" or "random" or "dairi" or "stop" or "hirosi" or "onichuukoku":
- if arg-1 is "start":
- set {aooni.aooni} to "true"
- send "&7[&bAooni&7] &a青鬼をスタートしました。"
- if arg-1 is "stop":
- set {aooni.aooni} to "false"
- send "&7[&bAooni&7] &a青鬼をストップしました。"
- on death:
- if attacker is a player:
- broadcast "&9%victim%は青鬼に食べられた"
- every 3 second: #ラグを考慮して3秒ごと
- loop all players:
- wipe loop-player's sidebar
- if {aooni.aooni} is true:
- set name of sidebar of loop-player to "&b&lAooni"
- set score "&2&l残り時間" in sidebar of loop-player to {time}
- set score "&6&lplayer:" in sidebar of loop-player to {players}
- every 1 second:
- if {aooni.aooni} is "true":
- remove 1 from {time}
- every 3 second:
- execute console command "/title @a actionbar ["""",{""text"":""キル数:"",""color"":""green""},{""text"":""%{kills.%loop-player%}%}]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement