Advertisement
penguin_GANA

Untitled

Apr 24th, 2021
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. on damage of player:
  2. if {baria.%victim%.rose} is 1:
  3. cancel event
  4. if {stats.%victim%.mp} is {stats.%victim%.maxmp}*0.04:
  5. set {baria.%victim%.rose} to 0
  6. send "&cバリアが消えました"
  7. set {cooldown.%victim%.1} to "false"
  8. stop
  9. else:
  10. damage attacker by {dungeon.%victim%.lv}
  11. remove {stats.%victim%.maxmp}/10 from {stats.%victim%.mp}
  12. on rightclick:
  13. if name of player's tool contains "&dローズシールド":
  14. repair tool of player
  15. if {cooldown.%player%.1} is "a":
  16. cancel event
  17. send "&cバリアを解除"
  18. execute console command "/playsound minecraft:entity.zombie_villager.converted ambient %player% ~ ~ ~ 1 1 1"
  19. set {baria.%player%.rose} to 0
  20. set {cooldown.%player%.1} to "false"
  21. stop
  22. else:
  23. cancel event
  24. set {cooldown.%player%.1} to "a"
  25. set {baria.%player%.rose} to 1
  26. on join:
  27. set {baria.%player%.rose} to 0
  28. set {cooldown.%player%.1} to "false"
  29. set join message to "&e%player% &eじょいんざがめ"
  30. on quit:
  31. set quit message to "&e%player% &eれふとざがめ"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement