Advertisement
TEKITOU-123

Untitled

May 18th, 2019
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. on damage of a player:
  2. attacker is a player
  3. if {%attacker%-combo} is set:
  4. if {%attacker%-combo} != 3:
  5. add 1 to {%attacker%-combo}
  6. else if {%attacker%-combo} = 3:
  7. push victim (direction from attacker to location of victim) at speed 2
  8. delete {%attacker%-combo}
  9. else if {%attacker%-combo} is not set:
  10. add 1 to {%attacker%-combo}
  11. delete {%victim%-combo}
  12. set {_n} to {%attacker%-combo}
  13. loop 5 times:
  14. if {_n} != {%attacker%-combo}:
  15. set {_b} to 1
  16. stop loop
  17. else if {_n} = {%attacker%-combo}:
  18. wait second
  19. {_b} is not set
  20. delete {%attacker%-combo}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement