Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -This Skript is Coded By Spacey for The Ultimate UHC Pack-#
- #-Feel free to edit, but please give me and the other creators original credit! <3-#
- #HealthMessage
- options:
- Pre: &7[&6&lVantixMC&7]&8»
- command /healthmessages <text>:
- permission: uhc.host
- permission message: &a&lUHC &8» &c&oYou do not have permission.
- usage: "/healthmesssages <enable:disable>"
- aliases: /hm
- trigger:
- if arg 1 is "enable":
- set {healthmessage} to true
- message "{@Pre}HealthMessages enabled."
- stop
- if arg 1 is "on":
- set {healthmessage} to true
- message "{@Pre}HealthMessages enabled."
- stop
- if arg 1 is "disable":
- set {healthmessage} to false
- message "{@Pre}HealthMessages disabled."
- stop
- if arg 1 is "off":
- set {healthmessage} to false
- message "{@Pre}HealthMessages disabled."
- stop
- if arg 1 is "toggle":
- if {healthmessage} is true:
- set {healthmessage} to false
- message "{@Pre}HealthMessages disabled."
- stop
- if {healthmessage} is false:
- set {healthmessage} to true
- message "{@Pre}HealthMessages enabled."
- stop
- stop
- stop
- #HealthMessages
- on damage of player:
- if {healthmessage} is true:
- wait 1 tick
- attacker is a player:
- projectile exists
- wait 1 tick
- victim is not dead:
- message "&c%victim% &7is now at &b%health of victim*1% &c❤." to the attacker
- stop
- stop
- stop
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement