SHARE
TWEET

smash.sk

a guest Apr 24th, 2019 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #For our own Super Smash Bros
  2.  
  3. aliases:
  4.     slime block = 165
  5.  
  6. options:
  7.     #Broadcast Title
  8.     P: &7[&4SMASH&7]
  9.  
  10.     #Message Title (private messages to players)
  11.     U: &7[&cSmashClass&7]&8
  12.  
  13. every 1 second:
  14.     loop all players:
  15.         loop {cooldown.%loop-player%::*}:
  16.             {cooldown.%loop-player%::%loop-index%} is not 0
  17.             remove 1 from {cooldown.%loop-player%::%loop-index%}
  18.  
  19. on player eat:
  20.     cancel event
  21.  
  22. on ignition:
  23.     cancel event
  24.  
  25. on damage of a player:
  26.     if {smashchar::%victim%} is "blaze":
  27.         damage cause is contact
  28.         chance of 10%:
  29.             ignite the attacker for 3 seconds
  30.     if {smashchar::%victim%} is "zombiepigman":
  31.         damage cause is a projectile
  32.         victim is blocking
  33.         chance of 25%:
  34.             cancel event
  35.     if {smashchar::%attacker%} is "spider":
  36.         name of the attacker's weapon is "&aSpider Bite"
  37.         chance of 25%:
  38.             apply poison to the victim for 3 seconds
  39.     if {smashchar::%victim%} is "enderman":
  40.         damage cause is void
  41.         chance of 1%:
  42.             cancel event
  43.             teleport the victim to spawn
  44.     if {smashchar::%victim%} is "cow":
  45.         chance of 10%:
  46.             apply speed 2 to the victim for 10 seconds
  47.        
  48.  
  49. #FREQUENT CHARACTER POWERUPS
  50.  
  51. on right click holding feather:
  52.     name of player's weapon is "&bFly"
  53.     {smashchar::%player%} is "chicken" or "blaze"
  54.     if {cooldown.%player%::fly} is greater than 0:
  55.         send "&cCooldown: %{cooldown.%player%::fly}%"
  56.         stop
  57.     set {cooldown.%player%::fly} to 20
  58.     loop 3 times:
  59.         push the player up at speed 0.75
  60.         push the player forwards at speed 0.75
  61.         wait 0.5 seconds
  62.  
  63. on right click holding a blaze rod:
  64.     {smashchar::%player%} is "blaze" or "ghast"
  65.     name of player's weapon is "&6Blaze Rod"
  66.     if {cooldown.%player%::fireball} is greater than 0:
  67.         send "&cCooldown: %{cooldown.%player%::fireball}%"
  68.         stop
  69.     set {cooldown.%player%::fireball} to 5
  70.     shoot a fireball at speed 2
  71.     wait 10 ticks
  72.     shoot a fireball at speed 2
  73.     wait 10 ticks
  74.     shoot a fireball at speed 2
  75.  
  76. #BLAZE
  77. on right click on a Blaze:
  78.     set {smashchar::%player%} to "blaze"
  79.     execute console command "minecraft:clear %player%"
  80.     execute console command "heal %player%"
  81.     equip player with all leather armor
  82.     color player's leggings orange
  83.     color player's chestplate orange
  84.     color player's boots orange
  85.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Blaze""}"
  86.     give player a blaze rod named "&6Blaze Rod"
  87.     give player a blaze powder named "&4Flame Burst"
  88.     give player feather named "&bFly"
  89.     apply fire resistance to player for 999 days
  90.     message "{@U} You have chosen &6Blaze &8as your character" to the player
  91.  
  92. on right click holding blaze powder:
  93.     {smashchar::%player%} is "blaze"
  94.     name of player's weapon is "&4Flame Burst"
  95.     if {cooldown.%player%::flameburst} is greater than 0:
  96.         send "&cCooldown: %{cooldown.%player%::flameburst}%"
  97.         stop
  98.     set {cooldown.%player%::flameburst} to 15
  99.     loop all entities in radius 3 of the player:
  100.         ignite loop-entity for 3 seconds
  101.    
  102. #CREEPER
  103.  
  104. on right click on a Creeper:
  105.     set {smashchar::%player%} to "creeper"
  106.     execute console command "minecraft:clear %player%"
  107.     execute console command "heal %player%"
  108.     equip player with all leather armor
  109.     color player's leggings lime
  110.     color player's chestplate lime
  111.     color player's boots lime
  112.     equip the player with creeper head
  113.     give player a gunpowder named "&7Gunpowder"
  114.     give player a coal named "&aBoomboost"
  115.     give player a tnt named "&4ALLAHUAKBAR!!1!11!!"
  116.     message "{@U} You have chosen &aCreeper &8as your character" to the player
  117.  
  118. on right click holding gunpowder:
  119.     {smashchar::%player%} is "creeper"
  120.     name of player's weapon is "&7Gunpowder"
  121.     if {cooldown.%player%::gunpowder} is greater than 0:
  122.         send "&cCooldown: %{cooldown.%player%::gunpowder}%"
  123.         stop
  124.     set {cooldown.%player%::gunpowder} to 10   
  125.     apply blindness to the target player for 1 seconds
  126.        
  127. on right click holding coal:
  128.     {smashchar::%player%} is "creeper"
  129.     name of player's weapon is "&aBoomboost"
  130.     if {cooldown.%player%::boomboost} is greater than 0:
  131.         send "&cCooldown: %{cooldown.%player%::boomboost}%"
  132.         stop
  133.     set {cooldown.%player%::boomboost} to 20
  134.     push player forwards at speed 2.5
  135.     create fake explosion under the player
  136.  
  137. on right click holding a tnt:
  138.     {smashchar::%player%} is "creeper"
  139.     name of player's weapon is "&4ALLAHUAKBAR!!1!11!!"
  140.     if {cooldown.%player%::allah} is greater than 0:
  141.         send "&cCooldown: %{cooldown.%player%::allah}%"
  142.         stop
  143.     set {cooldown.%player%::allah} to 45
  144.     loop all blocks in radius 3 of the player:
  145.         if loop-block is air:
  146.             create a fake explosion at loop-block
  147.     loop all entities in radius 6 of the player:
  148.         make the player damage loop-entity by 2.5
  149.         push loop-entity direction from the player to loop-entity at speed 4
  150.         chance of 5%:
  151.             make the player damage loop-entity by 100
  152.     damage the player by 1.5
  153.    
  154. #SKELETON
  155.  
  156. on right click on a Skeleton:
  157.     set {smashchar::%player%} to "skeleton"
  158.     execute console command "minecraft:clear %player%"
  159.     execute console command "heal %player%"
  160.     equip player with all leather armor
  161.     color player's leggings white
  162.     color player's chestplate white
  163.     color player's boots white
  164.     equip the player with skeleton head
  165.     give player a bow of infinity named "&7Bow"
  166.     give player a bone named "&7Bone Rush"
  167.     give player an arrow named "&cArrow Dive"
  168.     message "{@U} You have chosen &fSkeleton &8as your character" to the player
  169.  
  170. on left click holding bow:
  171.     {smashchar::%player%} is "skeleton"
  172.     name of player's weapon is "&7Bow"
  173.     if {cooldown.%player%::bow} is greater than 0:
  174.         send "&cCooldown: %{cooldown.%player%::bow}%"
  175.         stop
  176.     set {cooldown.%player%::bow} to 15
  177.     push the player up at speed 1.5
  178.     loop all entities in radius 4 of the player:
  179.         push loop-entity direction from the player to loop-entity at speed 2
  180.  
  181. on right click holding a bone:
  182.     {smashchar::%player%} is "skeleton"
  183.     name of player's weapon is "&7Bone Rush"
  184.     if {cooldown.%player%::bone} is greater than 0:
  185.         send "&cCooldown: %{cooldown.%player%::bone}%"
  186.         stop
  187.     set {cooldown.%player%::bone} to 15
  188.     push the player in horizontal direction of player at speed 3
  189.     wait 8 ticks
  190.     loop all entities in radius 3 of player:
  191.         loop-entity is not the player
  192.         make the player damage loop-entity by 0.5
  193.  
  194. on right click holding an arrow:
  195.     {smashchar::%player%} is "skeleton"
  196.     name of player's weapon is "&cArrow Dive"
  197.     if {cooldown.%player%::arrowdive} is greater than 0:
  198.         send "&cCooldown: %{cooldown.%player%::arrowdive}%"
  199.         stop
  200.     set {cooldown.%player%::arrowdive} to 25
  201.     shoot an arrow from the player at speed 2.5
  202.     set the player's gamemode to creative
  203.     make the player ride the last shot entity
  204.    
  205. on projectile hit:
  206.     {smashchar::%shooter%} is "skeleton"
  207.     projectile is arrow
  208.     if the shooter is riding the projectile:
  209.         create a safe explosion of force 2.5 at the projectile
  210.         set the shooter's gamemode to adventure
  211.         wait 10 ticks
  212.         while the block at the shooter isn't air:
  213.             teleport the shooter to the block above the shooter
  214.         wait 5 seconds
  215.         stop
  216.     else:
  217.         chance of 5%:
  218.             create a safe explosion of force 1 at the projectile
  219.  
  220. #ZOMBIEPIGMAN
  221.  
  222. on right click on a Zombie Pigman:
  223.     set {smashchar::%player%} to "zombiepigman"
  224.     execute console command "minecraft:clear %player%"
  225.     execute console command "heal %player%"
  226.     equip player with all leather armor
  227.     color player's leggings green
  228.     color player's chestplate pink
  229.     color player's boots pink
  230.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""ZombiePigman""}"
  231.     give player a golden sword named "&4Sword"
  232.     give player a porkchop named "&6Headbutt"
  233.     give player a redstone named "&bPower Boost"
  234.     apply fire resistance to player for 999 days
  235.     message "{@U} You have chosen &2Zombie &dPigman &8as your character" to the player
  236.  
  237. on right click holding raw porkchop:
  238.     {smashchar::%player%} is "zombiepigman"
  239.     name of player's weapon is "&6Headbutt"
  240.     if {cooldown.%player%::pork} is greater than 0:
  241.         send "&cCooldown: %{cooldown.%player%::pork}%"
  242.         stop
  243.     set {cooldown.%player%::pork} to 15
  244.     push the player forwards at speed 1.5
  245.     loop 5 times:
  246.         loop all entities in radius 2 of the player:
  247.             make the player damage loop-entity by 0.5
  248.             push loop-entity in direction of the player at speed 4
  249.         wait 0.1 seconds
  250.  
  251. on right click holding cooked porkchop:
  252.     {smashchar::%player%} is "zombiepigman"
  253.     name of player's weapon is "&4Powered Headbutt"
  254.     if {cooldown.%player%::poweredpork} is greater than 0:
  255.         send "&cCooldown: %{cooldown.%player%::poweredpork}%"
  256.         stop
  257.     set {cooldown.%player%::poweredpork} to 5
  258.     push the player forwards at speed 2.5
  259.     loop 5 times:
  260.         loop all entities in radius 3 of the player:
  261.             make the player damage loop-entity by 1
  262.             push loop-entity in direction of the player at speed 5
  263.         wait 0.1 seconds
  264.  
  265. on right click holding a redstone:
  266.     {smashchar::%player%} is "zombiepigman"
  267.     name of player's weapon is "&bPower Boost"
  268.     if {cooldown.%player%::powerboost} is greater than 0:
  269.         send "&cCooldown: %{cooldown.%player%::powerboost}%"
  270.         stop
  271.     set {cooldown.%player%::powerboost} to 60
  272.     remove gold sword named "&4Sword" from the player
  273.     give a diamond sword named "&9Powered Sword" to the player
  274.     remove porkchop from the player
  275.     give cooked porkchop named "&4Powered Headbutt" to the player
  276.     apply speed 3 to the player for 15 seconds
  277.     wait 15 seconds
  278.     remove diamond sword named "&9Powered Sword" from the player
  279.     give player gold sword named "&4Sword"
  280.     remove cooked porkchop from the player
  281.     give raw porkchop named "&6Headbutt" to the player
  282.  
  283. #SPIDER
  284.  
  285. on right click on Spider:
  286.     set {smashchar::%player%} to "spider"
  287.     execute console command "minecraft:clear %player%"
  288.     execute console command "heal %player%"
  289.     equip player with all leather armor
  290.     color player's leggings black
  291.     color player's chestplate black
  292.     color player's boots black
  293.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Spider""}"
  294.     give player spider eye named "&aSpider Bite"
  295.     give player string named "&fSticky Web"
  296.     give player fermented spider eye named "&bSpider Pounce"
  297.     apply jump boost 2 to the player for 999 days
  298.     message "{@U} You have chosen &0Spider &8as your character" to the player
  299.  
  300. on right click holding string:
  301.     {smashchar::%player%} is "spider"
  302.     name of player's weapon is "&fSticky Web"
  303.     if {cooldown.%player%::stickyweb} is greater than 0:
  304.         send "&cCooldown: %{cooldown.%player%::stickyweb}%"
  305.         stop
  306.     set {cooldown.%player%::stickyweb} to 1
  307.     shoot a snowball at speed 2
  308.     wait 3 tick
  309.     shoot a snowball at speed 2
  310.     wait 3 tick
  311.     shoot a snowball at speed 2
  312.     wait 3 tick
  313.     shoot a snowball at speed 2
  314.     wait 3 tick
  315.     shoot a snowball at speed 2
  316.  
  317. on projectile hit:
  318.     {smashchar::%shooter%} is "spider"
  319.     projectile is snowball
  320.     set {_b} to the block at the projectile
  321.     if block at {_b} is air:
  322.         set the block at {_b} to cobweb
  323.         wait 5 seconds
  324.         set the block at {_b} to air
  325.    
  326. on projectile hit:
  327.     {smashchar::%shooter%} is "spider"
  328.     projectile is snowball
  329.     set {_b} to the block at the projectile
  330.     loop all players in radius 1 of the projectile:
  331.         if {smashchar::%loop-player%} is "spider":
  332.             stop
  333.         else:
  334.             chance of 25%:
  335.                 apply slowness to loop-player for 5 seconds
  336.  
  337.  
  338. on right click holding fermented spider eye:
  339.     name of player's weapon is "&bSpider Pounce"
  340.     if {cooldown.%player%::spiderpounce} is greater than 0:
  341.         send "&cCooldown: %{cooldown.%player%::spiderpounce}%"
  342.         stop
  343.     set {cooldown.%player%::spiderpounce} to 15
  344.     push the player forwards at speed 3
  345.     wait 10 ticks
  346.     loop all entities in radius 3 of player:
  347.         loop-entity is not the player
  348.         make the player damage loop-entity by 0.5
  349.  
  350.  
  351.  
  352. #ENDERMAN
  353.  
  354. on right click on Enderman:
  355.     set {smashchar::%player%} to "enderman"
  356.     execute console command "minecraft:clear %player%"
  357.     execute console command "heal %player%"
  358.     equip player with all leather armor
  359.     color player's leggings purple
  360.     color player's chestplate black
  361.     color player's boots black
  362.     give player ender pearl named "&5Pearl"
  363.     give player purple dye named "&bFreeze"
  364.     give player eye of ender named "&5Proj Immunity"
  365.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Enderman""}"
  366.     message "{@U} You have chosen &5Enderman &8as your character" to the player
  367.  
  368. on shoot:
  369.     projectile is ender pearl
  370.  
  371.     give shooter enderpearl
  372.     cancel event
  373.  
  374. on right click holding an ender pearl:
  375.     name of player's weapon is "&5Pearl"
  376.     {smashchar::%player%} is "enderman"
  377.     if {cooldown.%player%::enderpearl} is greater than 0:
  378.         send "&cCooldown: %{cooldown.%player%::enderpearl}%"
  379.         stop
  380.     set {cooldown.%player%::enderpearl} to 20
  381.     teleport the player above the target block
  382.  
  383. on right click holding purple dye on player:
  384.     name of player's weapon is "&bFreeze"
  385.     {smashchar::%player%} is "enderman"
  386.     if {cooldown.%player%::hinder} is greater than 0:
  387.         send "&cCooldown: %{cooldown.%player%::hinder}%"
  388.         stop
  389.     set {cooldown.%player%::hinder} to 30
  390.     set {_bl} to the location at clicked player
  391.     apply blindness 1 to clicked player for 3 seconds
  392.     apply slowness 200 to clicked player for 3 seconds
  393.     loop 6 times:
  394.         teleport the clicked player at {_bl}
  395.         wait 0.5 seconds
  396.        
  397. on right click holding eye of ender:
  398.     name of player's weapon is "&5Proj Immunity"
  399.     {smashchar::%player%} is "enderman"
  400.     if {cooldown.%player%::projimmunity} is greater than 0:
  401.         send "&cCooldown: %{cooldown.%player%::projimmunity}%"
  402.         stop
  403.     set {cooldown.%player%::projimmunity} to 30
  404.     set {p.%player%} to true
  405.     send "&5Projectile Immunity Activated" to the player
  406.     wait 10 seconds
  407.     send "&5Projectile Immunity Deactivated" to the player
  408.     delete {p.%player%}
  409.  
  410. on damage of a player:
  411.     {smashchar::%victim%} is "enderman"
  412.     damage cause is a projectile
  413.     if {p.%victim%} is true:
  414.         cancel event
  415.  
  416. #CHICKEN
  417.  
  418. on right click on Chicken:
  419.     set {smashchar::%player%} to "chicken"
  420.     execute console command "minecraft:clear %player%"
  421.     execute console command "heal %player%"
  422.     equip player with all leather armor
  423.     color player's leggings white
  424.     color player's chestplate white
  425.     color player's boots yellow
  426.     give player raw chicken named "&fEgg Shooter"
  427.     give player feather named "&bFly"
  428.     give player cooked chicken named "&4Egg Bomb"
  429.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Chicken""}"
  430.     message "{@U} You have chosen &fChicken &8as your character" to the player
  431.  
  432. on right click holding raw chicken:
  433.     name of player's weapon is "&fEgg Shooter"
  434.     {smashchar::%player%} is "chicken"
  435.     if {cooldown.%player%::eggshooter} is greater than 0:
  436.         send "&cCooldown: %{cooldown.%player%::eggshooter}%"
  437.         stop
  438.     set {cooldown.%player%::eggshooter} to 3
  439.     loop 3 times:
  440.         shoot an egg at speed 5
  441.         wait 3 tick
  442.  
  443. on spawn of a chicken:
  444.     wait 1 tick
  445.     create a safe explosion of force 1 at the chicken
  446.  
  447. on right click holding cooked chicken:
  448.     name of player's weapon is "&4Egg Bomb"
  449.     {smashchar::%player%} is "chicken"
  450.     the block below the player is air
  451.     if {cooldown.%player%::eggbomb} is greater than 0:
  452.         send "&cCooldown: %{cooldown.%player%::eggbomb}%"
  453.         stop
  454.     set {cooldown.%player%::eggbomb} to 30
  455.     shoot an egg at speed 0.1 down
  456.     set {e.%player%} to true
  457.    
  458. on projectile hit:
  459.     {smashchar::%shooter%} is "chicken"
  460.     projectile is egg
  461.     if {e.%shooter%} is true:
  462.         create a safe explosion of force 2.5 at the projectile
  463.         delete {e.%shooter%}
  464.         set {cooldown.%shooter%::eggshooter} to 5
  465.  
  466. #COW
  467. on right click on Cow:
  468.     set {smashchar::%player%} to "cow"
  469.     execute console command "minecraft:clear %player%"
  470.     execute console command "heal %player%"
  471.     equip player with all leather armor
  472.     color player's leggings white
  473.     color player's chestplate black
  474.     color player's boots black
  475.     give player leather named "&6Leather?"
  476.     give player raw beef named "&4Bull Rush"
  477.     give player milk bucket named "&cRefreshment"
  478.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Cow""}"
  479.     message "{@U} You have chosen &0Cow &8as your character" to the player
  480.  
  481. on right click holding raw beef:
  482.     {smashchar::%player%} is "cow"
  483.     name of player's weapon is "&4Bull Rush"
  484.     if {cooldown.%player%::bullrush} is greater than 0:
  485.         send "&cCooldown: %{cooldown.%player%::bullrush}%"
  486.         stop
  487.     set {cooldown.%player%::bullrush} to 20
  488.     loop 10 times:
  489.         if the block below the player is air:
  490.             push the player forwards at speed 0.5
  491.         else:
  492.             push the player forwards at speed 1
  493.         loop all entities in radius 2 of the player:
  494.             make the player damage loop-entity by 2
  495.         wait 0.125 seconds
  496.    
  497. on right click holding milk bucket:
  498.     {smashchar::%player%} is "cow"
  499.     name of player's weapon is "&cRefreshment"
  500.     remove milk bucket from the player
  501.     wait 1 tick
  502.     give player a milk bucket named "&cRefreshment"
  503.     if {cooldown.%player%::refreshment} is greater than 0:
  504.         send "&cCooldown: %{cooldown.%player%::refreshment}%"
  505.         stop
  506.     set {cooldown.%player%::refreshment} to 30
  507.     heal the player by 2.5
  508.    
  509. #WITCH 
  510.  
  511. on right click on Witch:
  512.     set {smashchar::%player%} to "witch"
  513.     execute console command "minecraft:clear %player%"
  514.     execute console command "heal %player%"
  515.     equip player with all leather armor
  516.     color player's leggings lime
  517.     color player's chestplate purple
  518.     color player's boots purple
  519.     give player water bottle named "&9Splash"
  520.     give player nether star named "&5Power Switch"
  521.     give player stick named "&5Wand: &4Fire"
  522.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Witch""}"
  523.     apply slowness to the player for 999 days
  524.     apply hunger to the player for 999 days
  525.     message "{@U} You have chosen &5Witch &8as your character" to the player   
  526.  
  527. on right click holding nether star:
  528.     if the player's inventory has a stick named "&5Wand: &4Fire":
  529.         remove stick from the player
  530.         give player stick named "&5Wand: &bIce"
  531.     else if the player's inventory has a stick named "&5Wand: &bIce":
  532.         remove stick from the player
  533.         give player stick named "&5Wand: &7Wind"
  534.     else if the player's inventory has a stick named "&5Wand: &7Wind":
  535.         remove stick from the player
  536.         give player stick named "&5Wand: &eStorm"
  537.     else if the player's inventory has a stick named "&5Wand: &eStorm":
  538.         remove stick from the player
  539.         give player stick named "&5Wand: &4Fire"
  540.  
  541. on right click holding water bottle:
  542.     {smashchar::%player%} is "witch"
  543.     name of player's weapon is "&9Splash"
  544.     remove water bottle from player
  545.     give player water bottle named "&9Splash"
  546.     if {cooldown.%player%::splash} is greater than 0:
  547.         send "&cCooldown: %{cooldown.%player%::splash}%"
  548.         stop
  549.     set {cooldown.%player%::splash} to 1
  550.     shoot bottle of enchanting from player
  551.     wait 1 tick
  552.    
  553. on xp spawn:
  554.     cancel event
  555.  
  556. on right click holding stick:
  557.     {smashchar::%player%} is "witch"
  558.     if {cooldown.%player%::wand} is greater than 0:
  559.         send "&cCooldown: %{cooldown.%player%::wand}%"
  560.         stop
  561.     set {cooldown.%player%::wand} to 10
  562.     if the player is holding a stick named "&5Wand: &4Fire":
  563.         loop 5 times:
  564.             shoot a fireball at speed 2
  565.             wait 3 ticks
  566.     else if the player is holding a stick named "&5Wand: &bIce":
  567.         shoot a snowball at speed 5
  568.     else if the player is holding a stick named "&5Wand: &7Wind":
  569.         push the target entity in direction of player at speed 1.5
  570.     else if the player is holding a stick named "&5Wand: &eStorm":
  571.         loop 5 times:
  572.             strike lightning at the target
  573.  
  574. on projectile hit:
  575.     {smashchar::%shooter%} is "witch"
  576.     projectile is snowball
  577.     loop all entities in radius 5 of the projectile:
  578.         apply blindness to loop-entity for 10 seconds
  579.  
  580. #ZOMBIE
  581.  
  582. on right click on Zombie:
  583.     set {smashchar::%player%} to "zombie"
  584.     execute console command "minecraft:clear %player%"
  585.     execute console command "heal %player%"
  586.     equip player with all leather armor
  587.     color player's leggings blue
  588.     color player's chestplate green
  589.     color player's boots gray
  590.     give player iron shovel named "&2Shovel"
  591.     give player cactus green named "&2Infect"
  592.     give player zombie head named "&4Zombie Power"
  593.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Zombie""}"
  594.     message "{@U} You have chosen &2Zombie &8as your character" to the player
  595.  
  596. on right click holding iron shovel:
  597.     {smashchar::%player%} is "zombie"
  598.     name of player's weapon is "&2Shovel"
  599.     if {cooldown.%player%::ironshovel} is greater than 0:
  600.         send "&cCooldown: %{cooldown.%player%::ironshovel}%"
  601.         stop
  602.     set {cooldown.%player%::ironshovel} to 5
  603.     push the player up at speed 1
  604.     push the player forwards at speed 1.5
  605.     loop all entities in radius 5 around the player:
  606.         make the player damage loop-entity by 1
  607.                
  608. on right click holding cactus green:
  609.     {smashchar::%player%} is "zombie"
  610.     name of player's weapon is "&2Infect"
  611.     if {cooldown.%player%::infect} is greater than 0:
  612.         send "&cCooldown: %{cooldown.%player%::infect}%"
  613.         stop
  614.     set {cooldown.%player%::infect} to 3
  615.     apply poison to the target player for 3 seconds
  616.  
  617. on right click holding zombie head:
  618.     {smashchar::%player%} is "zombie"
  619.     name of player's weapon is "&4Zombie Power"
  620.     if {cooldown.%player%::zombiepower} is greater than 0:
  621.         send "&cCooldown: %{cooldown.%player%::zombiepower}%"
  622.         stop
  623.     set {cooldown.%player%::zombiepower} to 25
  624.     apply strength to the player for 10 seconds
  625.     remove iron shovel from the player
  626.     give player diamond shovel named "&4Powered Shovel"
  627.     wait 10 seconds
  628.     cure the player
  629.     remove diamond shovel from the player
  630.     give player an iron shovel named "&2Shovel"
  631.  
  632. on right click holding diamond shovel:
  633.     {smashchar::%player%} is "zombie"
  634.     name of player's weapon is "&4Powered Shovel"
  635.     if {cooldown.%player%::diamondshovel} is greater than 0:
  636.         send "&cCooldown: %{cooldown.%player%::diamondshovel}%"
  637.         stop
  638.     set {cooldown.%player%::diamondshovel} to 5
  639.     push the player up at speed 2
  640.     push the player forwards at speed 3
  641.  
  642. #SLIME
  643.  
  644. on right click on Slime:
  645.     set {smashchar::%player%} to "slime"
  646.     execute console command "minecraft:clear %player%"
  647.     execute console command "heal %player%"
  648.     equip player with all leather armor
  649.     color player's leggings lime
  650.     color player's chestplate lime
  651.     color player's boots lime
  652.     give player slimeball named "&aSlime Ball"
  653.     give player slime block named "&aSlime Jump"
  654.     give player light green dye named "&aSlime Drop"
  655.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""Slimes""}"
  656.     apply jump boost 2 to the player for 999 days
  657.     message "{@U} You have chosen &aSlime &8as your character" to the player
  658.  
  659. on right click holding slimeball:
  660.     {smashchar::%player%} is "slime"
  661.     name of player's weapon is "&aSlime Ball"
  662.     if {cooldown.%player%::slimeball} is greater than 0:
  663.         send "&cCooldown: %{cooldown.%player%::slimeball}%"
  664.         stop
  665.     set {cooldown.%player%::slimeball} to 15
  666.     shoot a snowball from the player at speed 2
  667.  
  668. on projectile hit:
  669.     {smashchar::%shooter%} is "slime"
  670.     projectile is snowball
  671.     set {_a} to the block 1 above the projectile
  672.     set {_b} to the location at {_a}
  673.     add 1 to the x-coordinate of {_b}
  674.     add 1 to the y-coordinate of {_b}
  675.     add 1 to the z-coordinate of {_b}
  676.     set {_c} to the location at {_a}
  677.     add -1 to the x-coordinate of {_c}
  678.     add -1 to the y-coordinate of {_c}
  679.     add -1 to the z-coordinate of {_c}
  680.     loop blocks within {_b} to {_c}:
  681.         if loop-block is air:
  682.             set loop-block to slime block
  683.     wait 5 seconds
  684.     loop blocks within {_b} to {_c}:
  685.         if loop-block is slime block:
  686.             set loop-block to air
  687.     delete {_a}
  688.     delete {_b}
  689.     delete {_c}
  690.  
  691. on right click holding slime block:
  692.     {smashchar::%player%} is "slime"
  693.     name of player's weapon is "&aSlime Jump"
  694.     if {cooldown.%player%::slimejump} is greater than 0:
  695.         send "&cCooldown: %{cooldown.%player%::slimejump}%"
  696.         stop
  697.     set {cooldown.%player%::slimejump} to 30
  698.     if the block below the player is air:
  699.         set {_block} to the block 3 below the player
  700.         if {_block} is air:
  701.             set the block 3 below the player to slime block
  702.         if the block north of {_block} is air:
  703.             set the block north of {_block} to slime block
  704.         if the block south of {_block} is air:
  705.             set the block south of {_block} to slime block
  706.         if the block west of {_block} is air:
  707.             set the block west of {_block} to slime block
  708.         if the block east of {_block} is air:
  709.             set the block east of {_block} to slime block
  710.         if the block northeast of {_block} is air:
  711.             set the block northeast of {_block} to slime block
  712.         if the block northwest of {_block} is air:
  713.             set the block northwest of {_block} to slime block
  714.         if the block southeast of {_block} is air:
  715.             set the block southeast of {_block} to slime block
  716.         if the block southwest of {_block} is air:
  717.             set the block southwest of {_block} to slime block
  718.             wait 3 seconds
  719.         if the block north of {_block} is slime block:
  720.             set the block north of {_block} to air
  721.         if the block south of {_block} is slime block:
  722.             set the block south of {_block} to air
  723.         if the block west of {_block} is slime block:
  724.             set the block west of {_block} to air
  725.         if the block east of {_block} is slime block:
  726.             set the block east of {_block} to air
  727.         if the block northeast of {_block} is slime block:
  728.             set the block northeast of {_block} to air
  729.         if the block northwest of {_block} is slime block:
  730.             set the block northwest of {_block} to air
  731.         if the block southeast of {_block} is slime block:
  732.             set the block southeast of {_block} to air
  733.         if the block southwest of {_block} is slime block:
  734.             set the block southwest of {_block} to air
  735.         if the block at {_block} is slime block:
  736.             set the block at {_block} to air
  737.  
  738. on walking on slime block:
  739.     if {smashchar::%player%} is "slime":
  740.         push the player up at speed 4
  741.  
  742. on right click holding light green dye:
  743.     {smashchar::%player%} is "slime"
  744.     name of player's weapon is "&aSlime Drop"
  745.     if {cooldown.%player%::slimedrop} is greater than 0:
  746.         send "&cCooldown: %{cooldown.%player%::slimedrop}%"
  747.         stop
  748.     set {cooldown.%player%::slimedrop} to 60
  749.     set {fall.%player%} to false
  750.     set {drop} to the y-coordinate of the player
  751.     if {drop} is less than 150:
  752.         stop
  753.     else:
  754.         set player's hunger bar to 0.5
  755.         subtract 100 from {drop}
  756.         set {dropp} to ({drop}/10)
  757.     apply resistance 1000 to the player for 1 day
  758.        
  759. on damage of a player:
  760.     {smashchar::%victim%} is "slime"
  761.     damage cause is fall
  762.     loop all entities in radius 3 around the victim:
  763.         make the victim damage loop-entity by {dropp}
  764.         push loop-entity direction from victim to loop-entity at speed 5
  765.     remove resistance from the victim
  766.     delete {dropp}
  767.     set {fall.%victim%} to true
  768.  
  769. #SQUID
  770. on right click on Squid:
  771.     set {smashchar::%player%} to "squid"
  772.     execute console command "minecraft:clear %player%"
  773.     execute console command "heal %player%"
  774.     equip player with all leather armor
  775.     color player's leggings blue
  776.     color player's chestplate blue
  777.     color player's boots blue
  778.     give player black dye named "&0Ink Blast"
  779.     give player lapis lazuli named "&9Squid Attack"
  780.     give player water bucket named "&9Water Jet"
  781.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Squid""}"
  782.     set {waterjetn.%player%} to 100
  783.     message "{@U} You have chosen &9Squid &8as your character" to the player
  784.  
  785. on right click holding black dye:
  786.     {smashchar::%player%} is "squid"
  787.     name of player's weapon is "&0Ink Blast"
  788.     if {cooldown.%player%::inkblast} is greater than 0:
  789.         send "&cCooldown: %{cooldown.%player%::inkblast}%"
  790.         stop
  791.     set {cooldown.%player%::inkblast} to 10
  792.     apply blindness 1 to the clicked player for 3 seconds
  793.  
  794. on right click on player holding lapis lazuli:
  795.     {smashchar::%player%} is "squid"
  796.     name of player's weapon is "&9Squid Attack"
  797.     if {cooldown.%player%::inkblast} is greater than 0:
  798.         send "&cCooldown: %{cooldown.%player%::inkblast}%"
  799.         stop
  800.     set {cooldown.%player%::inkblast} to 30
  801.     target player is set
  802.     set {_vehicle} to targeted player
  803.     make the player ride {_vehicle}
  804.     wait 0.5 seconds
  805.     loop 3 times:
  806.         make the player damage {_vehicle} by 0.5
  807.         wait 1 seconds
  808.     make the player dismount the vehicle
  809.  
  810. on right click holding a water bucket:
  811.     {smashchar::%player%} is "squid"
  812.     name of player's weapon is "&9Water Jet"
  813.     if {waterjetn.%player%} is greater than 0:
  814.         push the player backwards at speed 1.5
  815.         message "{@P}&9Water Jet Fuel &7is at %{waterjetn.%player%} - 10%%%" to the player
  816.         loop all entities in radius 7 of the player:
  817.             if loop-entity is target entity:
  818.                 push loop-entity direction from player to loop-entity at speed 3
  819.     else:
  820.         message "{@P}&9Water Jet Fuel &7is at 0%%" to the player
  821.         stop
  822.     remove 10 from {waterjetn.%player%}
  823.  
  824. every 5 seconds:
  825.     loop all players:
  826.         if {waterjetn.%loop-player%} is less than 100:
  827.             add 10 to {waterjetn.%loop-player%}
  828.  
  829. #GHAST
  830. on right click on Ghast:
  831.     set {smashchar::%player%} to "ghast"
  832.     execute console command "minecraft:clear %player%"
  833.     execute console command "heal %player%"
  834.     equip player with all leather armor
  835.     color player's leggings white
  836.     color player's chestplate white
  837.     color player's boots white
  838.     give player a blaze rod named "&6Blaze Rod"
  839.     give player a bone meal named "&fGhast Glide"
  840.     give player a ghast tear named "&dRegeneration"
  841.     execute console command "replaceitem entity %player% slot.armor.head minecraft:skull 1 3 {SkullOwner:""MHF_Ghast""}"
  842.     message "{@U} You have chosen &fGhast &8as your character" to the player
  843.  
  844. on right click holding bone meal:
  845.     {smashchar::%player%} is "ghast"
  846.     name of player's weapon is "&fGhast Glide"
  847.     loop 30 times:
  848.         push the player forwards at speed 0.1
  849.         push the player up at speed 0.1
  850.         wait 1 tick
  851.  
  852. on right click holding bone meal:
  853.     {smashchar::%player%} is "ghast"
  854.     name of player's weapon is "&fGhast Glide"
  855.     loop 3 times:
  856.         shoot a fireball at speed 2 down
  857.         wait 10 ticks
  858.  
  859. on right click holding ghast tear:
  860.     heal the player by 1.5
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871. #/replaceitem entity @p slot.armor.head minecraft:skull {SkullOwner:"MHF_Blaze"}
  872. #if {cooldown.%player%::fireball} is greater than 0:
  873. #       send "&cCooldown: %{cooldown.%player%::fireball}%"
  874. #       stop
  875. #set {cooldown.%player%::fireball} to 5
  876. #{smashchar::%player%} is "spider"
  877. #name of player's weapon is "&5Pearl"
  878. #{waterjetn}
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