Jump to content

Anti-Offhand Exploit Skript


MillionDollar

Recommended Posts

 

on swap hand items:
    if {cooldown.%player%} is not greater than 0:
        set {cooldown.%player%} to 1
        wait 1 second # as the offhand exploit spams n amount in 1 tick, you can change this to any value you want
        set {cooldown.%player%} to 0
        set {used.%player%} to 0
    else:
        cancel event
        add 1 to {used.%player%}
        if {used.%player%} >= 50:
            execute console command "/ban -s %player% Exploits" # uses AdvancedBans

# resets cooldown if something breaks
command /reset [<player>]:
    permission: expl.admin
    trigger:
        set {cooldown.%arg-1%} to 0

 

  • Thanks 2

MillionDollar, TrillionDollar

BillionDollar please notice me.

 

Screenshot_303.png.cf935223698ddad0326155e211785a33.png

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...