Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- {nofalldamage} is true
- damage was caused by fall
- cancel the event
- command /superspeed <player>:
- permission: skript.superheroes
- trigger:
- make player execute command "/effect %arg 1% speed 1000000 1"
- broadcast "&1[&4Super Heroes&1] &4The power of &bSPEED &4was granted to %arg 1%"
- command /superstrength <player>:
- permission: skript.superheroes
- trigger:
- make player execute command "/effect %arg 1% increase_damage 1000000"
- broadcast "&1[&4Super Heroes&1] &4The power of &cSTRENGTH &4was granted to %arg 1%"
- command /superhealth <player>:
- permission: skript.superheroes
- trigger:
- make player execute command "/effect %arg 1% health_boost 1000000 2"
- broadcast "&1[&4Super Heroes&1] &4The power of &dEXTRA HEALTH &4was granted to %arg 1%"
- command /superjump <player>:
- permission: skript.superheroes
- trigger:
- make player execute command "/effect %arg 1% jump 1000000 4"
- broadcast "&1[&4Super Heroes&1] &4The power of &aJump Boost &4was granted to %arg 1%"
- command /superinvis <player>:
- permission: skript.superheroes
- trigger:
- make player execute command "/effect %arg 1% invisibility 1000000"
- broadcast "&1[&4Super Heroes&1] &4The power of &fINVISIBILITY &4was granted to %arg 1%"
- command /superres <player>:
- permission: skript.superheroes
- trigger:
- make player execute command "/effect %arg 1% damage_resistance 1000000 1"
- broadcast "&1[&4Super Heroes&1] &4The power of &8RESISTANCE &4was granted to %arg 1%"
- command /enablesuperheroes:
- permission: skript.superheroes
- trigger:
- broadcast "&1[&4Super Heroes&1] &4Super Heroes is creating teams and disabling no fall damage"
- set {nofalldamage} to true
- make player execute command "/createteam"
- wait 1 second
- make player execute command "/scoreboard teams option UHC0 color dark_red"
- make player execute command "/createteam"
- wait 1 second
- make player execute command "/scoreboard teams option UHC1 color gold"
- make player execute command "/createteam"
- wait 1 second
- make player execute command "/scoreboard teams option UHC2 color dark_blue"
- make player execute command "/createteam"
- wait 1 second
- make player execute command "/scoreboard teams option UHC3 color dark_green"
- make player execute command "/createteam"
- wait 1 second
- make player execute command "/scoreboard teams option UHC4 color dark_purple"
- make player execute command "/createteam"
- wait 1 second
- make player execute command "/scoreboard teams option UHC5 color yellow"
- command /disablesuperheroes:
- permission: skript.superheroes
- trigger:
- broadcast "&1[&4Super Heroes&1] &4Super Heroes is removing teams and enabling fall damage"
- set {nofalldamage} to false
- make player execute command "/scoreboard teams remove UHC0"
- make player execute command "/scoreboard teams remove UHC1"
- make player execute command "/scoreboard teams remove UHC2"
- make player execute command "/scoreboard teams remove UHC3"
- make player execute command "/scoreboard teams remove UHC4"
- make player execute command "/scoreboard teams remove UHC5"
- command /superteams:
- permission: skript.superheroes
- trigger:
- broadcast "&1[&4Super Heroes&1] &4Super Heroes is randomizing the teams"
- make player execute command "/randomteams 6"
- command /superfreeze:
- permission: skript.freeze
- trigger:
- loop all players:
- make player execute command "/effect %loop-players% 2 1000000 5"
- make player execute command "/effect %loop-players% blindness 1000000 5"
- make player execute command "/effect %loop-players% regeneration 1000000 5"
- make player execute command "/effect %loop-players% 4 1000000 5"
- broadcast "&1[&4Super Heroes&1] &7Freezing is &2ENABLED"
- command /superunfreeze:
- permission: skript.freeze
- trigger:
- loop all players:
- make player execute command "/effect %loop-players% clear"
- broadcast "&1[&4Super Heroes&1] &7Freezing is &4Disabled"
Advertisement
Add Comment
Please, Sign In to add comment