SHARE
TWEET

Untitled

Kusa_Haenai_wWW Jul 21st, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. every seconds:
  2.     loop all players:
  3.         if {level::%loop-player%} is not set:
  4.             set {level::%loop-player%} to 1
  5.         if {needexp::%loop-player%} is not set:
  6.             set {needexp::%loop-player%} to 10
  7.         if {exp::%loop-player%} is not set:
  8.             set {exp::%loop-player%} to 0
  9.         if {sp::%loop-player%} is not set:
  10.             set {sp::%loop-player%} to 0
  11.         if {a.%loop-player%} is not set:
  12.             set {a.%loop-player%} to 3
  13.         if {b.%loop-player%} is not set:
  14.             set {b.%loop-player%} to 5
  15.  
  16. every seconds:
  17.     loop all players:
  18.         if {exp::%loop-player%} >= {needexp::%loop-player%}:
  19.             add 1 to {level::%loop-player%}
  20.             set {needexp::%loop-player%} to round({needexp::%loop-player%} * 1.2 + {level::%loop-player%})
  21.             set {exp::%loop-player%} to 0
  22.             add 1 to {sp::%loop-player%}
  23.             message "&e=========================" to loop-player
  24.             message "&a&lLevel Up!!" to loop-player
  25.             message "&a現在の&eレベル&8: &c&l%{level::%loop-player%}%" to loop-player
  26.             message "&e=========================" to loop-player
  27.  
  28. on left click holding a stick:
  29.     if {ya.%player%} is set:
  30.         cancel event
  31.     else:
  32.         set {ya.%player%} to 3
  33.         shoot arrow at speed {b.%player%}
  34.  
  35. every 2 tick:
  36.     loop all players:
  37.         if {ya.%loop-player%} is set:
  38.             remove 0.1 from {ya.%loop-player%}
  39.             play entity_item_pickup at loop-player with volume 1 and pitch 1
  40.             if {ya.%loop-player%} <= 0:
  41.                 delete {ya.%loop-player%}
  42.                 play entity_experience_orb_pickup at loop-player with volume 1 and pitch 1
  43.                
  44.  
  45. every tick:
  46.     loop all players:
  47.         if {ya.%loop-player%} is set:
  48.             send action bar "&c%{ya.%loop-player%}%" to loop-player
  49.         else:
  50.             send action bar "&e&l装填完了!!!" to loop-player
  51.  
  52. on damage of player:
  53.     if projectile is arrow:
  54.         attacker is a player
  55.         kill the victim
  56.         play entity_firework_blast at attacker with volume 1 and pitch 1
  57.         broadcast "&c%attacker% &e=> &b%victim%"
  58.         add {a.%attacker%} to {exp::%attacker%}
  59.  
  60. command /battle:
  61.     trigger:
  62.         set {ggg} to random integer between 1 and 5
  63.         if {ggg} is 1:
  64.             teleport {1} to player
  65.         if {ggg} is 2:
  66.             teleport {2} to player
  67.         if {ggg} is 3:
  68.             teleport {3} to player
  69.         if {ggg} is 4:
  70.             teleport {4} to player
  71.         if {ggg} is 5:
  72.             teleport {5} to player
  73.  
  74. command /battleset [<text>]:
  75.     permission: sk.admin
  76.     trigger:
  77.         if arg-1 is "1":
  78.             set {1} to location of player
  79.         if arg-1 is "2":
  80.             set {2} to location of player
  81.         if arg-1 is "3":
  82.             set {3} to location of player
  83.         if arg-1 is "4":
  84.             set {4} to location of player
  85.         if arg-1 is "5":
  86.             set {5} to location of player
  87.  
  88. on right click holding a stick:
  89.     if {skill1.%player%} is set:
  90.         push player forward at speed 5
  91.     else:
  92.         cancel event
  93.  
  94. command /gunspeedup:
  95.     trigger:
  96.         if {sp::%player%} >= 1:
  97.             add 0.2 to {b.%player%}
  98.             message "&e&l強化完了!!"
  99.         else:
  100.             message "&bSP&cたりねえ"
  101.  
  102. command /gunup:
  103.     trigger:
  104.         if {sp::%player%} >= 5:
  105.             if {skill1.%player%} is not set:
  106.                 set {skill1.%player%} to 1
  107.  
  108. command /status [<offline player>]:
  109.     trigger:
  110.         if arg-1 is not set:
  111.             message "&e========================="
  112.             message "&a現在の&eレベル&8: &c&l%{level::%player%}%"
  113.             message "&a必要&eExp&8: &c&l%{exp::%player%}%&e/%{needexp::%player%}%"
  114.             message "&e========================="
  115.         else:  
  116.             message "&e========================="
  117.             message "&d%arg-1% さんのデータ"
  118.             message "&a現在の&eレベル&8: &c&l%{level::%arg-1%}%"
  119.             message "&a必要&eExp&8: &c&l%{exp::%arg-1%}%&e/%{needexp::%arg-1%}%"
  120.             message "&e========================="
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