Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Instances:
- local CaptchaGui = Instance.new("ScreenGui")
- local CaptchaMain = Instance.new("Frame")
- local CaptchaBtn = Instance.new("TextButton")
- local ColorFrame = Instance.new("Frame")
- local CaptchaImage = Instance.new("ImageLabel")
- local CaptchaLabel = Instance.new("TextLabel")
- local RobotLabel = Instance.new("TextLabel")
- local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
- --// Properties:
- CaptchaGui.Name = "CaptchaGui"
- CaptchaGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- CaptchaMain.Name = "CaptchaMain"
- CaptchaMain.Parent = CaptchaGui
- CaptchaMain.AnchorPoint = Vector2.new(0.5, 0.5)
- CaptchaMain.BackgroundColor3 = Color3.new(1, 1, 1)
- CaptchaMain.BorderSizePixel = 0
- CaptchaMain.Position = UDim2.new(0.5, 0, 0.5, 0)
- CaptchaMain.Size = UDim2.new(0.300000012, 0, 0.129999995, 0)
- CaptchaBtn.Name = "CaptchaBtn"
- CaptchaBtn.Parent = CaptchaMain
- CaptchaBtn.AnchorPoint = Vector2.new(0.5, 0.5)
- CaptchaBtn.BackgroundColor3 = Color3.new(1, 1, 1)
- CaptchaBtn.BorderColor3 = Color3.new(0.705882, 0.705882, 0.705882)
- CaptchaBtn.BorderSizePixel = 3
- CaptchaBtn.Position = UDim2.new(0.131602556, 0, 0.50000006, 0)
- CaptchaBtn.Size = UDim2.new(0.100822195, 0, 0.285050094, 0)
- CaptchaBtn.AutoButtonColor = false
- CaptchaBtn.Font = Enum.Font.SourceSans
- CaptchaBtn.Text = ""
- CaptchaBtn.TextColor3 = Color3.new(1, 1, 1)
- CaptchaBtn.TextSize = 14
- ColorFrame.Name = "ColorFrame"
- ColorFrame.Parent = CaptchaBtn
- ColorFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- ColorFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- ColorFrame.BorderSizePixel = 0
- ColorFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- ColorFrame.Size = UDim2.new(0.670000017, 0, 0.649999976, 0)
- CaptchaImage.Name = "CaptchaImage"
- CaptchaImage.Parent = CaptchaMain
- CaptchaImage.AnchorPoint = Vector2.new(0.5, 0.5)
- CaptchaImage.BackgroundColor3 = Color3.new(1, 1, 1)
- CaptchaImage.BorderSizePixel = 0
- CaptchaImage.Position = UDim2.new(0.800000012, 0, 0.409999996, 0)
- CaptchaImage.Size = UDim2.new(0.200000003, 0, 0.600000024, 0)
- CaptchaImage.Image = "rbxassetid://2601989801"
- CaptchaLabel.Name = "CaptchaLabel"
- CaptchaLabel.Parent = CaptchaMain
- CaptchaLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- CaptchaLabel.BackgroundTransparency = 1
- CaptchaLabel.BorderSizePixel = 0
- CaptchaLabel.Position = UDim2.new(0.649999976, 0, 0.730000019, 0)
- CaptchaLabel.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
- CaptchaLabel.Font = Enum.Font.ArialBold
- CaptchaLabel.Text = "reCAPTCHA"
- CaptchaLabel.TextColor3 = Color3.new(0.705882, 0.705882, 0.705882)
- CaptchaLabel.TextScaled = true
- CaptchaLabel.TextSize = 14
- CaptchaLabel.TextWrapped = true
- RobotLabel.Name = "RobotLabel"
- RobotLabel.Parent = CaptchaMain
- RobotLabel.AnchorPoint = Vector2.new(0.5, 0.5)
- RobotLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- RobotLabel.BackgroundTransparency = 1
- RobotLabel.BorderSizePixel = 0
- RobotLabel.Position = UDim2.new(0.412999988, 0, 0.5, 0)
- RobotLabel.Size = UDim2.new(0.400000006, 0, 0.300000012, 0)
- RobotLabel.Font = Enum.Font.SourceSans
- RobotLabel.Text = "I'm not a robot"
- RobotLabel.TextColor3 = Color3.new(0, 0, 0)
- RobotLabel.TextScaled = true
- RobotLabel.TextSize = 14
- RobotLabel.TextWrapped = true
- UIAspectRatioConstraint.Parent = CaptchaMain
- UIAspectRatioConstraint.AspectRatio = 2.9484028816223
- --// Scripts
- local info = TweenInfo.new(
- 1,
- Enum.EasingStyle.Quint,
- Enum.EasingDirection.Out
- )
- local properties = {
- BackgroundColor3 = Color3.fromRGB(0, 237, 0)
- }
- local tween = game:GetService("TweenService"):Create(ColorFrame, info, properties)
- CaptchaBtn.MouseButton1Down:Connect(function()
- tween:Play()
- wait(1)
- for i = 1, 10 do
- wait()
- CaptchaMain.BackgroundTransparency = CaptchaMain.BackgroundTransparency + 0.1
- CaptchaBtn.BackgroundTransparency = CaptchaBtn.BackgroundTransparency + 0.1
- CaptchaLabel.BackgroundTransparency = CaptchaLabel.BackgroundTransparency + 0.1
- CaptchaImage.ImageTransparency = CaptchaImage.ImageTransparency + 0.1
- CaptchaImage.BackgroundTransparency = CaptchaImage.BackgroundTransparency + 0.1
- RobotLabel.BackgroundTransparency = RobotLabel.BackgroundTransparency + 0.1
- RobotLabel.TextTransparency = RobotLabel.TextTransparency + 0.1
- CaptchaLabel.TextTransparency = CaptchaLabel.TextTransparency + 0.1
- ColorFrame.BackgroundTransparency = ColorFrame.BackgroundTransparency + 0.1
- end
- wait(1.3)
- CaptchaGui:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement