Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- #aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- options:
- logo : &b[氷鬼]
- command /oc [<text>]:
- permission: skript.admin
- trigger:
- if arg-1 is set:
- send "&6[OP] &a%player% : %arg-1%" to ops
- else:
- send "&cメッセージを入力してください"
- on chat:
- cancel event
- if {Mute.%player%} is true:
- send "&cあなたはミュートされています!!"
- stop
- else:
- if {oni::*} contains player:
- broadcast "&c[鬼] %player% &7: &f%message%"
- else if {nige::*} contains player:
- broadcast "&a[逃げ] %player% &7: &f%message%"
- else if {koori::*} contains player:
- broadcast "&b[氷] %player% &7: &f%message%"
- else if player is op:
- broadcast "&c[AllChat] &6[Admin] &d%player% &7: &f%message%"
- else if player's gamemode is spectator:
- broadcast "&c[AllChat] &7[観戦] %player% : &f%message%"
- else:
- broadcast "&c[AllChat] %player% &7: &f%message%"
- on join:
- command "/effect %player% clear"
- if {game} is set:
- if {oni::*} contains player:
- teleport player to {spawn.nige::%{map}%}
- else if {nige::*} contains player:
- teleport player to {spawn.nige::%{map}%}
- effect(player)
- else if {koori::*} contains player:
- teleport player to {spawn.nige::%{map}%}
- effect(player)
- else:
- send "{@logo} &a試合が終わるまで観戦です"
- set player's tab list name to "&7[観戦]%player%"
- teleport player to location {spawn.nige::%{map}%}
- set player's gamemode to spectator
- else:
- remove player from {koori::*}
- command "/scoreboard teams join nametag %player%"
- on quit:
- if {nige::*} contains player:
- remove player from {nige::*}
- command /spawnmap [<number>] [<text>] [<text>]:
- permission: skript.admib
- trigger:
- if arg-1 is set:
- if arg-2 is "add":
- if arg-3 is "oni":
- send "{@logo} &aマップ%arg-1%の鬼のスポーンを%location of player%に設定しました"
- set {spawn.oni::%arg-1%} to location of player
- else if arg-3 is "nige":
- send "{@logo} &eマップ%arg-1%の逃げのスポーンを%location of player%に設定しました"
- set {spawn.nige::%arg-1%} to location of player
- else if arg-2 is "remove":
- if arg-3 is "oni":
- send "{@logo} &aマップ%arg-1%の鬼のスポーンを削除しました"
- delete {spawn.oni::%arg-1%}
- if arg-3 is "nige":
- send "{@logo} &aマップ%arg-1%の逃げのスポーンを削除しました"
- delete {spawn.nige::%arg-1%}
- command /kaisi:
- permission: skript.admin
- trigger:
- set all player's flight mode to false
- {game} is not set
- set {game} to true
- set {map} to random integer between 1 and 3
- broadcast "{@logo} &a鬼を決めます…"
- wait 1 seconds
- loop all players:
- {j.%loop-player%} is not set
- add loop-player to {_player::*}
- if number of {_player::*} is between 1 and 5:
- set {_n} to random player of {_player::*}
- command "/oni add %{_n}%"
- broadcast "{@logo} &a今回の鬼は&b%{_n}%&aさんです"
- else if number of {_player::*} is between 6 and 14:
- loop 2 times:
- set {_n} to random player of {_player::*}
- remove {_n} from {_player::*}
- command "/oni add %{_n}%"
- broadcast "{@logo} &a今回の鬼は&b%{_n}%&aさんです"
- else if number of {_player::*} is between 14 and 30:
- loop 3 times:
- set {_n} to random player of {_player::*}
- remove {_n} from {_player::*}
- command "/oni add %{_n}%"
- broadcast "{@logo} &a今回の鬼は&b%{_n}%&aさんです"
- wait 2 seconds
- set {game} to true
- loop all players:
- if {oni::*} contains loop-player:
- set loop-player's helmet to glowing ice named "&c【鬼装備】"
- set loop-player's chestplate to glowing leather chestplate named "&c【鬼装備】"
- set loop-player's leggings to glowing leather leggings named "&c【鬼装備】"
- set loop-player's boots to glowing leather boots named "&c【鬼装備】"
- dye loop-player's helmet light blue
- dye loop-player's chestplate light blue
- dye loop-player's leggings light blue
- dye loop-player's boots light blue
- teleport loop-player to {spawn.oni::%{map}%}
- set loop-player's tab list name to "&c[鬼]%loop-player%"
- else:
- {j.%loop-player%} is not set
- teleport loop-player to {spawn.nige::%{map}%}
- set loop-player's tab list name to "&a[逃げ]%loop-player%"
- command "/effect %loop-player% 1 10 2 true"
- give loop-player feather named "&bBooster"
- add loop-player to {nige::*}
- command "/setblock 560 4 200 redstone_block"
- command "/fill 584 12 194 584 5 182 ice"
- broadcast "{@logo} &c10&a秒後に鬼が動き始めます…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- wait 5 seconds
- loop 5 times:
- broadcast "{@logo} &c%6-loop-number%&a秒後に鬼が動き始めます…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- wait 1 seconds
- command "/fill 584 12 194 584 5 182 air" #map1
- command "/fill 587 10 113 599 4 113 air" #map2
- command "/fill 895 8 18 895 5 31 air" #map3-1
- command "/fill 898 8 38 908 5 38 air" #nao3-2
- command "/execute @a ~ ~ ~ /playsound minecraft:entity.wither.spawn master @a ~ ~ ~ 1 2"
- broadcast "{@logo} &b&l鬼が動き始めました!"
- set {time} to 300
- set {time.color} to "&a"
- while {game} is set:
- wait 1 seconds
- remove 1 from {time}
- send action bar "&c&l【&e残り時間&8:%{time.color}%%{time}%&c&l &b%number of {nige::*}%人が生存中&c&l】" to all players
- if {time} is 150:
- set {time.color} to "&e"
- if {time} is 60:
- set {time.color} to "&c"
- if {time} is 30:
- broadcast "{@logo} &6残り30秒を切ったため逃走者にに発行、鬼にスピードがつきます"
- loop {nige::*}:
- command "/effect %loop-value% glowing 10000 255 true"
- loop {koori::*}:
- command "/effect %loop-value% glowing 10000 255 true"
- loop {oni::*}:
- command "/effect %loop-value% speed 100000 1 true"
- if number of {nige::*} is 0:
- execute console command "/owari"
- loop all players:
- teleport loop-player to location (532, 6, 284)
- broadcast "{@logo} &a全員が捕まったため、&c&l鬼側&aの&e勝利&aです!"
- else if {time} is 0:
- loop all players:
- teleport loop-player to location (532, 6, 284)
- broadcast "{@logo} &a生存者が逃げ切ったため、&b&l逃げ側&aの&e勝利&aです!"
- command "/owari"
- command /owari:
- permission: skript.admin
- trigger:
- set all player's flight mode to true
- delete {game}
- broadcast "{@logo} &aゲーム終了!"
- delete {nige::*}
- delete {tatti::*}
- loop {oni::*}:
- clear loop-value's inventory
- command "/oni allremove"
- loop {koori::*}:
- command "/kill @e[type=falling_block,name=%loop-value%]"
- delete {koori::*}
- loop all players:
- teleport loop-player to location (532, 6, 284)
- set loop-player's tab list name to "&f%loop-player%"
- set loop-player's gamemode to survival
- command "/effect %loop-player% clear"
- command "/clear %loop-player%"
- command "/fill 584 12 194 584 5 182 ice" #map1
- command "/fill 587 10 113 599 4 113 ice" #map2
- command "/fill 895 8 18 895 5 31 ice" #map3-1
- command "/fill 898 8 38 908 5 38 ice" #nao3-2
- command /nojoin:
- trigger:
- if {j.%player%} is not set:
- send "{@logo} &c不参加にしました"
- set {j.%player%} to "set"
- else:
- send "{@logo} &a自動参加になりました"
- delete {j.%player%}
- command /oni <text> [<player>]:
- permission: skript.admin
- trigger:
- if arg-1 is "add":
- if arg-2 is set:
- if {oni::*} do not contain arg-2:
- send "{@logo} &a鬼を%arg-2%にしました"
- add arg-2 to {oni::*}
- else:
- send "{@logo} &c%arg-2%は既に鬼に含まれています"
- else:
- send "&cプレイヤーを書いてください"
- else if arg-1 is "remove":
- if arg-2 is set:
- if {oni::*} contains arg-2:
- send "{@logo} &a%arg-2%を鬼から削除しました"
- remove arg-2 from {oni::*}
- else:
- send "{@logo} &c%arg-2%は鬼ではありません"
- else:
- send "&cプレイヤーを書いてください"
- else if arg-1 is "allremove":
- delete {oni::*}
- send "{@logo} &aすべてのプレイヤーを鬼から削除しました"
- else:
- send "{@logo} &c使用法 : ""/oni [add/remove] <player>"
- send "{@logo} &c例 : ""/oni add %player%"" であなたを鬼にします"
- send "{@logo} &c例 : ""/oni remove %player%"" であなたを鬼から消します"
- send "{@logo} &c例 : ""/oni allremove"" ですべてのプレイヤーを鬼から削除します"
- on damage of player:
- cancel event
- if attacker is player:
- {game} is set
- if {oni::*} contains attacker:
- if {oni::*} do not contain victim:
- {tatti::%victim%} is not set
- set {tatti::%victim%} to true
- broadcast "{@logo} &c%victim%が%attacker%によって捕まった!"
- set victim's tab list name to "&b[氷]%victim%"
- set victim's hunger to 0
- command "/execute %victim% ~ ~ ~ /summon falling_block ~ ~ ~ {CustomName:""%victim%"",CustomNameVisible:1,NoGravity:1b,Block:""minecraft:ice"",Data:0,Time:1b,DropItem:0}"
- set victim's helmet to ice named "&b氷"
- set victim's chestplate to ice named "&b氷"
- set victim's leggings to ice named "&b氷"
- set victim's boots to ice named "&b氷"
- add victim to {koori::*}
- remove victim from {nige::*}
- effect(victim)
- else:
- if {oni::*} do not contain victim:
- {tatti::%attacker%} is not set
- {tatti::%victim%} is set
- broadcast "{@logo} &e%victim%が%attacker%によって救出されました!"
- set victim's tab list name to "&a[逃げ]%victim%"
- add victim to {nige::*}
- remove victim from {koori::*}
- command "/kill @e[type=falling_block,name=%victim%]"
- delete {tatti::%victim%}
- effect(victim)
- set victim's helmet to air
- set victim's chestplate to air
- set victim's leggings to air
- set victim's boots to air
- on inventory click:
- if clicked item's name is "&c【鬼装備】" or "&b氷":
- cancel event
- on drop:
- if event-item's name is "&c【鬼装備】" or "&b氷":
- cancel event
- function effect(p: player):
- if {koori::*} contains {_p}:
- command "effect %{_p}% slowness 10000 255 true"
- command "effect %{_p}% minecraft:jump_boost 10000 188 true"
- set {_p}'s hunger to 0
- else:
- command "/effect %{_p}% clear"
- set {_p}'s hunger to 20
- on any move:
- if {koori::*} contains player:
- set player's hunger to 0
- else:
- set player's hunger to 20
- execute console command "/tp @e[type=falling_block,name=%player%] %player%"
- on click with feather:
- if {nige::*} contains player:
- if event-item's name is "&bBooster":
- if {ct.%player%} is not set:
- set {ct.%player%} to true
- command "/effect %player% speed 8 2 true"
- send "{@logo} &bBooster &aを使用した!"
- command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.burp master %player% ~ ~ ~ 2"
- delete {ct.%player%}
- else:
- send "{@logo} &cクールダウン中です"
- on drop:
- event-item's name is "&bBooster"
- cancel event
- command /mute [<player>]:
- permission: skript.admin
- trigger:
- if arg 1 is not set:
- send "&cMuteしたいプレイヤーを選択して下さい!"
- else:
- set {Mute.%arg 1%} to true
- command /unmute [<player>]:
- permission: skript.admin
- trigger:
- if arg 1 is not set:
- send "&cUnMuteしたいプレイヤーを選択して下さい!"
- else:
- set {Mute.%arg 1%} to false
- command /fly:
- permission: skript.admin
- trigger:
- set player's flight mode to true
- command /unfly:
- permission: skript.admin
- trigger:
- set player's flight mode to false
Add Comment
Please, Sign In to add comment