Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage of player:
- if {baria.%victim%.rose} is 1:
- cancel event
- set {baria.%victim%.rose} to 0
- send "&cバリアが消えました" to victim
- set {cooldown.%victim%.1} to "false"
- damage attacker by {dungeon.%victim%.lv}
- on rightclick:
- if name of player's tool contains "&dローズシールド":
- repair tool of player
- if {cooldown.%player%.1} is "a":
- cancel event
- send "&cバリアを解除"
- execute console command "/playsound minecraft:entity.zombie_villager.converted ambient %player% ~ ~ ~ 1 1 1"
- set {baria.%player%.rose} to 0
- set {cooldown.%player%.1} to "false"
- stop
- else:
- cancel event
- send "&aバリアを張りました"
- set {cooldown.%player%.1} to "a"
- set {baria.%player%.rose} to 1
- on join:
- set {baria.%player%.rose} to 0
- set {cooldown.%player%.1} to "false"
- set join message to "&e%player% &eじょいんざがめ"
- on quit:
- set quit message to "&e%player% &eれふとざがめ"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement