of     2   
chevron_rightchevron_rightchevron_right

iOwn_You
#179143942Saturday, December 05, 2015 9:40 AM GMT

Hey, I have created an idle game, which all you do is basically click, and recently i'm seeing players using autoclickers. I've wondered if there's a way I could prevent that?
CypherScriptz
#179143981Saturday, December 05, 2015 9:42 AM GMT

Well, just say, if they're clicking like 20 clicks per second, they're probably cheating. That's about it, really... Yeah, they could slow it down, but I don't think there's a way to detect that.
KillerKyle
#179144020Saturday, December 05, 2015 9:45 AM GMT

That's pretty much the some of it. Just make a script to detect unnatural clicking. 20 times a second for a consistent hour is pretty in human. That's just an example. I would have it literally remove them from the game if it happens. Delete that Player son!
iOwn_You
#179144029Saturday, December 05, 2015 9:46 AM GMT

It's hard for me to believe that that's impossible, I believe that there must be a way
iOwn_You
#179144059Saturday, December 05, 2015 9:47 AM GMT

Also I rather not relay on clicks per second, since I can click 15 times per second I'm sure there are people who can click faster then me.
KillerKyle
#179144079Saturday, December 05, 2015 9:48 AM GMT

Simply put, Autoclickers are just, your mouse clicking. There is no way to determine if the actual button on the mouse was pressed or not. At least not in ROBLOX.
iOwn_You
#179144102Saturday, December 05, 2015 9:49 AM GMT

Ah.. Well, Thank you guys for trying to help :) I appreciate it!
Rerumu
#179144473Saturday, December 05, 2015 10:13 AM GMT

No one can click 15 times in a single second, and the solution is to make a variable that resets every 2 seconds, but increases by 1 every click, and if it reaches a certain number before reseting, like 30, it could kick the player, cuz 30 clicks in 2 seconds is inhuman.
Lightlimn
#179145520Saturday, December 05, 2015 11:29 AM GMT

just add a cooldown. there'll still be autoclickers but if you make the cooldown a human rate (e.g 0.25) then it'll be fine
ChiefTitan
#179145538Saturday, December 05, 2015 11:31 AM GMT

"I can click 15 times per second" You can't click 15 times a second.
DeepBlueNoSpace
#179147734Saturday, December 05, 2015 1:16 PM GMT

http://cookie.riimu.net/speed/
Gragon387
#179148156Saturday, December 05, 2015 1:32 PM GMT

I've been able to click 14 times a second
Gragon387
#179148291Saturday, December 05, 2015 1:37 PM GMT

This is just a guess, its probably wrong 100%, but this should slow down their clicking maybe? game.Players.LocalPlayer.MouseButton1Click:connect(function() wait(0.1) end)
Lightlimn
#179148566Saturday, December 05, 2015 1:46 PM GMT

100% wrong local timer = tick() script.Parent.MouseButton1Down:connect(function() if tick()-timer > 0.1 then timer = tick() -- do stuff end end)
warspyking
#179149660Saturday, December 05, 2015 2:21 PM GMT

Well assuming you're using UIS (which you should be!) local UIS = game:GetService("UserInputService") local db = true local limit = 1.5 --How long to wait before they can click again UIS.InputBegan:connect(function(input) if db and input.UserInputType == Enum.UserInputType.MouseButton1 then db = not db --Your code wait(limit) db = not db end end)
iOwn_You
#179152784Saturday, December 05, 2015 3:41 PM GMT

everyone who said no one can click 15 times a second google "jitter click" as for the scripts and methods, Thank you guy! :)
jumpykilldestroy
#179153188Saturday, December 05, 2015 3:50 PM GMT

i googled jitter click and 2 of the images were of surgery its really gross
Rerumu
#179164127Saturday, December 05, 2015 7:33 PM GMT

Sure, on can click more than 10 times a second, just remember that those people dont have tendons in their fingers anymore.
FearlessBiscuit
#179165360Saturday, December 05, 2015 7:59 PM GMT

Jitterclicking can result in carpeltunnel which is what u saw from surgery i had have it done to me bc i can click up to 30 times a second but not for and hour straight for about 1-3 mins but thats pretty much it what i would do is have a while true do loop that detects the players clicks if it reaches around 1200 in 20 secs then they are obv auto clicking so they are to be kicked and make it so every 20 secs it resets the score so you know ;D I win everytime still uses while true do print('im newbie') end
ActiveWizard
#179167620Saturday, December 05, 2015 8:43 PM GMT

Check the time between clicks. (maybe)
hunxrepair
#179168350Saturday, December 05, 2015 8:56 PM GMT

Calculate the time between each clicks, if the delay between the clicks are the same then it's probably a machine. Imagine, a human can't click precisely every 1.345 seconds, while a machine can.
warspyking
#179174815Saturday, December 05, 2015 10:53 PM GMT

'Imagine, a human can't click precisely every 1.345 seconds, while a machine can.' I'd argue the opposite, a human's life-press pace is probably a lot more steady than a machine's, a machine's precision/accuracy when dealing with time, isn't exactly top-notch.
warspyking
#179174853Saturday, December 05, 2015 10:53 PM GMT

lift-press*
NickAtNick
#226028350Friday, October 06, 2017 6:47 AM GMT

"idle game" and your "Anti autoclicker"
Smash108
#226028380Friday, October 06, 2017 6:49 AM GMT

Make an Intvalue in the player that adds 1 every time the player clicks and resets every second, when it resets, check if it is over 20. if so, kick them.

    of     2   
chevron_rightchevron_rightchevron_right