Untitled
unknown
plain_text
a year ago
4.4 kB
5
Indexable
command /token [<text>]: trigger: if player is op: if arg-1 = "Dash": play sound "block.note_block.hat" give player 1 of rabbit foot named formatted "&bDash" else if arg-1 = "Fireball": play sound "block.note_block.hat" give player 1 of crimson fungus named formatted "&cFireball" else if arg-1 = "Dart": play sound "block.note_block.hat" give player 1 of arrow named formatted "&dDart" else if arg-1 = "Heal": play sound "block.note_block.hat" give player 1 of red dye named formatted "&eHeal" else if arg-1 = "Earthquake": play sound "block.note_block.hat" give player 1 of raw iron named formatted "&2Earthquake" on right click holding rabbit foot: if formatted name of held item = "&bDash": remove 1 of held item from held item play sound "entity.blaze.shoot" push player forwards with speed 1.25 push player upwards with speed 1 set {_a} to location of player set {_b} to location of player set yaw of {_b} to 180 set yaw of {_a} to 0 set {_am} to 0 loop 25 times: add 15 to {_am} set yaw of {_a} to {_am} set yaw of {_b} to {_am} lerp 10 of crit at location 1 in front of {_a} with extra 0.1 lerp 10 of crit at location 3 in front of {_b} with extra 0.1 lerp 1 of composter at location 0.2 above player lerp 12 of cloud at location 0.5 above location 0.3 in front of player with extra 0.05 set {_a} to location of player set {_b} to location of player wait 1 tick on right click holding crimson fungus: if formatted name of held item = "&cFireball": remove 1 of held item from held item set {_a} to location 0.3 in front location 1.5 above player loop 45 times: lerp 15 of flame at location of {_a} with extra 0.09 lerp 15 of flame at location 1.25 behind {_a} with extra 0.09 chance of 35%: lerp 2 of explosion at location of {_a} lerp 2 of explosion at location 1.25 behind {_a} play sound "entity.blaze.shoot" at location of {_a} lerp 5 of campfire cosy smoke at location of {_a} with extra 0.01 lerp 5 of campfire cosy smoke at location 1.25 behind {_a} with extra 0.01 lerp 3 of smoke at location at location 0.2 behind {_a} with extra 0.1 if block 1.5 in front of {_a} != air: lerp 250 of flame at location of {_a} with extra 0.5 lerp 7 of explosion at location of {_a} stop trigger set {_a} to location 2.5 in front of {_a} wait 1 tick on right click holding arrow: if formatted name of held item = "&dDart": remove 1 of held item from held item loop 5 times: shoot arrow at speed 6 push last shot projectile upwards at speed (random number between 0.3 and 0.7) push last shot projectile left at speed (random number between 0.3 and 0.7) push last shot projectile right at speed (random number between 0.3 and 0.7) play sound "entity.skeleton.shoot" wait 1 tick on right click holding red dye: if formatted name of held item = "&eHeal": remove 1 of held item from held item if 1 = 1: #add pvp arena bounds here idk how you define it play sound "entity.illusioner.cast_spell" loop all entities in radius 3 around player: if loop-entity is a player: heal loop-entity by 5 heal player by 5 lerp 1 of explosion at player loop all blocks in radius 3 around player: lerp 5 of heart at location of loop-block with extra 1 on right click holding raw iron: if formatted name of held item = "&2Earthquake": remove 1 of held item from held item push player upwards with speed 1.25 play sound "entity.breeze.jump" wait 10 ticks push player downwards with speed 2.1 wait 3 ticks play sound "entity.iron_golem.death" loop all blocks in radius 5 around player: lerp 25 of block particle using loop-block at loop-block's location with offset vector(0.8,0.8,0.8) chance of 50%: play sound "block.%loop-block%.break" at loop-block create a safe explosion with force 3 at location of player loop all entities in radius 5 around player: if loop-entity is not player: push loop-entity upwards with speed 1.5 push loop-entity (vector from player to loop-entity) with speed 2 damage loop-entity by 3 wait 1 tick on tab complete of "token": set tab completions for position 1 to "Dash", "Fireball", "Dart", "Heal" and "Earthquake"
Editor is loading...
Leave a Comment