Advertisement
Cool_Colton

Untitled

Jun 24th, 2020
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. on left click:
  2. add 1 to {%player's uuid%::clicks}
  3. if {%player's uuid%::clicks} is more than 20:
  4. if {%player's uuid%::announce::autoclicker}:
  5. loop all players:
  6. if loop-player has permission "Click.Notify":
  7. if {%player's uuid%::notify} is not set:
  8. send "%player% may be using autoclicker! Clicked 20 times in 1 second" to loop-player
  9. set {%player's uuid%::notify} to true
  10. wait 1 second
  11. delete {%player's uuid%::notify}
  12. add 1 to {%player's uuid%::illegalclicks}
  13. if {%player's uuid%::illegalclicks} is over 3:
  14. execute console command "/tempban %player% 30 &aDoggoCheat&7: You have been banned for using a autoclicker!"
  15. wait 6 seconds
  16. remove 1 from {%player's uuid%::illegalclicks}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement