CaptchaTheFlag - Protect your game from bots

This is an interesting idea, but I can see the ver. 2 captcha being too difficult for us colorblind folk.

19 Likes

May i know how the captcha works? Is version 1 literally just a button that has to be pressed?

Are bots programmed to be able to click on buttons? If not, then i think a much better way of presenting a captcha is by setting up a loading screen. Then the player wont be annoyed because they don’t even know its a captcha…

1 Like

Most captchas require you to click a button, but this has been bypasses like hell

I might use this for my game, i might edit it for more puzzles.

Going on-topic, are the puzzles managed through the server? For example, if i need to select the frame with the green color, is the color value that i need to select in the client or server? Thanks for reading.

Here’s a pastebin: CaptchaTheFlag - Main - Pastebin.com

@locale Yes, version 1 is just a click puzzle. I’d assume most Roblox bots don’t have AI, they just join games and spam off-site links. However its entirely possible that a bot can be programmed to click the box as @FKAGamingDeOne pointed out

@Conejin_Alt the colors are sent to the client, but the client has no way of correlating the Color3 value and the string (unless of course, they know their colors)

4 Likes

Interesting, now that you mentioned it there are Colors that are seeable by most Color blind people, I think yellow and blue, however please do more research to make sure.


What if the player did something different like a Multiple choice question or a Math question?

5 Likes

Yes that should be a nice alternative.
A simple math equation(ex. 2+2, 4-1, etc)

@RuizuKun_Dev and @no_clu360 the multiple choice is an interesting idea, but wouldn’t a bot just be able to evaluate a math problem?

I think ill pass for now, mostly due to the hate against captchas. I think a good way of preventing players from being taken is to add a loading screen and a note that clarifies to never click on any offsite links.

What if a literal baby is playing the game?

I don’t think i’m going too far here but maybe the best way of doing this is by adding images of stuff like buses, or books, or any children related object, and asking to click on a specific one.

3 Likes

Yes, and No.

If implemented intelligently it would be hard for the bot to bypass it, ie

What is Two plus Five?

Either way Information should be sent as a string not numbers,


What color is an Apple?

What is the Capital of Japan?

What when is Christmas?

What is your Username?

So on and so on, these are easy question that a bot wouldn’t be able to bypass easily.


I am concern about how the Captcha actually works tho, not that I would know but if I wrote these bots, they wouldn’t be using the TextBox, they’d just be spamming Chat RemoteEvents.

4 Likes

It’s a good creation. Helps developers keep their game clean from bots, but as FKAGamingDeOne said, it is easily bypassable. I recommend looping the action, that prevents bots from chatting, so if they enable the chat, it would un-enable it again, until captcha is solved.
Hope that helps.
I hope, that i didn’t do a mess.
Have a nice day.

1 Like

Yes something like that would be a bit effective

1 Like

Or maybe a fill in the blank. For example:

Appl_
Banan_
Orang_

That would be harder to bypass.

3 Likes

No, some kids don’t know how to spell, and not everyone speaks English.

Giving them multiple choice options would be better in this cause, we do not want to challenge the players intelligence.

Those are just ideas of simple question, I think using images might be your best bet.

What is this :poop:

  • Chocolate?
  • A monkey?
  • Ice cream?
  • Poop?

That is a bad example but you know what I mean.

11 Likes

Does custom chat systems not already protect a game from most bots?
Most are programmed to spam in the default Roblox chat, but what if you have that default chat disabled and have a custom one with a different keybind to chatting as well?

1 Like

I noticed you said that the failed attempts are recorded in version 2, I have a cool idea for that.

Step 0 : Create a ban script thingy in the section of the script. A table for the people who get loop kicked (aka banned).

Step 1 : Set game.ServerScriptService.Captcha.Deploy[player.Name].FailedAttempts.Value to a variable (“FailedAttemptVal” for this example)

Step 2 : Check if FailedAttemptVal is equal to or higher then 3, if it is then insert the player into the table that would put them to the list that would loop-kick.

I think this shoud be in the CaptchaTheFlag by default.

(Definetly not doing this right now.)

1 Like

This is for BOTS not EXPLOITERS.

2 Likes

@Ruben_Zanzus How would that work? Wouldn’t the filter be either the same or worse as the default one?

@airsoft561 That’s actually what I originally had in mind lol, I didn’t include it because I wanted the developer implementing the script to have the freedom to control what happens to the players themselves