SHARE
TWEET

mahou

motan1205 Dec 7th, 2019 (edited) 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick holding a carrot on a stick:
  2.     name of held item contains "&e&l疾雷杖"
  3.     player is sneaking
  4.     if {MP::%player%} is more than 49:
  5.         if {Lv::%player%} is more than 19:
  6.             set {_cooldown} to difference between {AOELightning.%player%.lastused} and now
  7.             wait 1 tick
  8.             if {_cooldown} is less than 20 seconds:
  9.                 play "entity_ghast_shoot" to player at volume 10
  10.                 create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  11.                 message "<pink>%difference between 20 seconds and {_cooldown}% <white>後に使用可能"
  12.                 wait 20 tick
  13.                 stop effect "Failed"
  14.                 stop
  15.             set {AOELightning.%player%.lastused} to now
  16.             set {MP::%player%} to 50
  17.             loop all entities in radius 10 around the player:
  18.                 loop-entity is not type of player
  19.                 chance of 70%:
  20.                     strike lightning effect at the loop-entity
  21.                     damage loop-entity by 4 hearts
  22.             wait 20 tick
  23.             loop all entities in radius 5 around the player:
  24.                 loop-entity is not type of player
  25.                 chance of 80%:
  26.                     strike lightning effect at the loop-entity
  27.                     damage loop-entity by 4 hearts
  28.             wait 20 tick
  29.             loop all entities in radius 5 around the player:
  30.                 loop-entity is not type of player
  31.                 strike lightning effect at the loop-entity
  32.                 damage loop-entity by 5 hearts
  33.         else:
  34.             play "entity_ghast_shoot" to player at volume 10
  35.             create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  36.             message "&c疾雷スキルには20Lvではないといけません!"
  37.             damage the player by 2 hearts
  38.             wait 20 tick
  39.             stop effect "Failed"
  40.     else:
  41.         message "&cMPが足りていません"
  42.         play "entity_ghast_shoot" to player at volume 10
  43.  
  44. on rightclick holding a carrot on a stick:
  45.     name of held item contains "&c&l火炎杖"
  46.     player is sneaking
  47.     if {MP::%player%} is more than 29:
  48.         if {Lv::%player%} is more than 9:
  49.             set {_cooldown} to difference between {FIRE.%player%.lastused} and now
  50.             wait 1 tick
  51.             if {_cooldown} is less than 10 seconds:
  52.                 play "entity_ghast_shoot" to player at volume 10
  53.                 create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  54.                 message "<pink>%difference between 20 seconds and {_cooldown}% <white>後に使用可能"
  55.                 wait 20 tick
  56.                 stop effect "Failed"
  57.                 stop
  58.             set {FIRE.%player%.lastused} to now
  59.             add -30 to {MP::%player%}
  60.             play "entity_generic_burn" to player at volume 10
  61.             loop all entities in radius 5 around the player:
  62.                 loop-entity is not type of player
  63.                 ignite the loop-entity for 10 seconds
  64.                 damage loop-entity by 2 hearts
  65.         else:
  66.             play "entity_ghast_shoot" to player at volume 10
  67.             create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  68.             message "&c火炎スキルには10Lvではないといけません!"
  69.             wait 20 tick
  70.             stop effect "Failed"
  71.     else:
  72.         message "&cMPが足りていません"
  73.         play "entity_ghast_shoot" to player at volume 10
  74.  
  75. every 1 seconds:
  76.     loop all players:
  77.         if {MP::%loop-player%} is more than 99:
  78.             set {MP::%loop-player%} to 100
  79.         else:
  80.             add 1 to {MP::%loop-player%}
  81.  
  82. command /setmp <player> <number>:
  83.     permission: admin.setmp
  84.     trigger:
  85.         set {MP::%arg-1%} to arg-2
  86.         message "Success! Player: %{MP::%arg-1%}% MP: %arg-2%"
  87.  
  88. on rightclick holding a carrot on a stick:
  89.     name of held item contains "&d&l回復杖"
  90.     player is sneaking
  91.     if {MP::%player%} is more than 29:
  92.         if {Lv::%player%} is more than 4:
  93.             set {_cooldown} to difference between {HEAL.%player%.lastused} and now
  94.             wait 1 tick
  95.             if {_cooldown} is less than 10 seconds:
  96.                 play "entity_ghast_shoot" to player at volume 10
  97.                 create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  98.                 message "<pink>%difference between 10 seconds and {_cooldown}% <white>後に使用可能"
  99.                 wait 20 tick
  100.                 stop effect "Failed"
  101.                 stop
  102.             set {HEAL.%player%.lastused} to now
  103.             add -30 to {MP::%player%}
  104.             add 6 to the player's health
  105.             create a circle effect at player with id "HEAL" with particles HEART with radius 1
  106.             play "entity_player_levelup" to player at volume 10
  107.             wait 20 tick
  108.             stop effect "HEAL"
  109.         else:
  110.             play "entity_ghast_shoot" to player at volume 10
  111.             create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  112.             message "&c回復スキルには5Lvではないといけません!"
  113.             wait 20 tick
  114.             stop effect "Failed"
  115.     else:
  116.         message "&cMPが足りていません"
  117.         play "entity_ghast_shoot" to player at volume 10
  118.  
  119. on rightclick holding a carrot on a stick:
  120.     name of held item contains "&d&l範囲回復杖"
  121.     player is sneaking
  122.     if {MP::%player%} is more than 9:
  123.         if {Lv::%player%} is more than 9:
  124.             set {_cooldown} to difference between {Heal.%player%.lastused} and now
  125.             if {_cooldown} is less than 13 seconds:
  126.                 play "entity_ghast_shoot" to player at volume 10
  127.                 create a circle effect at player with id "HealFailed" with particles SMOKE NORMAL with radius 1
  128.                 message "<pink>%difference between 13 seconds and {_cooldown}% <white>後に使用可能"
  129.                 wait 20 tick
  130.                 stop effect "HealFailed"
  131.                 stop
  132.             loop players in radius 5 around the player:
  133.                 play "entity_player_levelup" to loop-player at volume 10
  134.                 add 5 to loop-player's health
  135.                 create a circle effect for loop-player with id "HEAL" with particles HEART with radius 1
  136.             set {Heal.%player%.lastused} to now
  137.             add -50 to {MP::%player%}
  138.             wait 60 tick
  139.             stop effect "HEAL"
  140.         else:
  141.             play "entity_ghast_shoot" to player at volume 10
  142.             create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  143.             message "&c回復スキルには10Lvではないといけません!"
  144.             wait 20 tick
  145.             stop effect "Failed"
  146.     else:
  147.         message "&cMPが足りていません"
  148.         play "entity_ghast_shoot" to player at volume 10
  149.  
  150. command /swordskil:
  151.     trigger:
  152.         open chest with 1 row named "&7&l« &b&lソードスキル &7&l» &e«&b&l%{SP::%player%}%&e»" to player
  153.         wait 1 tick
  154.         format slot 0 of player with iron sword named "&aリープクエイク" with lore "&7&l»&a鉄剣のみで使用可能 スニーク右クリックで発動" to close then run [execute player command "swordp"]
  155.  
  156. command /swordp:
  157.     trigger:
  158.         if {SP::%player%} is more than 14:
  159.             set {SPS.%player%} to 1
  160.             message "&7&l»&b&l解放しました!"
  161.             add -5 to {SP::%player%}
  162.         else:
  163.             message "&c&lSPが15以上ではないといけません!"
  164.  
  165. on rightclick holding iron sword:
  166.     player is sneaking
  167.     set {_cooldown} to difference between {Slash.%player%.lastused} and now
  168.     if {_cooldown} is less than 3 seconds:
  169.         message "<pink>%difference between 3 seconds and {_cooldown}% <white>秒後に使用可能"
  170.         stop
  171.     loop living entities in radius 5 of player:
  172.         if {SPS.%player%} is more than 0:
  173.             loop-entity is target entity
  174.             loop-entity is not type of player
  175.             set {Slash.%player%.lastused} to now
  176.             message "&b&lリープクエイクッ!" to player and loop-entity
  177.             play "entity_player_attack_crit" to player at volume 10
  178.             set {_target} to location of loop-entity
  179.             set pitch of {_target} to -90
  180.             teleport loop-entity to {_target}
  181.             apply resistance 5 to player for 2 seconds
  182.             if {combo.%player%} is more than 0:
  183.                 set {_damage} to 1 * (1+{combo.%player%}/4)
  184.                 damage loop-entity by {_damage} heart
  185.                 message "<light aqua>Combo!! +%{combo.%player%}% %{_damage}%damage!" to player
  186.                 message "<pink>Combo!! +%{combo.%player%}%" to loop-entity
  187.                 push loop-entity upwards at speed 1
  188.                 push player upwards at speed 1
  189.                 set {combo.%player%} to {combo.%player%} + 1
  190.             else:
  191.                 damage loop-entity by 1 heart
  192.                 push loop-entity upwards at speed 1
  193.                 push player upwards at speed 1
  194.                 set {combo.%player%} to 1
  195.             set {_combo} to {combo.%player%}
  196.             wait 20 ticks
  197.             if {_combo} is {combo.%player%}:
  198.                 set {combo.%player%} to 0
  199.         else:
  200.             message "&c解放されていません。"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top