[PLUGIN] Script Captcha

yeah, it’s a joke

later i might change what the captcha is

how do you get ts


i clicked the stupid open in studio button it didnt work

i even wrote amazing code but nothing worked plz adress this elephant

did it not open the toolbox and prompt you to install? it works for me just fine, its revolutionary

this is not friendly to blind people

Programming is tied to electrics, so it would be a good thing if you added random resistors as an alternative captcha


bad example image but you get the point: generate resistor colors and make 9 sets of them with random ohms.

4 Likes

go to the plugins tab and click the toggle button

You should future proof it and add “i am optimizer” or “i am a robot” version aswell

1 Like

Continuing the theme of electronics, I have another:

The captcha needs you to convert f(x) to the basis of conjunction, disjunction, and negation. Example:
image
The solution for it would be:


additional 5 minutes between captchas will be given if you shorten the f(x) by DeMorgan’s law, and Karnaugh Map


excuse me for Ukrainian; my brain had to solve this in under an hour
An additional 3 minutes are given if you complete a schematic in Ni Multisim using the provided shortened f(x) (real-life and Tinkercad images are accepted):

You must send the schematic image to the AI, which will check correctness and give you 3 minutes free of CAPTCHAs, as well as check whether the shortened function is correct.

i’m not implementing allat :folded_hands:

i’ll put the plugin source here so you can do that if you want lol

local ScriptEditorService = game:GetService("ScriptEditorService")

local captchaWidgetInfo = DockWidgetPluginGuiInfo.new(
	Enum.InitialDockState.Float,
	false,
	false,
	500,
	250,
	500,
	250
)

local widget = plugin:CreateDockWidgetPluginGui("CaptchaWidget", captchaWidgetInfo)
widget.Title = "Captcha"

local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 1, 0)
frame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
frame.Parent = widget

local captchaText = Instance.new("TextLabel")
captchaText.Size = UDim2.new(1, -20, 0, 50)
captchaText.Position = UDim2.new(0, 10, 0, 10)
captchaText.TextScaled = true
captchaText.BackgroundTransparency = 1
captchaText.Text = "Captcha goes here"
captchaText.Parent = frame

local inputBox = Instance.new("TextBox")
inputBox.Size = UDim2.new(1, -20, 0, 50)
inputBox.Position = UDim2.new(0, 10, 0, 70)
inputBox.TextScaled = true
inputBox.PlaceholderText = "Enter answer"
inputBox.ClearTextOnFocus = true
inputBox.Parent = frame

local submitButton = Instance.new("TextButton")
submitButton.Size = UDim2.new(0, 120, 0, 50)
submitButton.Position = UDim2.new(0, 10, 0, 130)
submitButton.Text = "Submit"
submitButton.Parent = frame

local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://8304443672"
sound.Parent = frame

local associatedScript: LuaSourceContainer
local answer: number
local captchaSolved = false

local function newCaptcha()
	widget.Enabled = true

	local lhs = math.random(1, 10)
	local rhs = math.random(1, 10)
	local op = math.random(0, 1)
	if op == 0 then
		answer = lhs + rhs
		captchaText.Text = `{lhs} + {rhs}`
	else
		answer = lhs - rhs
		captchaText.Text = `{lhs} - {rhs}`
	end
	inputBox.Text = ""
	captchaText.Text = `Prove you're a human. Solve: {captchaText.Text}`
end

submitButton.MouseButton1Click:Connect(function()
	if tonumber(inputBox.Text) == answer then
		if associatedScript then
			sound:Play()
			captchaSolved = true
			ScriptEditorService:OpenScriptDocumentAsync(associatedScript)
		end
		widget.Enabled = false
	end
end)

ScriptEditorService.TextDocumentDidOpen:Connect(function(doc)
	if captchaSolved then
		captchaSolved = false
		return
	end
	associatedScript = doc:GetScript()
	doc:CloseAsync()
	newCaptcha()
end)

1 Like

this must be the greatest creation ever to be seen in community resources :folded_hands:

1 Like

just put in a checkbox that asks if Enum.PathStatus.Complete exists, works every time

1 Like

This is not just amazing. It is phenomenal. What you did here is smart, greatly said best Roblox plugin maker :joy:. Have a blessed day fellow dev!

2 Likes