Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /cc <text> [<player>]:
- permission: Modo
- usage: &bUtilise /cc help
- trigger:
- if arg 1 is "v":
- if {ccv.%arg 2%} is false:
- set {ccv.%arg 2%} to true
- send "&6[CheckCheat] &fLancement du test, veuillez patienter..." to sender
- set {loc.%arg 2%} to argument-player's location
- make console execute command "gamemode 3 %arg 2%"
- make console execute command "npc create %arg 2%"
- make console execute command "npc gamemode 0"
- make console execute command "effect %arg 2% speed 10 2"
- set {loc1.%arg 2%} to y coordinate of arg 2
- push the argument-player upwards at speed 50
- wait 1 seconds
- set {loc2.%arg 2%} to y coordinate of arg 2
- wait 3 ticks
- make console execute command "/speed walk 0 %arg 2%"
- make console execute command "/speed fly 0 %arg 2%"
- wait 20 ticks
- if {loc1.%arg 2%} = {loc2.%arg 2%}:
- send "&6[CheckCheat] &fRésultats: &bDETECTED &f(VL: &b%{vl}%&f)" to sender
- else:
- send "&6[CheckCheat] &fRésultats: &bMAYBE &f(VL: &b0&f)" to sender
- teleport arg 2 to {loc.%arg 2%}
- make console execute command "effect %arg 2% clear"
- make console execute command "gamemode 0 %arg 2%"
- make console execute command "/speed walk 1 %arg 2%"
- make console execute command "/speed fly 1 %arg 2%"
- make console execute command "npc remove"
- set {ccv.%arg 2%} to false
- else:
- send "&6[CheckCheat] &fCe joueur est déjà entrain d'être vérif par un modérateur" to sender
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement