Command /mdr <text>:
usage: &e/mdr <Hulk/Thor/Flash/Superman/Batman>
trigger:
if player is in world "jail"
if arg 1 is "list":
message "&6Commande : &e/mdr <Hulk/Thor/Flash/Superman/Batman>"
#!==========================!#
#! HULK !#
#!==========================!#
if arg 1 is "Hulk":
clear player's inventory
execute console command "heal %player%"
set hunger to 10
set rf max hp of player to 40
heal the player by 40 hearts
wait 1 tick
equip player with zombie head
equip player with leather chestplate
equip player with leather leggings
equip player with leather boots
dye player's chestplate green
dye player's leggings white
dye player's boots green
apply potion of strength 4 to the player for 300 seconds
apply potion of speed 2 to the player for 300 seconds
#!=========================================!#
#! THOR !#
#!=========================================!#
if arg 1 is "Thor":
clear player's inventory
execute console command "heal %player%"
set hunger to 10
set rf max hp of player to 30
wait 1 tick
equip player with leather helmet
equip player with leather chestplate
equip player with leather leggings
equip player with leather boots
dye player's helmet grey
dye player's chestplate white
dye player's leggings white
dye player's boots white
apply potion of jump 3 to the player for 300 seconds
give player iron axe named "<Yellow><bold>Mjöllnir"
#!==========================!#
#! FLASH !#
#!==========================!#
if arg 1 is "Flash":
clear player's inventory
execute console command "heal %player%"
set hunger to 10
set rf max hp of player to 30
wait 1 tick
equip player with leather helmet
equip player with leather chestplate
equip player with leather leggings
equip player with leather boots
dye player's helmet red
dye player's chestplate red
dye player's leggings red
dye player's boots yellow
wait 20 ticks
give a redstone torch named "<red><italic>Vitesse" to player
set {flash.%UUID of player%} to true
apply potion of strength 2 to the player for 300 seconds
#!==========================!#
#! SUPERMAN !#
#!==========================!#
if arg 1 is "Superman":
clear player's inventory
execute console command "heal %player%"
set hunger to 10
set rf max hp of player to 30
wait 1 tick
equip player with head
equip player with leather chestplate
equip player with leather leggings
equip player with leather boots
dye player's chestplate blue
dye player's leggings red
dye player's boots red
give 5 feathers named "<white><italic>Vole" to player
apply potion of strength 2 to the player for 600 seconds
#!==========================!#
#! BATMAN !#
#!==========================!#
if arg 1 is "Batman":
clear player's inventory
execute console command "heal %player%"
set hunger to 10
set rf max hp of player to 30
wait 1 tick
equip player with leather helmet
equip player with leather chestplate
equip player with leather leggings
equip player with leather boots
dye player's helmet black
dye player's chestplate grey
dye player's leggings black
dye player's boots black
give 10 snowball named "<white><bold>BataRang" to player
give 10 egg named "&f&lBataEgg" to player
apply potion of strength 2 to the player for 300 seconds
#======================#
# EVENT THOR #
#======================#
On rightclick with iron axe:
cancel event
if player is holding a iron axe named "<Yellow><bold>Mjöllnir":
strike lightning at the targeted block
#========================================#
# EVENT FLASH #
#========================================#
On rightclick with redstone torch:
cancel event
if {flash.%UUID of player%} is true:
apply speed 6 to player
#==========================#
# EVENT SUPERMAN #
#==========================#
On rightclick with feather:
push the player upwards
push player forwards
#==========================#
# EVENT BATMAN #
#==========================#
On damage:
if damage was caused by projectile:
if projectile is snowball:
if victim is a player:
poison the victim for 5 seconds
On damage:
if damage was caused by projectile:
if projectile is egg:
if victim is a player:
slowness the victim for 5 seconds