Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- t: &c&l[&6TNTRUN&c&l]&6
- every 1 tick:
- {game} is true
- loop all players:
- if block below loop-player is sand:
- set block below loop-player to air
- stop
- on join:
- teleport player to {lobby}
- command "/gamemode 2 %player%"
- broadcast "&e%player%&6さんが参加しました"
- loop all players:
- set tab header to "&lサーバー参加人数 &a%number of all players%&8/15" and footer to "&6[&cTNT RUN&6]" for loop-player
- stop
- on quit:
- if player is {tntrun::*}:
- if {game} is true:
- remove player from {tntrun::*}
- remove 1 from {member}
- else:
- remove player from {tntrun::*}
- wait 10 tick
- loop all players:
- set tab header to "&lサーバー参加人数 &a%number of all players%&8/15" and footer to "&6[&cTNT RUN&6]" for loop-player
- on damage of player:
- if damage was caused by lava:
- if {game} is true:
- cancel event
- set gamemode of victim to Spectator
- if {member} is 3:
- send "&6あなたは&d%{member}%位&6でした" to victim
- set {3i.%victim%} to true
- if {member} is 2:
- send "&6あなたは&a%{member}%位&6でした" to victim
- set {2i.%victim%} to true
- send "&6あなたは&2%{member}%位&6でした" to victim
- command "/playsound entity.wither.death master %victim% ~ ~ ~ 1 1 1"
- remove 1 from {member}
- remove victim from {tntrun::*}
- set victim tab name to "&f%victim%"
- strike fake fake lightning at victim
- if {member} is 1:
- broadcast "{@t} 終了!!"
- set {game} to false
- command "/playsound entity.player.levelup master @a ~ ~ ~ 1 1 1"
- wait 3 seconds
- loop all players:
- if {3i.%loop-player%} is true:
- broadcast "{@t} 三位は&b&l%loop-player%&6でした!!"
- wait 10 tick
- if {2i.%loop-player%} is true:
- broadcast "{@t} 二位は&a&l%loop-player%&6でした!!"
- broadcast "{@t} 一位は&d&l%{tntrun::*}%&6でした!!"
- wait 3 seconds
- execute console command "/stoptntrun"
- stop
- else:
- cancel event
- else:
- cancel event
- command /tntrun:
- permission: skript.admin
- trigger:
- loop all players:
- add loop-player to {tntrun::*}
- loop {tntrun::*}:
- add 1 to {member}
- teleport {tntrun::%loop-index%} to {spawntntrun}
- set player tab name to "&a%player%"
- if {member} <= 1:
- broadcast "{@t} &6ゲームを開始できませんでした。 60秒後に終了します"
- wait 1 minutes
- execute console command "/stoptntrun"
- stop
- broadcast "{@t} ゲームを開始します"
- wait 1 seconds
- broadcast "{@t} 5"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@t} 4"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@t} 3"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@t} 2"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@t} 1"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- send all players title "&6スタート!!" for 1 seconds with 0.5 seconds fade in and 0.5 seconds fade out
- command "/playsound entity.enderdragon.ambient master @a ~ ~ ~ 1 1 1"
- set {game} to true
- stop
- command /check:
- trigger:
- send "&6%{member}%"
- send "&a%{tntrun::*}%"
- command /stoptntrun:
- permission: skript.admin
- trigger:
- broadcast "{@t} ゲームを終了しました"
- set {game} to false
- set {member} to 0
- delete {tntrun::*}
- teleport all players to {lobby}
- command "/clear @a"
- execute console command "/resetsand"
- execute console command "/gamemode 2 @a"
- loop all players:
- heal loop-player
- set {1i.%loop-player%} to false
- set {2i.%loop-player%} to false
- set {3i.%loop-player%} to false
- set loop-player tab name to "&f%loop-player%"
- if {re} is true:
- broadcast "&615秒後にスタートします"
- wait 15 seconds
- execute console command "/tntrun"
- command /re [<text>]:
- permission: skript.admin
- trigger:
- if arg 1 is "on":
- set {re} to true
- send "&aon"
- if arg 1 is "off":
- set {re} to false
- send "&coff"
- command /spawn [<text>]:
- permission: skript.admin
- trigger:
- if arg 1 is "lobby":
- set {lobby} to location of player
- message "&6ロビーの位置を%location%にしました"
- stop
- if arg 1 is "tntrun":
- set {spawntntrun} to location of player
- send "&6TNTRUNのスポーン地点をセットしました"
- stop
- command /block [<text>]:
- permission: skript.admin
- trigger:
- if arg 1 is "1":
- set {pos1} to location of player
- message "&61"
- stop
- if arg 1 is "2":
- set {pos2} to location of player
- send "&62"
- stop
- if arg 1 is "3":
- set {pos3} to location of player
- message "&63"
- stop
- if arg 1 is "4":
- set {pos4} to location of player
- send "&64"
- stop
- if arg 1 is "5":
- set {pos5} to location of player
- message "&65"
- stop
- if arg 1 is "6":
- set {pos6} to location of player
- send "&66"
- stop
- if arg 1 is "7":
- set {pos7} to location of player
- message "&67"
- stop
- if arg 1 is "8":
- set {pos8} to location of player
- send "&68"
- stop
- command /resetsand:
- permission: skript.admin
- trigger:
- execute console command "/fill 100 45 100 124 45 122 sand"
- execute console command "/fill 100 32 100 124 32 122 sand"
- execute console command "/fill 100 19 100 124 19 122 sand"
- execute console command "/fill 100 7 100 124 7 122 sand"
- stop
- on drop:
- if player is not op:
- cancel event
- command /prefix [<player>] [<text>]:
- aliases: /pre
- permission: skript.admin
- trigger:
- if arg 1 is not set:
- message "&8使い方"
- message "&a&o/prefix &e(player) &5(text) &7※/pre"
- message "&8スペースを入れたいときは""1""スペースを削除したいときは""0""です"
- message "&8prefixを消したいときは/prefix reset"
- if arg 1 is set:
- if arg 2 is set:
- play sound "block.metal_pressureplate.click_on" at player
- set {prefix.%arg 1%} to colored arg 2
- message "%arg 2%に設定しました"
- stop
- if arg 2 is "delete":
- delete {prefix.%arg 1%}
- send "&6Prefixを削除しました"
- stop
- command /noprefix:
- trigger:
- delete {prefix.%player%}
- send "&6Prefixを削除しました"
- on chat:
- if {prefix.%player%} is not set:
- stop
- if {prefix.%player%} is set:
- cancel event
- broadcast "%{prefix.%player%}% &7%player%&f: &f%message%"
- on right click on chest:
- cancel event
- send "&dすてはげ"
- command /fly [<player>]:
- permission: skript.admin
- aliases: /f
- trigger:
- if arg 1 is set:
- if {fly.%arg 1%} is false:
- set {fly.%arg 1%} to true
- message "&7Fly to &aEnable&7"
- play sound "block.note.pling" at arg 1
- set arg 1's flight mode to true
- else:
- if {fly.%arg 1%} is true:
- set {fly.%arg 1%} to false
- message "&7Fly to &cDisble&7"
- play sound "block.piston.contract" at arg 1
- set arg 1's flight mode to false
- command /a:
- permission: skript.admin
- trigger:
- loop 150 times:
- broadcast ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement