Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables:
- {v.%player%} = 0
- options:
- tnttag: &c&l[TNT TAG]
- on first join:
- set {gamecoin.%player%} to 0
- on join:
- wait 3 ticks
- while player is online:
- player is online
- wipe player's sidebar
- set name of sidebar of player to "&c&lTNT TAG"
- set score " " in sidebar of player to 11
- set score "&aプレイヤー " in sidebar of player to 10
- set score "&d%player%" in sidebar of player to 9
- set score " " in sidebar of player to 8
- set score "&9プレイヤー数" in sidebar of player to 7
- set score "&f%number of all players%" in sidebar of player to 6
- set score " " in sidebar of player to 5
- set score "&6コイン" in sidebar of player to 4
- set score "&e%{gamecoin}%" in sidebar of player to 3
- set score " " in sidebar of player to 2
- set score "&atest.playerrealms.com" in sidebar of player to 1
- wait a second
- command /start:
- trigger:
- wait a tick
- set {}
- set {_countdown} to 30
- set {countdown.on} to true
- loop {_countdown} times:
- if {_countdown} is 30:
- broadcast "{@tnttag} &eゲームスタートまで..&c%{_countdown}%"
- play sound "block.note.hat" with volume 1 at player
- if {_countdown} is 10:
- broadcast "{@tnttag} &eゲームスタートまで..&c%{_countdown}%"
- play sound "block.note.hat" with volume 1 at player
- if {_countdown} is 5:
- broadcast "{@tnttag} &eゲームスタートまで..&c%{_countdown}%"
- play sound "block.note.hat" with volume 1 at player
- if {_countdown} is 4:
- broadcast "{@tnttag} &eゲームスタートまで..&c%{_countdown}%"
- play sound "block.note.hat" with volume 1 at player
- if {_countdown} is 3:
- broadcast "{@tnttag} &eゲームスタートまで..&c%{_countdown}%"
- play sound "block.note.hat" with volume 1 at player
- if {_countdown} is 2:
- broadcast "{@tnttag} &eゲームスタートまで..&c%{_countdown}%"
- play sound "block.note.hat" with volume 1 at player
- if {_countdown} is 1:
- broadcast "{@tnttag} &eゲームスタートまで..&c%{_countdown}%"
- play sound "block.note.hat" with volume 1 at player
- wait 1 seconds
- set {_countdown} to {_countdown} - 1
- set {_countdown} to {_countdown} - 1
- send "{@tnttag} &eゲームスタート!" to player
- play sound "block.note.hat" with volume 1 at player
- wait a tick
- set {tnttag.game} to true
- set {alive::*} to all player
- tagfirstoni()
- if {tag::*} is set:
- set player's tab name to "&c[TNT] %player%"
- command /join:
- trigger:
- add {joinplayers::*} to player
- function tagfirstoni():
- delete {tag::*}
- delete {alive::*}
- set {tag::*} to a random element out of {alive::*}
- send "&cあなたはTNTです" to {tag::*}
- command /summercoin:
- trigger:
- if {summercoin.%player%::*} is not set:
- execute console command "/addcoin 100"
- send "&6100コインを入手しました"
- wait a tick
- add player to {summercoin.%player%::*}
- stop
- if {summercoin.%player%} is set:
- send "&c既にコインを入手しています"
- stop
- command /summercoinreset:
- permission: skript.summercoinreset
- trigger:
- if {summercoin.%player%} is set:
- remove player from {summercoin.%player%::*}
- command /addcoin [<number>]:
- trigger:
- add arg 1 to {gamecoin}
- command /setcoin [<number>]:
- trigger:
- set {gamecoin} to arg 1
- command /check:
- trigger:
- send "&c鬼%{tnt::*}%"
- send "&c逃げる側%{alive::*}%"
Advertisement
Add Comment
Please, Sign In to add comment