Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Perm: uhc.staff
- P: &f[&bMeleeFun&f]
- C: &b
- H: &f
- command /MeleeFun <text>:
- permission: {@Perm}
- usage: /MeleeFun <On:Off>
- trigger:
- if arg-1 is "enable" or "on":
- set {MeleeFun} to true
- broadcast "{@P}{@C} Melee Fun {@H}Enabled{@C}!"
- if arg-1 is "disable" or "off":
- delete {MeleeFun}
- broadcast "{@P}{@C} Melee Fun {@H}Disabled{@C}!"
- on damage of player:
- if {MeleeFun} is true:
- attacker is a player
- set the no damage of victim to 0.1 tick
Advertisement
Add Comment
Please, Sign In to add comment