Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 3 seconds:
- loop all players:
- loop-player is not flying
- loop-player's gamemode is not creative
- set {y.%loop-player%} to the y location of loop-player
- wait 1 seconds
- set {y2.%loop-player%} to the y location of loop-player
- wait 1 ticks
- if difference between {y.%loop-player%} and {y2.%loop-player%} is greater than 5:
- loop all players:
- loop-player-2 is op:
- send "&6[AntiCheat] &c%loop-player-1%はFly(中レベル)の疑いがあります" to loop-player-2
- every 3 seconds:
- loop all players:
- loop-player is not flying
- loop-player's gamemode is not creative
- set {z.%loop-player%} to the z location of loop-player
- wait 1 seconds
- set {z2.%loop-player%} to the z location of loop-player
- wait 1 ticks
- if difference between {z.%loop-player%} and {z2.%loop-player%} is greater than 8:
- loop all players:
- loop-player-2 is op:
- send "&6[AntiCheat] &c%loop-player-1%はFlyまたはSpeedhackの疑いがあります" to loop-player-2
- every 3 seconds:
- loop all players:
- loop-player is not flying
- loop-player's gamemode is not creative
- set {x.%loop-player%} to the x location of loop-player
- wait 1 seconds
- set {x2.%loop-player%} to the x location of loop-player
- wait 1 ticks
- if difference between {x.%loop-player%} and {x2.%loop-player%} is greater than 8:
- loop all players:
- loop-player-2 is op:
- send "&6[AntiCheat] &c%loop-player-1%はFlyまたはSpeedhackの疑いがあります" to loop-player-2
- on flight toggle:
- if player's gamemode is not creative:
- loop all players:
- loop-player is op:
- send "&6[AntiCheat] &c%loop-player-1%はFly(中レベル)の疑いがあります" to loop-player
- every 1.5 second:
- clear {_blockbelow}
- clear {_alerte2}
- clear {_alerte}
- clear {_arround}
- clear {_loopair}
- clear {_below}
- loop all players:
- loop-player's gamemode is not creative
- set {_blockbelow} to the block below loop-player
- while {_blockbelow} is air :
- set {_blockbelow} to the block below {_blockbelow}
- add 1 to {_alerte}
- wait 1 second
- set {_blockbelow} to the block below loop-player
- while {_blockbelow} is air :
- set {_blockbelow} to the block below {_blockbelow}
- add 1 to {_alerte2}
- if block west below loop-player is not air :
- add 1 to {_below}
- if block north below loop-player is not air :
- add 1 to {_below}
- if block south below loop-player is not air :
- add 1 to {_below}
- if block east below loop-player is not air :
- add 1 to {_below}
- if block south loop-player is not air :
- add 1 to {_arround}
- if block north loop-player is not air :
- add 1 to {_arround}
- if block west loop-player is not air :
- add 1 to {_arround}
- if block east loop-player is not air :
- add 1 to {_arround}
- if block below loop-player is not air:
- add 1 to {_arround}
- loop blocks in radius 2 around the loop-player:
- loop-block is air:
- add 1 to {_loopair}
- if {_alerte2} >= {_alerte}:
- {_alerte} > 6
- if {_below} is not set :
- loop all players:
- loop-player-2 is op:
- send "&6[AntiCheat] &c%loop-player-1%はFly(低レベル)の疑いがあります" to loop-player-2
- if {_arround} is not set:
- loop all players:
- loop-player-2 is op:
- send "&6[AntiCheat] &c%loop-player-1%はFly(中レベル)の疑いがあります" to loop-player-2
- if {_loopair} > 34:
- loop all players:
- loop-player-2 is op:
- send "&6[AntiCheat] &c%loop-player-1%はFly(高レベル)の疑いがあります" to loop-player-2
Advertisement
Add Comment
Please, Sign In to add comment