Advertisement
Svely

combo

Jun 19th, 2018
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. command /combo [<text>] [<player>]:
  2. permission: combo.admin
  3. trigger:
  4. if arg 1 is not set:
  5. send "&aUse: /combo true <player>" to player
  6. send "&aUse: /combo false <player>" to player
  7. if arg 1 is "true":
  8. set {combo.true.%arg-2%} to true
  9. send "&7completed" to player
  10. if arg 1 is "false":
  11. set {combo.true.%arg-2%} to false
  12. send "&7completed" to player
  13.  
  14. on damage:
  15. victim is a player:
  16. if {combo.true.%victim%} is true:
  17. set damage delay of victim to 1 tick
  18. else:
  19. set damage delay of victim to 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement