SHARE
TWEET

Untitled

a guest Dec 8th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /manaboot [<text>] [<text>]:
  2.     permission: ghostchan
  3.     trigger:
  4.         send "request"
  5.         set {mana.%player%} to arg 1
  6.         set {manamax.%player%} to arg 1
  7.         set {regmana.%player%} to arg 2
  8.         send "request ok mana:%{mana.%player%}%"
  9.  
  10. every 3 seconds:
  11.     loop all players:
  12.         if {mana.%loop-player%} = {manamax.%loop-player%}:
  13.             stop
  14.         if {mana.%loop-player%} <= {manamax.%loop-player%} -1:
  15.             add {regmana.%loop-player%} to {mana.%loop-player%}
  16. on rightclick holding a carrot on a stick:
  17.     name of held item contains "&5&l&ka&5&l古の杖&ka"
  18.     if {Skill.%player%} is "TESTSKILL":
  19.         if {mana.%player%} >= 100:
  20.             send "request"
  21.             remove 100 from {mana.%player%}
  22.             send "request ok mana:%{mana.%player%}%"
  23.         if {mana.%player%} <= 99:
  24.             send "request"
  25.             send "request fail"
  26.     if {Skill.%player%} is "x3damage":
  27.         if {mana.%player%} >= 100:
  28.             command "execute %player% ~ ~ ~ /particle angryVillager ~ ~-0.5 ~ 2 0 2 0.11 200"
  29.             command "playsound minecraft:entity.generic.explode master %player% ~ ~ ~ 50 0.3 1"
  30.             loop all entities in radius 5 of player:
  31.                 loop-entity isn't player
  32.                 damage loop-entity by 4 hearts
  33.         if {mana.%player%} <= 99:
  34.             send "request"
  35.             send "request fail"
  36.     if {Skill.%player%} is "heal":
  37.         if {mana.%player%} >= 50:
  38.             loop all players in radius 5 of player:
  39.                 command "execute %loop-player% ~ ~ ~ /particle Heart ~ ~1 ~"
  40.                 command "/playsound minecraft:entity.experience_orb.pickup master %loop-player% ~ ~ ~ 100 0.6"
  41.                 command "effect %loop-player% minecraft:instant_health 1 2"
  42.         if {mana.%player%} <= 49:
  43.             send "request"
  44.             send "request fail"
  45. command /setskill [<text>]:
  46.     trigger:
  47.         if arg is not set:
  48.             send "TESTSKILL,heal,x3damage"
  49.         if arg is "TESTSKILL":
  50.             set {Skill.%player%} to "TESTSKILL"
  51.             send "request TESTSKILL"
  52.         if arg 1 is "heal":
  53.             set {Skill.%player%} to "heal"
  54.             send "request heal"
  55.         if arg 1 is "x3damage":
  56.             set {Skill.%player%} to "x3damage"
  57.             send "request x3damage"
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