Shovelwarf_

Watchdog

Aug 6th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. command /testaac:
  2. trigger:
  3. set {citizen.%player%} to location of player
  4. wait 1 ticks
  5. create a citizen named "AAC" at {citizen.%player%}
  6. wait 1 ticks
  7. set {citizennb.%player%} to last created citizen
  8. wait 15 seconds
  9. remove citizen {citizennb.%player%}
  10. loop all players:
  11. set {aacclick.%loop-player%} to 0
  12. set {aacwarn.%loop-player%} to 0
  13. set {twd.%loop-player%} to true
  14. every 1 ticks:
  15. loop all players:
  16. if {aacwarn.%loop-player%} is 0:
  17. if {aacclick.%loop-player%} is 10:
  18. broadcast "&4---Kickreport---"
  19. broadcast "&4%loop-player%"
  20. broadcast "&4Reason:KillauraLv0"
  21. set {aacclick.%loop-player%} to 0
  22. kick the loop-player due to "&4You are kicked Reason>>KillauraLv1"
  23. set {aacwarn.%loop-player%} to 1
  24. if {aacclick.%loop-player%} is 10:
  25. if {aacwarn.%loop-player%} is 1:
  26. broadcast "&4---Kickreport---"
  27. broadcast "&4%loop-player%"
  28. broadcast "&4Reason:KillauraLv1"
  29. set {aacclick.%loop-player%} to 0
  30. kick the loop-player due to "&4You are kicked Reason>>KillauraLv2"
  31. set {aacwarn.%loop-player%} to 2
  32. if {aacclick.%loop-player%} is 10:
  33. if {aacwarn.%loop-player%} is 2:
  34. broadcast "&4---Banreport---"
  35. broadcast "&4%loop-player%"
  36. broadcast "&4Reason:KillauraLv2"
  37. set {aacclick.%loop-player%} to 0
  38. kick the loop-player due to "&4You are Banned Reason>>KillauraLv3"
  39. set {aacwarn.%loop-player%} to 0
  40.  
  41. command /resetaac:
  42. trigger:
  43. set {aacclick.%player%} to 0
  44. set {aacwarn.%player%} to 0
  45.  
  46.  
  47. on citizen left click:
  48. citizen is named "AAC":
  49. add 1 to {aacclick.%player%}
  50. cancel event
  51.  
  52. every 1 ticks:
  53. loop all players:
  54. if {twd.%loop-player%} is true:
  55. set {_a} to citizen is named "AAC"
  56. set {_l} to location of loop-player
  57. add 2 to y-coord of {_l}
  58. teleport the {citizen.%loop-player%} to {_l}
Add Comment
Please, Sign In to add comment