Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- block is a sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "&6占領ポイント"
- line 4 of clicked block is "=========="
- set {_pointname} to line 3 of clicked block
- give player 5 emerald
- message "&a&lエメラルドを5つ入手。"
- broadcast "&6&l%Player%&7&lが&6&l%{_pointname}%&7&lを占領しました。"
- set line 2 to "&4%Player%が占領中"
- set {clickedblock::%{_pointname}%} to clicked block
- wait 90 seconds
- if line 2 of clicked block contain "が占領中":
- set line 2 to "&6占領ポイント"
- delete {clickedblock::%{_pointname}%}
- command /senryoudebug:
- permission: skript.admin
- permission message: You don't have permission to use this command.
- trigger:
- loop {clickedblock::*}:
- set line 2 of loop-value to "&6占領ポイント"
- message "success,%loop-index%"
- delete {clickedblock::%loop-index%}
- on death:
- loop {clickedblock::*}:
- line 2 of loop-value contain "%victim%"
- set line 2 of loop-value to "&6占領ポイント"
- delete {clickedblock::%loop-index%}
- command /senryoupointo <text>:
- permission: skript.admin
- permission message: You don't have permission to use this command.
- executable by: player
- aliases: ///s
- trigger:
- set line 1 of targeted block to "=========="
- set line 2 of targeted block to "&6占領ポイント"
- set line 3 of targeted block to "%arg%"
- set line 4 of targeted block to "=========="
- command /teamered <player>:
- executable by: console
- trigger:
- execute console command "/scoreboard teams leave %arg%"
- execute console command "/scoreboard teams join Redteam %arg%"
- set {rteam.%arg%} to "red"
- message "あなたは赤チームになりました。" to arg
- set arg's tab list name to "&c%arg%"
- teleport arg to {spawn}
- command /teameblue <player>:
- executable by: console
- trigger:
- execute console command "/scoreboard teams leave %arg%"
- set arg's tab list name to "&9%arg%"
- execute console command "/scoreboard teams join Blueteam %arg%"
- set {rteam.%arg%} to "blue"
- message "あなたは青チームになりました。" to arg
- teleport arg to {spawn}
- on damage:
- set {_team} to {rteam.%attacker%}
- if {rteam.%victim%} is {_team}:
- cancel event
- command /setpoint <text>:
- permission: skript.admin
- trigger:
- set {%arg%} to location of targeted block
- message "%arg%を%location of targeted block%に変更。"
- on right click:
- clicked block is sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "出撃"
- line 4 of clicked block is "=========="
- delete {nodamageflag.%player%}
- if {rteam.%player%} is "red":
- teleport player to {redspawn}
- if {rteam.%player%} is "blue":
- teleport player to {bluespawn}
- on damage:
- {nodamageflag.%victim%} is true
- cancel event
- if damage was caused by void:
- wait 10 ticks
- teleport victim to {spawn}
- stop
- on death:
- set {nodamageflag.%victim%} to true
- on first join:
- set {nodamageflag.%player%} to true
- on damage:
- {spawndelay.%victim%} is true
- delete {spawndelay.%victim%}
- execute console command "/effect %victim% clear"
- message "&6ダメージを受けたため/spawnコマンドをキャンセルします。" to victim
- command /spawn:
- trigger:
- if {nodamageflag.%player%} is not set:
- if {spawndelay.%player%} is true:
- message "&6連続でこのコマンドを使用することはできません。"
- else:
- set {spawndelay.%player%} to true
- message "&610秒後にテレポートします。"
- execute console command "/effect %player% minecraft:glowing 10 1"
- apply slow 10 to the player for 10 seconds
- message "&6(ダメージを受けるとキャンセルされます。)"
- wait 10 seconds
- if {spawndelay.%player%} is true:
- teleport player to {spawn}
- delete {spawndelay.%player%}
- set {nodamageflag.%player%} to true
- message "&6テレポートします。"
- else:
- teleport player to {spawn}
- message "&6テレポートします。"
- create a circle effect for player with id "LC" with particles CRIT with radius 1
- wait 2 seconds
- stop effect "LC"
- on death:
- if attacker is a player:
- set {_amout} to 0
- if victim is a player:
- give attacker 3 emerald
- message "&0%victim%を倒した!" to attacker
- add 1 to {playerkill::%attacker%}
- set {_amout} to {playerkill::%attacker%}
- add 1 to {player.%attacker%.killstreak}
- set {_amout} to {player.%attacker%.killstreak}
- wait a tick
- set {kdrait::%attacker%} to {playerkill::%attacker%}/{player.%attacker%.deathcount}
- set {kdraitp.%attacker%} to {playerkill::%attacker%}/({player.%attacker%.deathcount}+{playerkill::%attacker%}) * 100
- on death:
- victim is not in world "world_nether"
- if victim is a player:
- set {player.%victim%.killstreak} to 0
- add 1 to {player.%victim%.deathcount}
- wait a tick
- set {kdrait::%victim%} to {playerkill::%victim%}/{player.%victim%.deathcount}
- set {kdraitp.%victim%} to {playerkill::%victim%}/({player.%victim%.deathcount}+{playerkill::%victim%}) * 100
- command /kd [<offline player>]:
- trigger:
- if arg is set:
- message "&6&l=-=- %arg% -=-=-=-=-="
- message "&6Kills: %{playerkill::%arg%}%"
- message "&6Death: %{player.%arg%.deathcount}%"
- message "&6KD Ratio: %{kdrait::%arg%}% ( %{kdraitp.%arg%}% %)"
- message "&6Current KillStreak: %{player.%arg%.killstreak}%"
- message "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- else:
- message "&6=-=- Your status -=-=-=-=-="
- message "&6Kills: %{playerkill::%player%}%"
- message "&6Death: %{player.%player%.deathcount}%"
- message "&6KD Ratio: %{kdrait::%player%}% ( %{kdraitp.%player%}% %)"
- message "&6Current KillStreak: %{player.%player%.killstreak}%"
- message "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- command /setkd <offline player> <number> <number> [<number>]:
- permission: skript.admin
- trigger:
- set {playerkill::%arg-1%} to arg-2
- set {player.%arg-1%.deathcount} to arg-3
- if arg-4 is set:
- set {player.%arg-1%.killstreak} to arg-4
- set {kdrait::%arg-1%} to {playerkill::%arg-1%}/{player.%arg-1%.deathcount}
- set {kdraitp.%arg-1%} to {playerkill::%arg-1%}/({player.%arg-1%.deathcount}+{playerkill::%arg-1%}) * 100
- message "&3&l%arg-1%のキル数を%arg-2%にデス数を%arg-3%に変更しました。"
- on right click:
- clicked block is sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "赤チームに参加"
- line 4 of clicked block is "=========="
- execute console command "/teamered %player%"
- on right click:
- clicked block is sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "青チームに参加"
- line 4 of clicked block is "=========="
- execute console command "/teameblue %player%"
- on join:
- execute console command "/gamemode 2 %player%"
- set the maximum health of the player to 20
- stop effect "LC"
- heal the player
- command /ranking:
- trigger:
- loop {playerkill::*}:
- add 1 to {_size}
- if {_low.to.high.list::%loop-value%} is not set:
- set {_low.to.high.list::%loop-value%} to loop-index
- else:
- set {_n} to 0
- loop {_size} times:
- set {_n} to {_n}+1
- {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
- set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
- stop loop
- wait 1 tick
- set {_n} to size of {_low.to.high.list::*}
- loop {_low.to.high.list::*}:
- set {_high.to.low.list::%{_n}%} to loop-value
- set {_n} to {_n}-1
- wait 1 tick
- set {_i} to 0
- message "&6=-=- Kill Ranking Top 10 =-=-=-=-=-=-="
- loop {_high.to.low.list::*}:
- add 1 to {_topnumber}
- set {_player} to "%loop-value%" parsed as offlineplayer
- message " &6%{_topnumber}% - &c%{_player}% &6Kill: %{playerkill::%loop-value%}% Death: %{player.%loop-value%.deathcount}% KD Ratio: %{kdrait::%loop-value%}% ( %{kdraitp.%loop-value%}% %)"
- add 1 to {_i}
- if {_topnumber} > 9:
- stop
- message "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- on join:
- if {rteam.%player%} is "red":
- set player's tab list name to "&c%player%"
- if {rteam.%player%} is "blue":
- set player's tab list name to "&9%player%"
- on death:
- if victim is a player:
- set {pkills.%victim%} to 0
- if attacker is a player:
- add 1 to {pkills.%attacker%}
- if {pkills.%attacker%} is 5:
- set {_amo} to {player.%attacker%.killstreak} * 5
- give attacker {_amo} of paper named "&9KillstreakTicket"
- message "&l&6キルストリーク報酬としてチケットを%{_amo}%枚入手。"
- broadcast "&l&6%attacker%が%{player.%attacker%.killstreak}%キルストリークを達成。"
- set {pkills.%attacker%} to 0
- every 30 seconds:
- loop all players in world "world_nether":
- loop all blocks in radius 7 around loop-player:
- loop-block is quartz ore
- block 2 meters above loop-block is air
- spawn 3 zombie 3 meters above loop-block
- on right click:
- player's tool is stick
- player is in world "world_nether"
- {fall.%player%} is less than 3
- block below location of player is air
- set {_tp} to targeted block
- if block 1 meters below targeted block is not air:
- set {_tp} to block 2 meters above targeted block
- if block 1 meters above targeted block is not air:
- set {_tp} to block 1 meters below targeted block
- teleport player to {_tp}
- apply blindness 1 to player for 2 seconds
- on left click:
- player's tool is stick
- player is in world "world_nether"
- if {fall.%player%} is not set:
- set {fall.%player%} to 3
- {fall.%player%} is more than 0
- if {fall.%player%} is 3:
- push player upwards at speed 2
- push player horizontally forwards at speed 0.6
- subtract 1 from {fall.%player%}
- wait 10 ticks
- push player upwards at speed 1.2
- push player horizontally forwards at speed 2.4
- else:
- block below location of player is air
- push player upwards at speed 1.2
- subtract 1 from {fall.%player%}
- push player forwards at speed 2.4
- while block below location of player is air:
- wait 3 ticks
- set {fall.%player%} to 3
- on damage:
- victim is in world "world_nether"
- attacker is zombie
- apply slow 5 to the victim for 4 seconds
- apply poison 2 to the victim for 4 seconds
- on damage of player:
- victim is in world "world_nether"
- attacker is player
- cancel event
- on damage:
- victim is in world "world_nether"
- damage was caused by fall
- cancel event
- on death of zombie:
- attacker is in world "world_nether"
- add 1 to {zombiekill.%attacker%}
- on death of player:
- victim is in world "world_nether"
- set {zombiekill.%attacker%} to 0
- delete {fallin.%victim%}
- delete {fall.%victim%}
- message "&6PVEポイントを失ってしまった。" to victim
- command /pvepoint:
- trigger:
- message "&6あなたはいま%{zombiekill.%player%}%ポイントを持っています。"
- on rightclick:
- block is a sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "PVEポイント交換"
- line 4 of clicked block is "=========="
- set {_point} to {zombiekill.%player%}
- set {zombiekill.%player%} to 0
- give player {_point} of paper named "&9PVETicket"
- message "&6PVEポイントを%{_point}%枚のPVEチケットに交換しました。"
- on rightclick:
- block is a sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "PVEへ"
- line 4 of clicked block is "=========="
- teleport player to {PVE}
- delete {nodamageflag.%player%}
- on rightclick:
- block is a sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "帰る"
- line 4 of clicked block is "=========="
- teleport player to {spawn}
- set {nodamageflag.%player%} to true
- on join:
- delete {fallin.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement