local correctKey="catgusind" local keyVerified=false local farmEnabled=false local Players=game:GetService("Players") local VirtualUser=game:GetService("VirtualUser") local CoreGui=game:GetService("CoreGui") local UserInputService=game:GetService("UserInputService") local ReplicatedStorage=game:GetService("ReplicatedStorage") local RunService=game:GetService("RunService") local LocalPlayer=Players.LocalPlayer local function addDrag(frame) local dragging,dragInput,dragStart,startPos=false,nil,nil,nil frame.InputBegan:Connect(function(input) if input.UserInputType==Enum.UserInputType.MouseButton1 then dragging=true dragStart=input.Position startPos=frame.Position input.Changed:Connect(function() if input.UserInputState==Enum.UserInputState.End then dragging=false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType==Enum.UserInputType.MouseMovement then dragInput=input end end) UserInputService.InputChanged:Connect(function(input) if input==dragInput and dragging then local delta=input.Position-dragStart frame.Position=UDim2.new(startPos.X.Scale,startPos.X.Offset+delta.X,startPos.Y.Scale,startPos.Y.Offset+delta.Y) end end) end local keyGui=Instance.new("ScreenGui") keyGui.Name="KeyVerifyGui" keyGui.ResetOnSpawn=false keyGui.IgnoreGuiInset=true keyGui.Parent=CoreGui local keyFrame=Instance.new("Frame") keyFrame.Size=UDim2.new(0,300,0,190) keyFrame.Position=UDim2.new(0.5,-150,0.5,-75) keyFrame.BackgroundColor3=Color3.fromRGB(30,30,30) keyFrame.Parent=keyGui addDrag(keyFrame) local keyCorner=Instance.new("UICorner") keyCorner.CornerRadius=UDim.new(0,12) keyCorner.Parent=keyFrame local closeBtn=Instance.new("TextButton") closeBtn.Size=UDim2.new(0,25,0,25) closeBtn.Position=UDim2.new(1,-30,0,5) closeBtn.Text="×" closeBtn.BackgroundColor3=Color3.fromRGB(255,69,58) closeBtn.TextColor3=Color3.new(1,1,1) closeBtn.Font=Enum.Font.GothamBold closeBtn.TextSize=18 closeBtn.Parent=keyFrame Instance.new("UICorner",closeBtn).CornerRadius=UDim.new(0,6) closeBtn.MouseButton1Click:Connect(function()keyGui:Destroy()end) local keyInput=Instance.new("TextBox") keyInput.Size=UDim2.new(0,260,0,40) keyInput.Position=UDim2.new(0,20,0,30) keyInput.PlaceholderText="请输入卡密" keyInput.BackgroundColor3=Color3.fromRGB(50,50,50) keyInput.TextColor3=Color3.new(1,1,1) keyInput.Text="" keyInput.ClearTextOnFocus=false keyInput.Font=Enum.Font.GothamBold keyInput.TextSize=16 keyInput.Parent=keyFrame local inputCorner=Instance.new("UICorner") inputCorner.CornerRadius=UDim.new(0,8) inputCorner.Parent=keyInput local confirmBtn=Instance.new("TextButton") confirmBtn.Size=UDim2.new(0,260,0,40) confirmBtn.Position=UDim2.new(0,20,0,85) confirmBtn.Text="验证卡密" confirmBtn.BackgroundColor3=Color3.fromRGB(52,199,89) confirmBtn.TextColor3=Color3.new(1,1,1) confirmBtn.Font=Enum.Font.GothamBold confirmBtn.TextSize=20 confirmBtn.Parent=keyFrame local btnCorner=Instance.new("UICorner") btnCorner.CornerRadius=UDim.new(0,8) btnCorner.Parent=confirmBtn local copyBtn=Instance.new("TextButton") copyBtn.Size=UDim2.new(0,260,0,30) copyBtn.Position=UDim2.new(0,20,0,135) copyBtn.Text="复制解卡链接" copyBtn.BackgroundColor3=Color3.fromRGB(40,40,40) copyBtn.TextColor3=Color3.new(255,255,255) copyBtn.Font=Enum.Font.GothamBold copyBtn.TextSize=16 copyBtn.Parent=keyFrame Instance.new("UICorner",copyBtn).CornerRadius=UDim.new(0,8) copyBtn.MouseButton1Click:Connect(function() setclipboard("https://work.ink/2cAS/key") copyBtn.Text="已复制" task.wait(1) copyBtn.Text="复制解卡链接" end) confirmBtn.MouseButton1Click:Connect(function() if keyInput.Text==correctKey then keyVerified=true keyGui:Destroy() task.wait(math.random(0.1,0.3)) local mainGui=Instance.new("ScreenGui") mainGui.Name="FarmGui" mainGui.ResetOnSpawn=false mainGui.IgnoreGuiInset=true mainGui.Parent=CoreGui local mainBtn=Instance.new("TextButton") mainBtn.Parent=mainGui mainBtn.Size=UDim2.new(0,200,0,50) mainBtn.Position=UDim2.new(0,10,1,-150) mainBtn.Text="刷门把手: OFF" mainBtn.BackgroundColor3=Color3.fromRGB(255,69,58) mainBtn.TextColor3=Color3.new(1,1,1) mainBtn.Font=Enum.Font.GothamBold mainBtn.TextSize=24 mainBtn.BorderSizePixel=0 local mainCorner=Instance.new("UICorner") mainCorner.CornerRadius=UDim.new(0,12) mainCorner.Parent=mainBtn addDrag(mainBtn) local function farmLoop() while farmEnabled do pcall(function() replicatesignal(LocalPlayer.Kill) ReplicatedStorage:WaitForChild("RemotesFolder"):WaitForChild("Statistics"):FireServer() end) task.wait(0.25+math.random(0.01,0.05)) end end mainBtn.MouseButton1Click:Connect(function() farmEnabled=not farmEnabled if farmEnabled then mainBtn.Text="刷门把手: ON" mainBtn.BackgroundColor3=Color3.fromRGB(52,199,89) task.spawn(farmLoop) else mainBtn.Text="刷门把手: OFF" mainBtn.BackgroundColor3=Color3.fromRGB(255,69,58) end end) LocalPlayer.Idled:Connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end) local con=RunService.RenderStepped:Connect(function() if not mainGui or not mainBtn then con:Disconnect() end end) else keyInput.Text="" keyInput.PlaceholderText="卡密错误!重新输入" end end)