So I've been recently exploring skripting, and I found out that left clicking can be used as an event. I wonder if you can make an anti autoclicker using this concept.
options:
autolimit: 30
on left click:
if player does not have permission "anti.detection":
if {count.%player%} is not set:
add 1 to {count.%player%}
wait 1 second
if {count.%player%} is more than {@autolimit}:
loop all players:
if loop-player has permission "auto.alert":
send "&c&l9!0 &a%player%&a might be using an auto clicker!" to loop-player
else:
delete {count.%player%}
else:
add 1 to {count.%player%}