HeroseQ

AntyLogout

Dec 31st, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. variables:
  2. {walka.%player%} = false
  3. {ban.%player%} = false
  4.  
  5. on damage of player:
  6. if {walka.%victim%} is false:
  7. set {walka.%victim%} to true
  8. display "&cANTY-LOGOUT" on bossbar with 100 percent by 10 seconds for victim
  9. wait 1 second
  10. display "&cANTY-LOGOUT" on bossbar with 95 percent by 10 seconds for victim
  11. wait 1 second
  12. display "&cANTY-LOGOUT" on bossbar with 90 percent by 10 seconds for victim
  13. wait 1 second
  14. display "&cANTY-LOGOUT" on bossbar with 85 percent by 10 seconds for victim
  15. wait 1 second
  16. display "&cANTY-LOGOUT" on bossbar with 80 percent by 10 seconds for victim
  17. wait 1 second
  18. display "&cANTY-LOGOUT" on bossbar with 75 percent by 10 seconds for victim
  19. wait 1 second
  20. display "&cANTY-LOGOUT" on bossbar with 70 percent by 10 seconds for victim
  21. wait 1 second
  22. display "&cANTY-LOGOUT" on bossbar with 65 percent by 10 seconds for victim
  23. wait 1 second
  24. display "&cANTY-LOGOUT" on bossbar with 60 percent by 10 seconds for victim
  25. wait 1 tick
  26. display "&cANTY-LOGOUT" on bossbar with 55 percent by 10 seconds for victim
  27. wait 1 second
  28. display "&cANTY-LOGOUT" on bossbar with 50 percent by 10 seconds for victim
  29. wait 1 second
  30. display "&cANTY-LOGOUT" on bossbar with 45 percent by 10 seconds for victim
  31. wait 1 second
  32. display "&cANTY-LOGOUT" on bossbar with 40 percent by 10 seconds for victim
  33. wait 1 second
  34. display "&cANTY-LOGOUT" on bossbar with 35 percent by 10 seconds for victim
  35. wait 1 second
  36. display "&cANTY-LOGOUT" on bossbar with 30 percent by 10 seconds for victim
  37. wait 1 second
  38. display "&cANTY-LOGOUT" on bossbar with 25 percent by 10 seconds for victim
  39. wait 1 second
  40. display "&cANTY-LOGOUT" on bossbar with 20 percent by 10 seconds for victim
  41. wait 1 second
  42. display "&cANTY-LOGOUT" on bossbar with 15 percent by 10 seconds for victim
  43. wait 1 second
  44. display "&cANTY-LOGOUT" on bossbar with 10 percent by 10 seconds for victim
  45. wait 1 second
  46. display "&cANTY-LOGOUT" on bossbar with 5 percent by 10 seconds for victim
  47. wait 1 second
  48. display "&cANTY-LOGOUT" on bossbar with 5 percent by 1 seconds for victim
  49. set {walka.%victim%} to false
  50. stop
  51. on quit:
  52. if {walka.%player%} is true:
  53. set {walka.%player%} to false
  54. kill player
  55. set {globalvariabelsfordead.%player%} to 1
  56. broadcast "&cGracz &6%player% &cwylogowal sie podczas walki!"
  57. stop
Add Comment
Please, Sign In to add comment