Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {joinbonus} = 50
- {escapebonus} = 500
- on damage:
- if victim is a player:
- damage was caused by lava or fire
- if {game.%victim%} is 1:
- set {game.%victim%} to 2
- set {rseizon.%victim%} to 0
- show a title from "&2&lあなたは感染しました!" and subtitle "&6&l人間共を感染させろ...!" to victim for 5 seconds and 10 ticks fade in and 15 ticks fadeout
- execute console command "scoreboard players set %victim% zombie 1"
- execute console command "scoreboard players set %victim% human 0"
- execute console command "scoreboard teams leave human %victim%"
- execute console command "scoreboard teams join zombie %victim%"
- execute console command "clear %victim%"
- execute console command "effect %victim% 15 5 1"
- execute console command "effect %victim% 2 5 100"
- execute console command "effect %victim% 18 5 100"
- execute console command "scoreboard players set %victim% damage 0"
- execute console command "scoreboard players tag %victim% add zombie"
- broadcast "&9&lInfected &c&l》&4&l☣ &c&l》&a%victim%"
- command /system []:
- executable by: console
- trigger:
- set {system} to number-arg
- command /ttt []:
- executable by: console
- trigger:
- set {total} to number-arg
- command /escape []:
- executable by: console
- trigger:
- set {escapebonus} to number-arg
- command /gametype []:
- executable by: console
- trigger:
- set {gamemode} to number-arg
- command /check2:
- trigger:
- send "%{total}%"
- command /start:
- executable by: console
- trigger:
- loop all players:
- if {ready.%loop-player%} is 1:
- execute console command "scoreboard players set %loop-player% human 1"
- execute console command "scoreboard teams join human %loop-player%"
- set {game.%loop-player%} to 1
- set {score1.%loop-player%} to 0
- set {score2.%loop-player%} to 0
- set {score3.%loop-player%} to 0
- set {score5.%loop-player%} to 0
- set {ready.%loop-player%} to 0
- add 1 to {count}
- else:
- set {join.%loop-player%} to 0
- wait 4 seconds
- loop all players:
- if {game.%loop-player%} is 1:
- loop {bullet.%loop-player%} times:
- give 1 gold_nugget named "&eAmmo" to the loop-player
- command /out:
- permission: sk.out
- trigger:
- set {ready.%player%} to 0
- set {game.%player%} to 0
- set {tdms.%player%} to 0
- execute console command "scoreboard players set %player% human 0"
- execute console command "scoreboard players set %player% zombie 0"
- execute console command "scoreboard players set %player% join 0"
- execute console command "scoreboard teams leave zombie %player%"
- execute console command "scoreboard teams human zombie %player%"
- execute console command "gamemode 2 %player%"
- execute console command "ungod %victim%"
- on death:
- victim is a player:
- attacker is a player:
- add 40 to {exp.%attacker%}
- send "&9》 &6PlayerKillBonus &e&l《&e50円 &7& &d40EXP&e&l》" to attacker
- add 50 to {money.%attacker%}
- add 1 to {kill.%attacker%}
- execute console command "effect %attacker% 6 10 10"
- command /end:
- executable by: console
- trigger:
- loop all players:
- if {game.%loop-player%} is 1:
- set {score1.%loop-player%} to 0
- set {score2.%loop-player%} to 0
- set {score3.%loop-player%} to 0
- set {score5.%loop-player%} to 0
- set {game.%loop-player%} to 0
- if {game.%loop-player%} is greater than or equal to 2:
- set {score1.%loop-player%} to 0
- set {score2.%loop-player%} to 0
- set {score3.%loop-player%} to 0
- set {score5.%loop-player%} to 0
- set {game.%loop-player%} to 0
- on damage:
- victim is a player:
- attacker is a player:
- if {game.%attacker%} is 2:
- add 25 to {score2.%attacker%}
- add 1 to {infect.%attacker%}
- if {game.%attacker%} is 3:
- add 75 to {score2.%attacker%}
- add 1 to {infect.%attacker%}
- on damage:
- victim is a player:
- if {game.%victim%} is greater than or equal to 2:
- if victim's health - final damage is less than or equal to 4:
- if {gamemode} is equal to 1:
- execute console command "god %victim%"
- set {freeze.%player%} to 2
- show a title from "&d&l再生中....." and subtitle "&6&l5秒後に復活します。" to victim for 5 seconds and 10 ticks fade in and 15 ticks fadeout
- broadcast "&9%attacker% &6&l》&4&lKill &6&l》&a%victim%"
- execute console command "effect %victim% 18 5 20"
- wait 5 seconds
- execute console command "ungod %victim%"
- set {freeze.%player%} to 2
- add 1 to {infectkill.%attacker%}
- else:
- cancel event
- execute console command "gamemode 3 %victim%"
- add 1 to {infectkill.%attacker%}
- show a title from "&d&l再生中....." and subtitle "&6&l5秒後に復活します。" to victim for 5 seconds and 10 ticks fade in and 15 ticks fadeout
- execute console command "scoreboard players tag %victim% add restart"
- execute console command "effect %victim% 12 100000 10"
- execute console command "effect %victim% 10 3 50"
- execute console command "effect %victim% 6 3 50"
- broadcast "&9%attacker% &6&l》&4&lKill &6&l》&a%victim%"
- execute console command "title %victim% times 20 100 20"
- execute console command "effect %victim% 15 6 10"
- execute console command "effect %victim% 18 7 20"
- wait 5 seconds
- execute console command "scoreboard players tag %victim% add zombiedeath"
- execute console command "gamemode 2 %victim%"
- on any movement:
- if {freeze.%player%} is greater than 1:
- cancel the event
- command /freeze:
- permission: sk.freeze
- trigger:
- set {freeze.%player%} to 2
- wait 5 seconds
- set {freeze.%player%} to 0
- on damage:
- victim is a player:
- if victim's health - final damage is less than or equal to 9:
- if {game.%attacker%} is greater than or equal to 2:
- if {game.%victim%} is 1:
- if {gamemode} is equal to 1:
- set {rseizon.%victim%} to 0
- set {game.%victim%} to 2
- execute console command "god %victim%"
- set {freeze.%player%} to 2
- execute console command "clear %victim%"
- show a title from "&2&lあなたは感染しました!" and subtitle "&6&l人間共を感染させろ...!" to victim for 5 seconds and 10 ticks fade in and 15 ticks fadeout
- execute console command "effect %victim% 18 5 20"
- wait 5 seconds
- execute console command "ungod %victim%"
- set {freeze.%player%} to 0
- else:
- set {rseizon.%victim%} to 0
- set {game.%victim%} to 2
- show a title from "&2&lあなたは感染しました!" and subtitle "&6&l人間共を感染させろ...!" to victim for 5 seconds and 10 ticks fade in and 15 ticks fadeout
- execute console command "scoreboard players set %victim% zombie 1"
- execute console command "scoreboard players set %victim% human 0"
- execute console command "scoreboard teams leave human %victim%"
- execute console command "scoreboard teams join zombie %victim%"
- execute console command "clear %victim%"
- execute console command "effect %victim% 15 5 1"
- execute console command "effect %victim% 2 5 100"
- execute console command "effect %victim% 18 5 100"
- execute console command "scoreboard players set %victim% damage 0"
- execute console command "scoreboard players tag %victim% add zombie"
- broadcast "&9&lInfected &c&l》&4&l☣ &c&l》&a%victim%"
- every 1 second in "world":
- loop all players:
- if {game.%loop-player%} is 1:
- add 1 to {score1.%loop-player%}
- if {score3.%loop-player%} is greater than 500:
- set {score3.%loop-player%} to 500
- command /first2:
- permission: sk.first
- trigger:
- if {game.%player%} is 1:
- show a title from "&2&lあなたは感染しました!" and subtitle "&6&l人間共を感染させろ...!" to player for 5 seconds and 10 ticks fade in and 15 ticks fadeout
- execute console command "scoreboard players set %player% zombie 1"
- execute console command "scoreboard players set %player% human 0"
- execute console command "scoreboard teams leave human %player%"
- execute console command "scoreboard teams join zombie %player%"
- execute console command "clear %player%"
- execute console command "effect %player% 15 5 1"
- execute console command "effect %player% 10 10 10"
- execute console command "scoreboard players set %player% damage 0"
- execute console command "scoreboard players tag %player% add first"
- broadcast "&9&lInfected &c&l》&4&l☣ &c&l》&a%player%"
- command /first:
- permission: sk.first
- trigger:
- if {game.%player%} is 1:
- if {gamemode} is equal to 1:
- if {count} is between 1 and 4:
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- if {count} is between 5 and 7:
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- if {count} is between 8 and 10:
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- if {count} is between 11 and 14:
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- if {count} is greater than 14:
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first2"
- wait 2 ticks
- execute console command "scoreboard players tag @r[score_human_min=1] add first"
- else:
- set {game.%player%} to 3
- show a title from "&2&lあなたは感染しました!" and subtitle "&6&l人間共を感染させろ...!" to player for 5 seconds and 10 ticks fade in and 15 ticks fadeout
- execute console command "scoreboard players set %player% zombie 1"
- execute console command "scoreboard players set %player% human 0"
- execute console command "scoreboard teams leave human %player%"
- execute console command "scoreboard teams join zombie %player%"
- execute console command "clear %player%"
- execute console command "effect %player% 15 5 1"
- execute console command "effect %player% 10 10 10"
- execute console command "effect %player% 2 5 100"
- execute console command "effect %player% 18 5 100"
- execute console command "scoreboard players set %player% damage 0"
- execute console command "scoreboard players tag %player% add first"
- broadcast "&9&lInfected &c&l》&4&l☣ &c&l》&a%player%"
- command /totyuu:
- permission: sk.totyuu
- trigger:
- set {game.%player%} to 2
- execute console command "scoreboard players set %player% zombie 1"
- execute console command "scoreboard teams join zombie %player%"
- send "&9》 &7ゲームに途中参加します...."
- execute console command "effect %player% 15 5 100"
- execute console command "effect %player% 2 5 100"
- execute console command "effect %player% 18 5 100"
- execute console command "clear %player%"
- execute console command "scoreboard players tag %player% add zombie"
- execute console command "effect %player% 12 10000 1"
- set {score1.%player%} to 0
- set {score2.%player%} to 0
- set {score3.%player%} to 0
- set {score5.%player%} to 0
- command /total:
- executable by: console
- trigger:
- loop all players:
- if {total} is greater than or equal to 2:
- if {game.%loop-player%} is 1:
- set {score5.%loop-player%} to {score1.%loop-player%} + {score3.%loop-player%} + {joinbonus} + {escapebonus}
- send "&4&l&m-----*-------------------------*-----" to loop-player
- send " " to loop-player
- send " &c&l戦闘報酬 &a&l&a&l2倍ボーナス適用中!! " to loop-player
- send " " to loop-player
- send " &6参加賞 &e%{joinbonus}%&e円 " to loop-player
- send " &6防衛報酬 &e%{score3.%loop-player%}%&e円 " to loop-player
- send " &6脱出報酬 &e%{escapebonus}%&e円 " to loop-player
- send " &6生存報酬 &e%{score1.%loop-player%}%&e円 " to loop-player
- send " &6討伐数:感染数 &e%{infectkill.%loop-player%}%:&e%{infect.%loop-player%}%人 "
- send " " to loop-player
- send " &6合計 &e%{score5.%loop-player%}%&e円 &6&lx2 " to loop-player
- send " " to loop-player
- send "&4&l&m-----*-------------------------*-----" to loop-player
- add {score5.%loop-player%} to {money.%loop-player%}
- add {score5.%loop-player%} to {exp.%loop-player%}
- add {score5.%loop-player%} to {exp.%loop-player%}
- add {score5.%loop-player%} to {money.%loop-player%}
- add 2 to {zpoint.%loop-player%}
- add 1 to {seizon.%loop-player%}
- add 1 to {rseizon.%loop-player%}
- set {infectkill.%loop-player%} to 0
- set {infect.%loop-player%} to 0
- execute console command "scoreboard players add %loop-player% money %{score5.%loop-player%}%"
- set {system} to 0
- set {gamemode} to 0
- set {count} to 0
- if {game.%loop-player%} is greater than or equal to 2:
- set {score5.%loop-player%} to {score1.%loop-player%} + {score2.%loop-player%} + {score3.%loop-player%} + {joinbonus}
- send "&4&l&m-----*-------------------------*-----" to loop-player
- send " " to loop-player
- send " &c&l戦闘成績 &a&l2倍ボーナス適用中!! " to loop-player
- send " " to loop-player
- send " &6参加賞 &e%{joinbonus}%&e円 " to loop-player
- send " &6防衛ボーナス &e%{score3.%loop-player%}%&e円 " to loop-player
- send " &e感染ボーナス &e%{score2.%loop-player%}%&e円 " to loop-player
- send " &6生存ボーナス &e%{score1.%loop-player%}%&e円 " to loop-player
- send " &6討伐数:感染数 &e%{infectkill.%loop-player%}%:&e%{infect.%loop-player%}%人 " to loop-player
- send " " to loop-player
- send " &6合計 &e%{score5.%loop-player%}%&e円 &6&lx2 " to loop-player
- send " " to loop-player
- send "&4&l&m-----*-------------------------*-----" to loop-player
- add {score5.%loop-player%} to {exp.%loop-player%}
- add {score5.%loop-player%} to {money.%loop-player%}
- add {score5.%loop-player%} to {money.%loop-player%}
- add {score5.%loop-player%} to {exp.%loop-player%}
- add 1 to {zpoint.%loop-player%}
- set {infectkill.%loop-player%} to 0
- set {infect.%loop-player%} to 0
- set {rseizon.%loop-player%} to 0
- execute console command "scoreboard players add %loop-player% money %{score5.%loop-player%}%"
- set {system} to 0
- set {gamemode} to 0
- set {count} to 0
- else:
- if {game.%loop-player%} is 1:
- set {score5.%loop-player%} to {score1.%loop-player%} + {score3.%loop-player%} + {joinbonus} + {escapebonus}
- send "&4&l&m-----*-------------------------*-----" to loop-player
- send " " to loop-player
- send " &6&l戦闘成績 " to loop-player
- send " " to loop-player
- send " &6参加賞 &e%{joinbonus}%&e円 " to loop-player
- send " &6防衛ボーナス &e%{score3.%loop-player%}%&e円 " to loop-player
- send " &6脱出ボーナス &e%{escapebonus}%&e円 " to loop-player
- send " &6生存ボーナス &e%{score1.%loop-player%}%&e円 " to loop-player
- send " &6討伐数:感染数 &e%{infectkill.%loop-player%}%:&e%{infect.%loop-player%}%人 " to loop-player
- send " " to loop-player
- send " &6合計 &e%{score5.%loop-player%}%&e円 " to loop-player
- send " " to loop-player
- send "&4&l&m-----*-------------------------*-----" to loop-player
- add {score5.%loop-player%} to {money.%loop-player%}
- add {score5.%loop-player%} to {exp.%loop-player%}
- add 2 to {zpoint.%loop-player%}
- add 1 to {seizon.%loop-player%}
- add 1 to {rseizon.%loop-player%}
- set {infectkill.%loop-player%} to 0
- set {infect.%loop-player%} to 0
- execute console command "scoreboard players add %loop-player% money %{score5.%loop-player%}%"
- set {system} to 0
- set {gamemode} to 0
- set {count} to 0
- if {game.%loop-player%} is greater than or equal to 2:
- set {score5.%loop-player%} to {score1.%loop-player%} + {score2.%loop-player%} + {score3.%loop-player%} + {joinbonus}
- send "&4&l&m-----*-------------------------*-----" to loop-player
- send " " to loop-player
- send " &6&l戦闘成績 " to loop-player
- send " " to loop-player
- send " &6参加賞 &e%{joinbonus}%&e円 " to loop-player
- send " &6防衛ボーナス &e%{score3.%loop-player%}%&e円 " to loop-player
- send " &6感染ボーナス &e%{score2.%loop-player%}%&e円 " to loop-player
- send " &6生存ボーナス &e%{score1.%loop-player%}%&e円 " to loop-player
- send " &6討伐数:感染数 &e%{infectkill.%loop-player%}%:&e%{infect.%loop-player%}%人 " to loop-player
- send " " to loop-player
- send " &6合計 &e%{score5.%loop-player%}%&e円 " to loop-player
- send " " to loop-player
- send "&4&l&m-----*-------------------------*-----" to loop-player
- add {score5.%loop-player%} to {exp.%loop-player%}
- add {score5.%loop-player%} to {money.%loop-player%}
- add 1 to {zpoint.%loop-player%}
- set {rseizon.%loop-player%} to 0
- set {infectkill.%loop-player%} to 0
- set {infect.%loop-player%} to 0
- execute console command "scoreboard players add %loop-player% money %{score5.%loop-player%}%"
- set {system} to 0
- set {gamemode} to 0
- set {count} to 0
- every 1 second in "world":
- subtract 1 from {total}
- if {total} is less than or equal to 0:
- set {total} to 0
- loop all players:
- if {exp.%loop-player%} is greater than or equal to {exp2.%loop-player%}:
- add 1 to {level.%loop-player%}
- subtract {exp2.%loop-player%} from {exp.%loop-player%}
- add {exp3.%loop-player%} to {exp2.%loop-player%}
- add 10 to {exp3.%loop-player%}
- execute console command "scoreboard players add %loop-player% level 1"
- broadcast "&9》&c&l%loop-player% &c&lis Level UP! &eレベル&e&l%{level.%loop-player%}%&eになりました!"
- loop all players:
- if {level.%loop-player%} is between 0 and 5:
- set {bullet2.%loop-player%} to 140
- if {level.%loop-player%} is between 6 and 10:
- set {bullet2.%loop-player%} to 160
- if {level.%loop-player%} is between 11 and 15:
- set {bullet2.%loop-player%} to 180
- if {level.%loop-player%} is between 16 and 20:
- set {bullet2.%loop-player%} to 200
- if {level.%loop-player%} is between 21 and 25:
- set {bullet2.%loop-player%} to 220
- if {level.%loop-player%} is between 26 and 30:
- set {bullet2.%loop-player%} to 240
- if {level.%loop-player%} is between 31 and 35:
- set {bullet2.%loop-player%} to 260
- if {level.%loop-player%} is between 36 and 40:
- set {bullet2.%loop-player%} to 280
- if {level.%loop-player%} is between 41 and 45:
- set {bullet2.%loop-player%} to 300
- if {level.%loop-player%} is between 46 and 50:
- set {bullet2.%loop-player%} to 320
- if {level.%loop-player%} is between 51 and 55:
- set {bullet2.%loop-player%} to 340
- if {level.%loop-player%} is between 56 and 5:
- set {bullet2.%loop-player%} to 360
- if {level.%loop-player%} is between 61 and 65:
- set {bullet2.%loop-player%} to 380
- if {level.%loop-player%} is between 66 and 70:
- set {bullet2.%loop-player%} to 400
- if {level.%loop-player%} is between 71 and 75:
- set {bullet2.%loop-player%} to 420
- if {level.%loop-player%} is between 76 and 80:
- set {bullet2.%loop-player%} to 440
- if {level.%loop-player%} is between 81 and 85:
- set {bullet2.%loop-player%} to 460
- if {level.%loop-player%} is between 86 and 90:
- set {bullet2.%loop-player%} to 480
- if {level.%loop-player%} is between 91 and 96:
- set {bullet2.%loop-player%} to 500
- command /status []:
- trigger:
- if arg-1 is not set:
- message "&6&m&l-----*-------------------------------*-----"
- message " &6&lStatus"
- message "&6&l・ &eLevel: &6%{level.%player%}%&7Lv"
- message "&6&l・ &e次のレベルまで: &6%{exp.%player%}%&7/&6%{exp2.%player%}%"
- message "&6&l・ &e所持Zpoint: &6%{zpoint.%player%}%&7Point"
- message "&6&l・ &e所持弾数: &6%{bullet.%player%}%&7/&7&6%{bullet2.%player%}%&7発"
- message "&6&l・ &e所持金: &6%{money.%player%}%&7円"
- message "&6&l・ &e生存回数: &6%{seizon.%player%}%&7回"
- message "&6&l・ &e連続生存回数: &6%{rseizon.%player%}%&7回"
- message "&6&l・ &eFFAキル数: &6%{kill.%player%}%&7回"
- message "&6&m&l----*---------------------------------*-----"
- else:
- if player have permission "stats.others.sk":
- set {_player} to arg-1
- wait 1 tick
- if {_player} has played on this server before:
- message "&6&m-----*-------------------------------*-----"
- message " &6&lStatus"
- message "&6&l・ &ePlayer: &6&l%{_player}%"
- message "&6&l・ &eLevel: &6%{level.%{_player}%}%&7Lv"
- message "&6&l・ &e次のレベルまで: &6%{exp.%{_player}%}%&7/&6%{exp2.%{_player}%}%"
- message "&6&l・ &e所持Zpoint: &6%{zpoint.%{_player}%}%&7Point"
- message "&6&l・ &e所持弾数: &6%{bullet.%{_player}%}%&7/&6%{bullet2.%{_player}%}%&7発"
- message "&6&l・ &e所持金: &6%{money.%{_player}%}%&7円"
- message "&6&l・ &e生存回数: &6%{seizon.%{_player}%}%&7回"
- message "&6&l・ &e連続生存回数: &6%{rseizon.%{_player}%}%&7回"
- message "&6&l・ &eFFAキル数: &6%{kill.%{_player}%}%&7回"
- message "&6&m----*---------------------------------*-----"
- else:
- message "&c他人のステータス確認権限を所持していません。"
- on right click:
- if name of held item contains "&6報酬2倍チケット&7-&8&lⅠ":
- remove 1 of player's held item from the player's inventory
- add 600 to {total}
- broadcast "&e&l&m*-----*------*-----*------*-----*-----*-----*"
- broadcast " "
- broadcast " &a&l %player%&aが報酬2倍チケットを使用した!"
- broadcast " &a これより10分間Infectionのゲーム終了時の"
- broadcast " &a 報酬・経験値が2倍になります!"
- broadcast " "
- broadcast "&e&l&m*-----*------*-----*------*-----*-----*-----*"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&d報酬2倍チケット&7-&8&lⅡ":
- remove 1 of player's held item from the player's inventory
- add 1800 to {total}
- broadcast "&e&l&m*-----*------*-----*------*-----*-----*-----*"
- broadcast " "
- broadcast " &a&l %player%&aが報酬2倍チケットを使用した!"
- broadcast " &a これより30分間Infectionのゲーム終了時の"
- broadcast " &a 報酬・経験値が2倍になります!"
- broadcast " "
- broadcast "&e&l&m*-----*------*-----*------*-----*-----*-----*"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&c報酬3倍チケット":
- remove 1 of player's held item from the player's inventory
- add 600 to {total}
- broadcast "&e&l&m*-----*------*-----*------*-----*-----*-----*"
- broadcast " "
- broadcast " &a&l %player%&aが報酬3倍チケットを使用した!"
- broadcast " &a これより10分間Infectionのゲーム終了時の"
- broadcast " &a 報酬・経験値が3倍になります!"
- broadcast " "
- broadcast "&e&l&m*-----*------*-----*------*-----*-----*-----*"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&6鍛錬の書 &e&lⅠ":
- remove 1 of player's held item from the player's inventory
- add 100 to {exp.%player%}
- send "&9》 &6&l100経験値&eを獲得しました!"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&6鍛錬の書 &e&lⅡ":
- remove 1 of player's held item from the player's inventory
- add 500 to {exp.%player%}
- send "&9》 &6&l500経験値&eを獲得しました!"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&6鍛錬の書 &e&lⅢ":
- remove 1 of player's held item from the player's inventory
- add 1000 to {exp.%player%}
- send "&9》 &6&l1000経験値&eを獲得しました!"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&6鍛錬の書 &e&lⅣ":
- remove 1 of player's held item from the player's inventory
- add 3000 to {exp.%player%}
- send "&9》 &6&l3000経験値&eを獲得しました!"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&6鍛錬の書 &e&lⅤ":
- remove 1 of player's held item from the player's inventory
- add 5000 to {exp.%player%}
- send "&9》 &6&l5000経験値&eを獲得しました!"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&6鍛錬の書 &e&lⅥ":
- remove 1 of player's held item from the player's inventory
- add 10000 to {exp.%player%}
- send "&9》 &6&l10000経験値&eを獲得しました!"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
- on right click:
- if name of held item contains "&6鍛錬の書 &e&lⅦ":
- remove 1 of player's held item from the player's inventory
- add 30000 to {exp.%player%}
- send "&9》 &6&l30000経験値&eを獲得しました!"
- set {_location} to location of player
- play sound "BLOCK_NOTE_BELL" with volume 1 with pitch 1.2 at {_location}
Add Comment
Please, Sign In to add comment