Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Skript OktenCheat by OhKyZeah
- # Version 2.5.7
- # Mise à jour: [2.8.7]
- on leftclick:
- if player is not holding fishing rod:
- add 1 to {clickers.%player%}
- on join:
- set {clickers.%player%} to 0
- set {vl.%player%} to 0
- set {hax.%player%} to 0
- set {vlfly.%player%} to 0
- set {vlspeed.%player%} to 0
- on quit:
- delete {clickers.%player%}
- delete {vl.%player%}
- delete {hax.%player%}
- delete {maxclickers.%player%}
- delete {vlgod.%player%}
- every 1 seconds:
- loop all players:
- if {clickers.%loop-player%} > {maxclickers.%loop-player%}:
- set {maxclickers.%loop-player%} to {clickers.%loop-player%}
- if {clickers.%loop-player%} > 17:
- add 1 to {vl.%loop-player%}
- execute command "si &8[&c!&8] &c%loop-player% &7a fait %{clickers.%loop-player%}% clics. (%loop-player's ping%ms) [&cVL.%{vl.%loop-player%}%&7]"
- wf "[%now%] %loop-player% : %{clickers.%loop-player%}% clicks | ping: %loop-player's ping% TPS: %tps%" to "plugins/DeltaSpy/%loop-player%.txt"
- if loop-player's ping < 125:
- add 1 to {hax.%loop-player%}
- if {hax.%loop-player%} > 9:
- execute command "/ban %loop-player% Autoclick (AntiCheat)"
- set {clickers.%loop-player%} to 0
- on join:
- loop 20000 times:
- if player is online:
- if player's ping > 0:
- if player's flight mode is not true:
- if distance between {lastlocation.Rockedcheck.%player%} and location of player > 9.99:
- if distance between {lastlocation.Rockedcheck.%player%} and location of player < 50:
- if {lastlocation.yaxis.Rockedcheck.%player%} <= y-coordinate of player:
- execute command "si &8[&c!&8] &c%player% &7a parcourus %distance between {lastlocation.Rockedcheck.%player%} and location of player% blocks. (%player's ping%MS) [&cVL.%{vlspeed.%player%}%&7]"
- add 1 to {vlspeed.%player%}
- set {lastlocation.Rockedcheck.%player%} to location of player
- if player's ping < 150:
- add 1 to {hax.%player%}
- if {hax.%player%} > 9:
- execute command "/ban %player% SpeedHack (AntiCheat)"
- if difference between {lastlocation.yaxis.Rockedcheck.%player%} and y-coordinate of player > 4:
- if difference between {lastlocation.yaxis.Rockedcheck.%player%} and y-coordinate of player < 80:
- set {_y} to y-coordinate of player
- if {lastlocation.yaxis.Rockedcheck.%player%} < {_y}:
- execute command "si &8[&c!&8] &c%player% &7a monté %difference between {lastlocation.yaxis.Rockedcheck.%player%} and y-coordinate of player% blocks. (%player's ping%MS) [&cVL.%{vlfly.%player%}%&7]"
- set {lastlocation.yaxis.Rockedcheck.%player%} to y-coordinate of player
- add 1 to {vlfly.%player%}
- if player's ping < 150:
- add 1 to {hax.%player%}
- if {hax.%player%} > 9:
- execute command "/ban %player% Fly (AntiCheat)"
- wait 2 ticks
- set {lastlocation.Rockedcheck.%player%} to location of player
- set {lastlocation.yaxis.Rockedcheck.%player%} to y-coordinate of player
- else:
- exit loop
- wait 1 second
- on teleport:
- set {lastlocation.Rockedcheck.%player%} to location of player
- set {lastlocation.yaxis.Rockedcheck.%player%} to location of player
- on quit:
- clear {movement.%player%}
- clear {lastlocation.Rockedcheck.%player%}
- clear {lastlocation.yaxis.Rockedcheck.%player%}
- clear {vlfly.%player%}
- clear {vlspeed.%player%}
- on damage of player:
- clear {lastlocation.Rockedcheck.%victim%}
- clear {lastlocation.yaxis.Rockedcheck.%victim%}
- every 30 seconds:
- loop all players:
- if {hax.%loop-player%} > 1:
- reduce {hax.%loop-player%} by 1
- if {clickers.%loop-player%} > 1:
- reduce {clickers.%loop-player%} by 1
- if {reach.logs.%loop-players%} > 1:
- reduce {reach.logs.%loop-players%} by 1
- command /cheat [<text>] [<player>]:
- permission: OktenCheat.staff
- permission message: &cTu n'as aucune permission pour cette commmand.
- trigger:
- if arg 1 is not set:
- send "&6----------[&aOktenCheat&6]----------"
- send ""
- send "&7&l→ &6/verif <joueur> &7- &cVoir les logs d'un joueur"
- send ""
- send "&7&l→ &6/alertes &7- &cActiver/désactiver les alertes"
- send ""
- send "&7&l→ &6/messglob &7- &cPour envoyer un message global"
- send ""
- send "&7&m&l---------------------------"
- send "&4>> &aCrée par OhKyZeah - Developpeur et Skripteur &4<<"
- send "&7&m&l---------------------------"
- if arg 1 is not "check":
- send "&7&l→ &6/verif <joueur> &7- &cvoir les logs d'un joueur"
- if arg 1 is "check":
- if arg 2 is not set:
- send "&7&l→ &cutilisation: &6/verif check <joueur>"
- else:
- send "&7&l→ &cVérification de %arg 2%..."
- wait 5 ticks
- send ""
- send "&6----------[&aLogsOktenPlayer&6]----------"
- send ""
- send "&7&l→ &6AutoClicker &7- &c%{vl.%arg 2%}%"
- send "&7&l→ &6Fly &7- &c%{vlfly.%arg 2%}%"
- send "&7&l→ &6OktenCheat alerts : &c%{hax.%arg 2%}%/5"
- send ""
- send "&6-----------------------------"
- command /onalerts:
- permission: OktenCheat.staff
- aliases: /onalert ,/onalerts
- trigger:
- if {alerts.%player%.Rocked} is not set:
- set {alerts.%player%.Rocked} to false
- send "&7&l→ &8[&c!&8] &c &6alertes &aactivées."
- else:
- delete {alerts.%player%.Rocked}
- send "&7&l→ &8[&c!&8] &c &6alertes &cdésactivées."
- command /messglob [<text>]:
- trigger:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- if {alerts.%loop-player%.Rocked} is set:
- send "%arg 1%" to loop-player
- on damage:
- if attacker is a player:
- if victim is a player:
- set {_distance} to distance between attacker and victim
- if {_distance} > 5.2:
- if damage cause is not a projectile:
- if horizontal facing of attacker is east:
- if horizontal facing of victim is west:
- if attacker's ping < 150:
- if victim's ping < 150:
- add 1 to {reach.logs.%attacker%}
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- wf "[%now%] %attacker% utilise probablement un Reach (ping : %attacker's ping%)" to "plugins/DeltaSpy/%attacker%.txt"
- if {reach.logs.%attacker%} > 10:
- execute command "/ban %attacker% Reach "
- if victim's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if attacker's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if horizontal facing of attacker is west:
- if horizontal facing of victim is east:
- if attacker's ping < 150:
- if victim's ping < 150:
- add 1 to {reach.logs.%attacker%}
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- wf "[%now%] %attacker% utilise probablement un Reach (ping : %attacker's ping%)" to "plugins/DeltaSpy/%attacker%.txt"
- if {reach.logs.%attacker%} > 10:
- execute command "/ban %attacker% Reach "
- if victim's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if attacker's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if horizontal facing of attacker is north:
- if horizontal facing of victim is south:
- if attacker's ping < 150:
- if victim's ping < 150:
- add 1 to {reach.logs.%attacker%}
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if {reach.logs.%attacker%} > 10:
- execute command "/ban %attacker% Reach "
- if victim's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if attacker's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if horizontal facing of attacker is south:
- if horizontal facing of victim is north:
- if attacker's ping < 150:
- if victim's ping < 150:
- add 1 to {reach.logs.%attacker%}
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if {reach.logs.%attacker%} > 10:
- execute command "/ban %attacker% Reach "
- if victim's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- if attacker's ping > 150:
- loop all players:
- if loop-player have permission "OktenCheat.staff":
- send "&8[&c!&8] &c%attacker% &7a une reach de &c%{_distance}% blocs&7. (&c%ping of attacker%ms&7). [&cVL.%{hax.%attacker%}%&7]" to (loop-players)
- execute command "playsound note.snare %loop-players%"
- on quit:
- clear {reach.logs.%player%}
- on shoot:
- if projectile is an arrow:
- if difference between {fbow.%shooter%.last} and now is less than 0.1 second:
- set {fbow.%shooter%.last} to now
- loop all players:
- if loop-player have permission "AntiCheat.view":
- send "&8[&c!&8] &c%shooter% &7utilise un &cFastBow &8(&b%difference between {fbow.%shooter%.last} and now%&8) &cping: &b%ping of shooter%" to (loop-players)
- add 1 to {fbow.logs.%shooter%}
- if {fbow.logs.%shooter%} > 5:
- if shooter's ping is less than 200:
- execute command "ban %shooter% FastBow (AntiCheat)"
- set {fbow.%shooter%.last} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement