Jump to content

Anti Reach skript!


Recommended Posts

Here is my antireach skript please dont remove credits

created by: JellyJumperYT
discord: anyonefr

anticheat.skanticheat.sk

#Created by Discord: anyonefr | IGN: JellyJumperYT | https://discord.gg/gtWkAR3gYS
on damage:
    attacker is a player:
        gamemode of attacker is survival:
            attacker is not flying:
                set {_y.a} to y coord of attacker
                set {_y.v} to y coord of victim
                set {_yan} to {_y.v} - {_y.a}
                if {_yan} >= 0.01:
                    set {_ans} to distance between location of victim and location of attacker - ({_yan} / 2)
                if {_yan} <= 0:
                    set {_ans} to distance between location of victim and location of attacker
                if {_ans} > 4.25:
                    send "&7[&3&lFusion&6AntiCheat&7] &3&l[%attacker%] &7Reach Cheat detection &7[&7Y Level: &b%{_yan}% &7Distance: &b%{_ans}%&7]" to all players where [player input has permission "anticheat.notify"]
                    cancel event
                    {ka::%attacker's uuid%} is not true
                    set {ka::%attacker's uuid%} to true
                    wait 5 ticks
                    clear {ka::%attacker's uuid%}

on any movement:
    {ka::%player's uuid%} is true
    cancel event
on break:
    {ka::%player's uuid%} is true
    cancel event
on damage:
    {ka::%attacker's uuid%} is true
    cancel event

 

Edited by JellyJumper
credit change

UPVOTE IF THIS HELPED

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...