Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on left click:
- add 1 to {%player's uuid%::clicks}
- if {%player's uuid%::clicks} is more than 20:
- if {%player's uuid%::announce::autoclicker}:
- loop all players:
- if loop-player has permission "Click.Notify":
- if {%player's uuid%::notify} is not set:
- send "%player% may be using autoclicker! Clicked 20 times in 1 second" to loop-player
- set {%player's uuid%::notify} to true
- wait 1 second
- delete {%player's uuid%::notify}
- add 1 to {%player's uuid%::illegalclicks}
- if {%player's uuid%::illegalclicks} is over 3:
- execute console command "/tempban %player% 30 &aDoggoCheat&7: You have been banned for using a autoclicker!"
- wait 6 seconds
- remove 1 from {%player's uuid%::illegalclicks}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement