Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- if clicked block is sea lantern:
- if {join::%uuid of player%} is true:
- message "&9》 &7すでに参加しています。"
- execute console command "playsound minecraft:ui.button.click player %player% ~ ~ ~ 20000000000000 1"
- else:
- if {gamestart} is true:
- message "&9》 &7ゲームが開始しています。次の試合に参加してください。"
- execute console command "playsound minecraft:ui.button.click player %player% ~ ~ ~ 20000000000000 1"
- else:
- chance of 20%:
- add 1 to {zombies}
- set {zombie::%uuid of player%} to true
- set {zombies.s::%{zombies}%} to player
- message "&9》 &7参加しました。"
- execute console command "playsound minecraft:ui.button.click player %player% ~ ~ ~ 20000000000000 1"
- set {join::%uuid of player%} to true
- set {j.player::%uuid of player%} to player
- add 1 to {player}
- if {player} is greater than or equal to 4:
- broadcast "&9》 &7人数が揃ったため、試合を開始します。"
- execute console command "13jkjdlsjkdfjerutbiouasdhjhekhrejksdsade"
- on command:
- if command is "13jkjdlsjkdfjerutbiouasdhjhekhrejksdsade":
- if {gamestart} is true:
- stop
- else:
- wait 5 seconds
- set {x} to random integer between 1 and {maps}
- execute console command "playsound minecraft:entity.generic.explode player @a ~ ~ ~ 2000000000000 1"
- broadcast "&6=================================================="
- broadcast "&f マップが決定されました。"
- broadcast "&f"
- broadcast "&f"
- broadcast "&6 %{maps::%{x}%}%"
- broadcast "&f"
- broadcast "&f"
- broadcast "&6=================================================="
- teleport {j.player::*} to {lobby}
- wait 3 seconds
- teleport {j.player::*} to {map.first::%{maps}%}
- loop all players:
- set {s.s.mode::%uuid of loop-player%} to true
- send {j.player::*} title "&4MAP - %{maps::%{x}%}%" with subtitle "&4Made by &6%{map.creator::%arg-2%}%" for 3 seconds
- wait 1 second
- send {j.player::*} title "&4GAME START IN" with subtitle "&63 SECONDS..." for 1 seconds
- wait 1 second
- send {j.player::*} title "&4GAME START IN" with subtitle "&62 SECONDS..." for 1 seconds
- wait 1 second
- send {j.player::*} title "&4GAME START IN" with subtitle "&61 SECONDS..." for 1 seconds
- wait 3 ticks
- send {j.player::*} title "&4GAME STARTED" with subtitle "&310秒後にゾンビが決定" for 1 seconds
- loop all players:
- set {s.s.mode::%uuid of loop-player%} to false
- wait 10 seconds
- loop {zombies} times:
- add 1 to {sss}
- broadcast "&2 ☑&4》 &a%{zombies.s::%{sss}%}%"
- teleport {zombies.s::%{sss}%} to {map.second::%{maps}%}
- on any movement:
- if {s.s.mode::%uuid of player%} is true:
- cancel event
- on quit:
- remove 1 from {player}
- set {zombie::%uuid of player%} to false
- set {j.player::%uuid of player%} to none
- set {join::%uuid of player%} to false
- set {s.s.mode::%uuid of player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement