Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===================#
- #=Under Dogs Skript=#
- #===================#
- #=================================#
- #=By The one and only, Shell_Guy_=#
- #=================================#
- options:
- UD: &6[&eUnderDogs&6]&e
- command /underdogs <text>:
- permission: skript.op
- aliases: /ud
- usage: /ud <on/off>
- trigger:
- if arg 1 is "off":
- {underdogs} is false:
- message "{@UD} is already off."
- {underdogs} is true:
- set {underdogs} to false
- broadcast "{@UD} is now off"
- remove swiftness from all players
- remove strength from all players
- if arg 1 is "on":
- {underdogs} is true:
- message "{@UD} is already on"
- {underdogs} is false:
- broadcast "{@UD} is now on"
- set {underdogs} to true
- execute console command "feature on DisableNether"
- on damage of player:
- {underdogs} is true:
- wait 3 ticks
- victim's health is less than 5.1:
- apply speed 1 to the victim for 999 days
- victim's health is less than 2.6:
- apply strength 1 to the victim for 999 days
- victim's health is less than 1.1:
- apply speed 2 to the victim for 999 days
- victim's health is less than 0.6:
- apply strength 2 to the victim for 999 days
- on heal:
- {underdogs} is true:
- wait 3 ticks
- player's health is less than 0.6:
- apply speed 2 to the player for 999 days
- apply strength 2 to the player for 999 days
- stop
- player's health is less than 1.1:
- apply speed 2 to the player for 999 days
- remove strength from the player
- apply strength 1 to the player for 999 days
- stop
- player's health is less than 2.6:
- remove speed from the player
- apply speed 1 to the player for 999 days
- remove strength from the player
- apply strength 1 to the player for 999 days
- stop
- player's health is less than 5.1:
- remove strength from the player
- remove speed from the player
- apply speed 1 to the player for 999 days
- stop
- player's health is more than 5:
- remove strength from player
- remove speed from player
- stop
- on consume of milk:
- {underdogs} is true:
- cancel event
- on death of player:
- {underdogs} is true:
- remove speed from victim
- remove strength from victim
Advertisement
Add Comment
Please, Sign In to add comment