kazuken0814

AntiCheat 開発中

Oct 12th, 2018
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. options:
  2. fly: true
  3. on walk on water:
  4. if player is on ground:
  5. kick the player
  6. broadcast "&c%player%さんが水上歩行を行っていたためkickされました。"
  7. on npc leftclick:
  8. if npc's name is "1va":
  9. add 1 to {_anticheat.%player%}
  10. wait 2 second
  11. if {_anticheat.%player%} is 8 =>:
  12. kick the player
  13. broadcast "&c%player%さんはkillaura使用の疑いでkickされました。"
  14. on packet:
  15. if {@fly} is true:
  16. if player's gamemode is survival or adventure:
  17. if player is not an op:
  18. event-string is "PacketPlayInFlying"
  19. if {_flying.%player%} is 100 =>:
  20. kick the player due to "fly kick"
  21. add 1 to {_flying.%player%}
  22. wait 2 second
Advertisement
Add Comment
Please, Sign In to add comment