kazuken0814

Untitled

Oct 20th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1. every 3 seconds:
  2. loop all players:
  3. loop-player is not flying
  4. loop-player's gamemode is not creative
  5. set {y.%loop-player%} to the y location of loop-player
  6. wait 1 seconds
  7. set {y2.%loop-player%} to the y location of loop-player
  8. wait 1 ticks
  9. if difference between {y.%loop-player%} and {y2.%loop-player%} is greater than 5:
  10. loop all players:
  11. loop-player-2 is op:
  12. send "&6[AntiCheat] &c%loop-player-1%はFly(中レベル)の疑いがあります" to loop-player-2
  13. every 3 seconds:
  14. loop all players:
  15. loop-player is not flying
  16. loop-player's gamemode is not creative
  17. set {z.%loop-player%} to the z location of loop-player
  18. wait 1 seconds
  19. set {z2.%loop-player%} to the z location of loop-player
  20. wait 1 ticks
  21. if difference between {z.%loop-player%} and {z2.%loop-player%} is greater than 8:
  22. loop all players:
  23. loop-player-2 is op:
  24. send "&6[AntiCheat] &c%loop-player-1%はFlyまたはSpeedhackの疑いがあります" to loop-player-2
  25. every 3 seconds:
  26. loop all players:
  27. loop-player is not flying
  28. loop-player's gamemode is not creative
  29. set {x.%loop-player%} to the x location of loop-player
  30. wait 1 seconds
  31. set {x2.%loop-player%} to the x location of loop-player
  32. wait 1 ticks
  33. if difference between {x.%loop-player%} and {x2.%loop-player%} is greater than 8:
  34. loop all players:
  35. loop-player-2 is op:
  36. send "&6[AntiCheat] &c%loop-player-1%はFlyまたはSpeedhackの疑いがあります" to loop-player-2
  37. on flight toggle:
  38. if player's gamemode is not creative:
  39. loop all players:
  40. loop-player is op:
  41. send "&6[AntiCheat] &c%loop-player-1%はFly(中レベル)の疑いがあります" to loop-player
  42. every 1.5 second:
  43. clear {_blockbelow}
  44. clear {_alerte2}
  45. clear {_alerte}
  46. clear {_arround}
  47. clear {_loopair}
  48. clear {_below}
  49. loop all players:
  50. loop-player's gamemode is not creative
  51. set {_blockbelow} to the block below loop-player
  52. while {_blockbelow} is air :
  53. set {_blockbelow} to the block below {_blockbelow}
  54. add 1 to {_alerte}
  55. wait 1 second
  56. set {_blockbelow} to the block below loop-player
  57. while {_blockbelow} is air :
  58. set {_blockbelow} to the block below {_blockbelow}
  59. add 1 to {_alerte2}
  60. if block west below loop-player is not air :
  61. add 1 to {_below}
  62. if block north below loop-player is not air :
  63. add 1 to {_below}
  64. if block south below loop-player is not air :
  65. add 1 to {_below}
  66. if block east below loop-player is not air :
  67. add 1 to {_below}
  68. if block south loop-player is not air :
  69. add 1 to {_arround}
  70. if block north loop-player is not air :
  71. add 1 to {_arround}
  72. if block west loop-player is not air :
  73. add 1 to {_arround}
  74. if block east loop-player is not air :
  75. add 1 to {_arround}
  76. if block below loop-player is not air:
  77. add 1 to {_arround}
  78. loop blocks in radius 2 around the loop-player:
  79. loop-block is air:
  80. add 1 to {_loopair}
  81. if {_alerte2} >= {_alerte}:
  82. {_alerte} > 6
  83. if {_below} is not set :
  84. loop all players:
  85. loop-player-2 is op:
  86. send "&6[AntiCheat] &c%loop-player-1%はFly(低レベル)の疑いがあります" to loop-player-2
  87. if {_arround} is not set:
  88. loop all players:
  89. loop-player-2 is op:
  90. send "&6[AntiCheat] &c%loop-player-1%はFly(中レベル)の疑いがあります" to loop-player-2
  91. if {_loopair} > 34:
  92. loop all players:
  93. loop-player-2 is op:
  94. send "&6[AntiCheat] &c%loop-player-1%はFly(高レベル)の疑いがあります" to loop-player-2
Advertisement
Add Comment
Please, Sign In to add comment