-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local CoreGui = game:GetService("CoreGui") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Settings local autoDodge = true local clickChance = 100 -- 100% chance to click (0% chance to skip) local APPEAR_DELAY = 0.1 -- Wait 0.1s after button appears -------------------------------------------------------------------------------- -- 1. SIGNAL-BASED BUTTON PRESS -------------------------------------------------------------------------------- local function forceClick(button) if not button then return end if getconnections then local events = { button.MouseButton1Click, button.MouseButton1Down, button.MouseButton1Up, button.Activated } for _, event in ipairs(events) do for _, conn in ipairs(getconnections(event)) do if conn.Function then task.spawn(conn.Function) elseif conn.Fire then pcall(function() conn:Fire() end) end end end elseif firesignal then pcall(function() firesignal(button.MouseButton1Click) end) pcall(function() firesignal(button.Activated) end) end end local function isFullyVisible(guiObject) if not guiObject or not guiObject:IsA("GuiObject") then return false end if guiObject.AbsoluteSize.X == 0 or guiObject.AbsoluteSize.Y == 0 then return false end local current = guiObject while current and current:IsA("GuiObject") do if not current.Visible then return false end current = current.Parent end return true end -------------------------------------------------------------------------------- -- 2. REUSABLE DRAG FUNCTION -------------------------------------------------------------------------------- local function makeDraggable(guiObject) local dragging, dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart guiObject.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end guiObject.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = guiObject.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) guiObject.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) end -------------------------------------------------------------------------------- -- 3. MOVABLE & MINIMIZABLE GUI -------------------------------------------------------------------------------- local screenGui = Instance.new("ScreenGui") screenGui.Name = "AutoDodgeGUI" screenGui.ResetOnSpawn = false local parentTarget = pcall(function() return CoreGui end) and CoreGui or playerGui:WaitForChild("PlayerGui") screenGui.Parent = parentTarget -- Main Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 200, 0, 130) mainFrame.Position = UDim2.new(0.5, -100, 0.3, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 8) mainCorner.Parent = mainFrame makeDraggable(mainFrame) -- Title Bar local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 30) titleLabel.BackgroundColor3 = Color3.fromRGB(35, 35, 35) titleLabel.Text = " Auto Dodge Control" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Font = Enum.Font.SourceSansBold titleLabel.TextSize = 14 titleLabel.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 8) titleCorner.Parent = titleLabel -- Minimized Button (Positioned at middle left) local minimizedBtn = Instance.new("TextButton") minimizedBtn.Size = UDim2.new(0, 45, 0, 45) minimizedBtn.Position = UDim2.new(0, 10, 0.5, -22) minimizedBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 35) minimizedBtn.Text = "Dodge" minimizedBtn.TextColor3 = Color3.fromRGB(255, 255, 255) minimizedBtn.Font = Enum.Font.SourceSansBold minimizedBtn.TextSize = 13 minimizedBtn.Visible = false minimizedBtn.Active = true minimizedBtn.Parent = screenGui local minCorner = Instance.new("UICorner") minCorner.CornerRadius = UDim.new(0, 8) minCorner.Parent = minimizedBtn local minStroke = Instance.new("UIStroke") minStroke.Color = Color3.fromRGB(60, 60, 60) minStroke.Thickness = 1.5 minStroke.Parent = minimizedBtn makeDraggable(minimizedBtn) -- Minimize Button (Title Bar) local minimizeBtn = Instance.new("TextButton") minimizeBtn.Size = UDim2.new(0, 24, 0, 24) minimizeBtn.Position = UDim2.new(1, -27, 0, 3) minimizeBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) minimizeBtn.Text = "-" minimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) minimizeBtn.Font = Enum.Font.SourceSansBold minimizeBtn.TextSize = 18 minimizeBtn.Parent = mainFrame local minimizeBtnCorner = Instance.new("UICorner") minimizeBtnCorner.CornerRadius = UDim.new(0, 4) minimizeBtnCorner.Parent = minimizeBtn -- Toggle GUI Visibility minimizeBtn.MouseButton1Click:Connect(function() mainFrame.Visible = false minimizedBtn.Visible = true end) minimizedBtn.MouseButton1Click:Connect(function() mainFrame.Visible = true minimizedBtn.Visible = false end) -- Toggle Button local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(0.9, 0, 0, 35) toggleBtn.Position = UDim2.new(0.05, 0, 0, 40) toggleBtn.Font = Enum.Font.SourceSansSemibold toggleBtn.TextSize = 14 toggleBtn.Parent = mainFrame local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(0, 6) toggleCorner.Parent = toggleBtn local function updateToggleVisuals() if autoDodge then toggleBtn.BackgroundColor3 = Color3.fromRGB(46, 139, 87) toggleBtn.Text = "Auto Dodge: ON" toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) else toggleBtn.BackgroundColor3 = Color3.fromRGB(139, 0, 0) toggleBtn.Text = "Auto Dodge: OFF" toggleBtn.TextColor3 = Color3.fromRGB(200, 200, 200) end end toggleBtn.MouseButton1Click:Connect(function() autoDodge = not autoDodge updateToggleVisuals() end) updateToggleVisuals() -- Chance Input Box local chanceInput = Instance.new("TextBox") chanceInput.Size = UDim2.new(0.9, 0, 0, 35) chanceInput.Position = UDim2.new(0.05, 0, 0, 82) chanceInput.BackgroundColor3 = Color3.fromRGB(45, 45, 45) chanceInput.Text = "Chance: " .. clickChance .. "%" chanceInput.TextColor3 = Color3.fromRGB(255, 255, 255) chanceInput.Font = Enum.Font.SourceSansSemibold chanceInput.TextSize = 14 chanceInput.ClearTextOnFocus = true chanceInput.Parent = mainFrame local chanceCorner = Instance.new("UICorner") chanceCorner.CornerRadius = UDim.new(0, 6) chanceCorner.Parent = chanceInput chanceInput.FocusLost:Connect(function() local num = tonumber(chanceInput.Text) if num then clickChance = math.clamp(math.floor(num), 0, 100) end chanceInput.Text = "Chance: " .. clickChance .. "%" end) -------------------------------------------------------------------------------- -- 4. SINGLE-TRIGGER CHANCE DETECTOR -------------------------------------------------------------------------------- local hasTriggeredThisAppearance = false task.spawn(function() while true do local dodgeButton = playerGui:FindFirstChild("Frames") and playerGui.Frames:FindFirstChild("InGame") and playerGui.Frames.InGame:FindFirstChild("Dodge") local isVisible = dodgeButton and isFullyVisible(dodgeButton) if autoDodge and isVisible then if not hasTriggeredThisAppearance then hasTriggeredThisAppearance = true task.delay(APPEAR_DELAY, function() local currentDodge = playerGui:FindFirstChild("Frames") and playerGui.Frames:FindFirstChild("InGame") and playerGui.Frames.InGame:FindFirstChild("Dodge") if autoDodge and currentDodge and isFullyVisible(currentDodge) then local roll = math.random(1, 100) if roll <= clickChance then forceClick(currentDodge) end end end) end else hasTriggeredThisAppearance = false end task.wait(0.02) end end)