Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on walk on lapis_block:
- set {aooni.%player%} to true
- command /aooni <text> [<player>]:
- permission: skript.adnin
- trigger:
- if arg 1 is "wp":
- loop all players:
- if {aooni.%player%} is false:
- message "&b対象者がいません"
- stop
- if {aooni.%player%} is true:
- add random player to {aooni}
- broadcast "&b今回の青鬼は%{aooni}%さんです。"
- execute console command "/aooni wapu %{aooni}%"
- set {aooni.%player%} to false
- stop
- if arg 1 is "start":
- broadcast "&53....2....1...."
- wait 3 second
- broadcast "&b青鬼スタート!"
- execute console command "/setblock air"
- execute console command "/timer start 300 0"
- execute console command "/time set night"
- loop all players:
- if {opopop} is false:
- if {hirosi} is false:
- if {aooni} is false:
- set {hirosi} to loop-player
- execute console command "/gamemode 2 %{hirosi}%"
- execute console command "/aooni hirosi %loop-value%"
- wait 300 second
- loop all players:
- set {aooni} to false
- set {hirosi} to false
- set {aooni.%player%} to false
- set {opopop} to false
- if arg 1 is "help":
- message "&b----青鬼skript----"
- message "&b<>は必須枠、()はご自由に"
- message "&b</aooni wp> 青鬼抽選、青鬼の指定などが行えます"
- message "&b</aooni start> 青鬼が始まります。(OPの方は自動的に参加してしまうので./aooni sanka を打ってください)"
- message "&b</aooni set> 青鬼が抽選された時のスポーン地点を設定します。"
- message "&b</aooni sanka> 自動的に参加しなくなります"
- message "&b</aooni startpoint> スタートした時にteleportする所を設定できます。"
- if arg 1 is "set":
- set {tp.aooni} to location of player
- message "青鬼スポーン地点 : %{tp.aooni}%"
- if arg 1 is "startpoint":
- set {tp.hirosi} to location of player
- message "ひろしスタート地点 : %{tp.hirosi}%"
- if arg 1 is "wapu":
- if arg 2 is "%arg 2%":
- teleport arg 2 to {tp.aooni}
- if arg 1 is "hirosi":
- if arg 2 is "%arg 2%":
- teleport arg 2 to {tp.hirosi}
- if arg 1 is "clear":
- if arg 2 is "%arg 2%":
- set {aooni.%player%} to false
- message "&b投票をリセットしました"
- stop
- if arg 1 is "check":
- message "%{aooni::*}%"
- if {aooni.%player%} is true:
- message "trueです。"
- stop
- if {aooni.%player%} is false:
- message "falseです"
- stop
- if arg 2 is "%arg 2%":
- if {aooni.%player%} is true:
- message "trueです。"
- stop
- if {aooni.%player%} is false:
- message "falseです"
- stop
- if arg 1 is "delete":
- if {aooni} is true:
- set {aooni} to false
- message "青鬼をfalseにしました"
- if {hirosi} is true:
- set {hirosi} to false
- message "deleteしたよ"
- if arg 2 is "%arg 2%":
- if {aooni} is true:
- set {aooni} to false
- message "青鬼をfalseにしました"
- if {hirosi} is true:
- set {hirosi} to false
- message "deleteしたよ"
- if arg 1 is "sanka":
- message "&b抜けました"
- set {opopop} to true
- on walk on acacia wood planks:
- set {aooni.%player%} to false
- on pick up of wooden pressure plate:
- message "&d地下室のカギを手に入れました"
- on death of player:
- broadcast "&1%player%は青鬼に食べられた"
- stop
- on rightclick on a obsidian:
- if player's tool is diamond:
- execute console command "/tp %player% ~-4 ~5 ~"
- broadcast "&b%player%さんが青鬼の館から脱出しました!"
- every 1 second:
- if {aooni} is true:
- execute console command "/effect %{aooni}% 5 1000000 100 true"
- execute console command "/effect %{aooni}% 17 1000000 15 true"
- on join:
- broadcast "&e%player% joined the game"
- command /nokill [<player>] [<text>]:
- trigger:
- if arg 2 is "on":
- set {nokill.%arg 1%} to true
- message "&6プレイヤーが死ななくなりました"
- if arg 2 is "off":
- set {nokill.%arg 1%} to false
- message "&6プレイヤーが死ぬようになりました"
- on damage of player:
- if {nokill.%victim%} is true:
- increase the damage by damage*50
- if {nokill.%victim%} is false:
- increase the damage by damage*1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement