Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /slayer:
- trigger:
- open chest with 3 rows named "&5Slayer" to player
- Format slot 0 of player with purple glass pane named "" with lore "" to close
- Format slot 1 of player with purple glass pane named "" with lore "" to close
- Format slot 2 of player with purple glass pane named "" with lore "" to close
- Format slot 3 of player with purple glass pane named "" with lore "" to close
- Format slot 4 of player with purple glass pane named "" with lore "" to close
- Format slot 5 of player with purple glass pane named "" with lore "" to close
- Format slot 6 of player with purple glass pane named "" with lore "" to close
- Format slot 7 of player with purple glass pane named "" with lore "" to close
- Format slot 8 of player with purple glass pane named "" with lore "" to close
- Format slot 9 of player with purple glass pane named "" with lore "" to close
- Format slot 10 of player with zombie skull named "&cZombie Slayer" with lore "&5クリックしてスレイヤーを選択する" to close then run [ execute player command "/soz"]
- Format slot 11 of player with purple glass pane named "" with lore "" to close
- Format slot 12 of player with purple glass pane named "" with lore "" to close
- Format slot 13 of player with purple glass pane named "" with lore "" to close
- Format slot 14 of player with purple glass pane named "" with lore "" to close
- Format slot 15 of player with purple glass pane named "" with lore "" to close
- Format slot 16 of player with purple glass pane named "" with lore "" to close
- Format slot 17 of player with purple glass pane named "" with lore "" to close
- Format slot 18 of player with purple glass pane named "" with lore "" to close
- Format slot 19 of player with purple glass pane named "" with lore "" to close
- Format slot 20 of player with purple glass pane named "" with lore "" to close
- Format slot 21 of player with purple glass pane named "" with lore "" to close
- Format slot 22 of player with purple glass pane named "" with lore "" to close
- Format slot 23 of player with purple glass pane named "" with lore "" to close
- Format slot 24 of player with purple glass pane named "" with lore "" to close
- Format slot 25 of player with purple glass pane named "" with lore "" to close
- Format slot 26 of player with purple glass pane named "" with lore "" to close
- command /soz:
- trigger:
- wait 5 ticks
- open chest with 1 rows named "&5ZombieSlayer" to player
- Format slot 1 of player with zombie skull named "&5Lv1Slayer" with lore "&55000Coinを消費します" to close then run [ execute player command "/strs zombielv1 %player%"]
- command /strs [<text>] [<player>]:
- trigger:
- if arg 1 is "zombielv1":
- if arg 2 is set:
- send "&5ZombieSlayerが開始しました。" to arg-2
- remove 5000 from {money.%arg 2%}
- set {slayer.%arg 2%} to "&azombielv1"
- set {slayert.%arg 2%} to true
- set {mobkill.%arg 2%} to 30
- command /off:
- trigger:
- set {slayer.%player%} to false
- set {slayert.%player%} to false
- set {mobkill.%arg 2%} to false
- every seconds:
- loop all players:
- if {slayert.%loop-player%} is true:
- set name of sidebar of loop-player to "&5SlayerMission"
- set score "&6Slayer:%{slayer.%loop-player%}%" in sidebar of loop-player to 8
- set score "&6あと%{mobkill.%loop-player%}%体" in sidebar of loop-player to 7
- if {slayert.%loop-player%} is false:
- set name of sidebar of loop-player to "&6EnderServer"
- set score "&6Thank you Playing" in sidebar of loop-player to 8
- set score "&6Server: RPG" in sidebar of loop-player to 7
- set score "&6Money:%{money.%loop-player%}%Coin" in sidebar of loop-player to 6
- if {slayert.%loop-player%} is not set:
- set name of sidebar of loop-player to "&6EnderServer"
- set score "&6Thank you Playing" in sidebar of loop-player to 8
- set score "&6Server: RPG" in sidebar of loop-player to 7
- set score "&6Money:%{money.%loop-player%}%Coin" in sidebar of loop-player to 6
- on death:
- if attacker is a player:
- if victim is zombie or skelleton
- if {slayert.%attacker%} is true:
- if {mobkill.%attacker%} >= 0:
- remove 1 from {mobkill.%attacker%}
- if {mobkill.%attacker%} <= 0:
- if {slayer.%attacker%} is "&azombielv1":
- send "test"
Add Comment
Please, Sign In to add comment