Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ze [<text>] [<text>] [<number>]:
- permission: skript.admin
- permission message: &2》 &7権限が足りません。
- trigger:
- if arg-1 is not set:
- message "&f》 &a/ze create <マップ名> - マップを作成します。"
- message "&f》 &a/ze setspawn <マップ名> - マップのスタート地点を設定します。"
- message "&f》 &a/ze settime <マップ名> <秒> - マップの制限時間を設定します。(秒)"
- if arg-1 is set:
- if arg-1 is "create":
- if arg-2 is set:
- if {map.1.%arg-2%} is true:
- message "&f》 &aすでに存在します。"
- stop
- else:
- set {map.1.%arg-2%} to true
- message "&f》 &2&l%arg-2%&aを作成しました。"
- if arg-2 is not set:
- message "&f》 &a/ze create <マップ名> - マップを作成します。"
- if arg-1 is "setspawn":
- if arg-2 is set:
- if {map.1.%arg-2%} is true:
- message "&f》 &2&l%arg-2%&aのスタート地点を設定しました。"
- set {map.spawn.%arg-2%} to location of player
- else:
- message "&f》 &aそのマップは存在しません。"
- if arg-2 is not set:
- message "&f》 &a/ze setspawn <マップ名> - マップのスタート地点を設定します。"
- if arg-1 is "settime":
- if arg-2 is set:
- if arg-3 is set:
- if {map.1.%arg-2%} is true:
- message "&f》 &2&l%arg-2%&aの制限時間を&6%arg-3%&a秒にしました。"
- set {map.time.%arg-2%} to arg-3
- else:
- message "&f》 &aそのマップは存在しません。"
- if arg-3 is not set:
- message "&f》 &a/ze settime <マップ名> <秒> - マップの制限時間を設定します。(秒)"
- if arg-2 is not set:
- message "&f》 &a/ze settime <マップ名> <秒> - マップの制限時間を設定します。(秒)"
- if arg-1 is not "create" or "setspawn" or "settime":
- message "&f》 &a/ze create <マップ名> - マップを作成します。"
- message "&f》 &a/ze setspawn <マップ名> - マップのスタート地点を設定します。"
- message "&f》 &a/ze settime <マップ名> <秒> - マップの制限時間を設定します。(秒)"
- every 1 second:
- if {list.player} is greater than or equal to 2:
- if {game.wait} is true:
- stop
- else:
- set {game.wait} to true
- broadcast "&e間も無くゲームが開始します。"
- broadcast "&e参加する方は、ロビーのシーランタンをクリックしてください。"
- wait 10 seconds
- chance of 50%:
- chance of 50%:
- send "&6===============================" to {join.1::*}
- send "&6" to {join.1::*}
- send "&f抽選の結果" to {join.1::*}
- send "&6 Test Map" to {join.1::*}
- send "&f に決定しました。" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6===============================" to {join.1::*}
- wait 3 seconds
- teleport {join.1::*} to {map.spawn.%arg-2%}
- execute console command "/effect @a minecraft:invisibility 5"
- execute console command "/effect @a minecraft:slowness 5"
- wait 1 second
- execute console command "/playsound minecraft:block.wood_button.click_on player @a ~ ~ ~ 999999999 2"
- wait 1 second
- execute console command "/playsound minecraft:block.wood_button.click_on player @a ~ ~ ~ 999999999 2"
- wait 1 second
- execute console command "/playsound minecraft:block.wood_button.click_on player @a ~ ~ ~ 999999999 2"
- wait 1 second
- execute console command "/playsound minecraft:block.wood_button.click_on player @a ~ ~ ~ 999999999 2"
- wait 1 second
- execute console command "/playsound minecraft:block.wood_button.click_on player @a ~ ~ ~ 999999999 2"
- execute console command "/playsound entity.lightning.impact player @a"
- send {join.1::*} title "&2ゾンビから逃げ切れ" with subtitle "&610&7秒後に最大&63名が感染。" for 3 seconds
- wait 10 seconds
- execute console command "/execute @r ~ ~ ~ /iam 12ub9b491s"
- execute console command "/execute @r ~ ~ ~ /iam 12ub9b491s"
- execute console command "/execute @r ~ ~ ~ /iam 12ub9b491s"
- send "&aInfect》 %{zombie::*}%" to {join.1::*}
- teleport {zombie::*} to {map.spawn.a}
- clear {map.spawn.%arg-2%}'s inventory
- execute {map.spawn.%arg-2%}
- command /iam [<text>]:
- trigger:
- if arg-1 is "12ub9b491s":
- set {zombie::%uuid of player%} to player
- else:
- send "&6===============================" to {join.1::*}
- send "&6" to {join.1::*}
- send "&f抽選の結果" to {join.1::*}
- send "&6 Test Map" to {join.1::*}
- send "&f に決定しました。" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6===============================" to {join.1::*}
- else:
- chance of 50%:
- send "&6===============================" to {join.1::*}
- send "&6" to {join.1::*}
- send "&f抽選の結果" to {join.1::*}
- send "&6 Test Map" to {join.1::*}
- send "&f に決定しました。" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6===============================" to {join.1::*}
- else:
- send "&6===============================" to {join.1::*}
- send "&6" to {join.1::*}
- send "&f抽選の結果" to {join.1::*}
- send "&6 Test Map" to {join.1::*}
- send "&f に決定しました。" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6" to {join.1::*}
- send "&6===============================" to {join.1::*}
- on click:
- if {click.%location of clicked block%} is set:
- if {join::%uuid of player%} is true:
- message "&9》 &7すでに参加しています。"
- else:
- message "&9》 &7参加しました。"
- set {join::%uuid of player%} to true
- set {join.1::%uuid of player%} to player
- add 1 to {list.player}
- command /leave:
- trigger:
- if {join::%uuid of player%} is true:
- message "&c退出"
- remove 1 from {list.player}
- set {join::%uuid of player%} to false
- command /adminclick:
- permission: skript.admin
- permission message: &2》 &7権限が足りません。
- trigger:
- if {click::%uuid of player%} is true:
- message "&6OFF"
- set {click::%uuid of player%} to false
- stop
- else:
- message "&6ON"
- set {click::%uuid of player%} to true
- stop
- on rightclick:
- if {click::%uuid of player%} is true:
- set {click.%location of clicked block%} to true
- message "&6%location of clicked block%&aを追加"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement