Sign In to Your Account

Manual registration is temporarily disabled. Please use Discord, Google or GitHub to create an account.

CONTINUE WITH
OPEN SOURCE RAGEBOT - RIVALS Script | Free Roblox Script
RIVALS RIVALS

OPEN SOURCE RAGEBOT

RIVALS • 2 views • just now
OPEN SOURCE RAGEBOT - Roblox Script
Mobile Mobile Friendly
Key Key Required

Description

Credits: h8o9

ragebot with slider like its in the title qnd its in beta tell me any bugs that happens

RIVALS
Explore more scripts
View all RIVALS scripts

452 Lines 17,400 Bytes

local Loading = {}
do
    local Players = game:GetService("Players")
    local gui = Instance.new("ScreenGui")
    gui.Name = "ragebot_loading"
    gui.ResetOnSpawn = false
    gui.DisplayOrder = 1000
    gui.IgnoreGuiInset = true
    local okParent = pcall(function()
        local p = (gethui and gethui()) or game:GetService("CoreGui")
        gui.Parent = p
    end)
    if not okParent then
        gui.Parent = Players.LocalPlayer:WaitForChild("PlayerGui")
    end

    -- Full-screen dim backdrop.
    local dim = Instance.new("Frame")
    dim.Size = UDim2.fromScale(1, 1)
    dim.BackgroundColor3 = Color3.fromRGB(5, 8, 20)
    dim.BackgroundTransparency = 0.1
    dim.BorderSizePixel = 0
    dim.ZIndex = 1
    dim.Parent = gui

    -- Crosshair + title, centered.
    local titleRow = Instance.new("Frame")
    titleRow.AnchorPoint = Vector2.new(0.5, 0.5)
    titleRow.Position = UDim2.fromScale(0.5, 0.45)
    titleRow.Size = UDim2.fromOffset(260, 32)
    titleRow.BackgroundTransparency = 1
    titleRow.ZIndex = 3
    titleRow.Parent = gui
    local layout = Instance.new("UIListLayout")
    layout.FillDirection = Enum.FillDirection.Horizontal
    layout.VerticalAlignment = Enum.VerticalAlignment.Center
    layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
    layout.Padding = UDim.new(0, 8)
    layout.Parent = titleRow

    -- Crosshair icon (plain Frames, no asset dependency).
    local iconHolder = Instance.new("Frame")
    iconHolder.Size = UDim2.fromOffset(22, 22)
    iconHolder.BackgroundTransparency = 1
    iconHolder.ZIndex = 3
    iconHolder.Parent = titleRow
    local ring = Instance.new("Frame")
    ring.AnchorPoint = Vector2.new(0.5, 0.5)
    ring.Position = UDim2.fromScale(0.5, 0.5)
    ring.Size = UDim2.fromOffset(18, 18)
    ring.BackgroundTransparency = 1
    ring.ZIndex = 3
    ring.Parent = iconHolder
    Instance.new("UICorner", ring).CornerRadius = UDim.new(1, 0)
    local ringStroke = Instance.new("UIStroke")
    ringStroke.Color = Color3.fromRGB(255, 70, 70)
    ringStroke.Thickness = 2
    ringStroke.Parent = ring
    local function tick(size, pos)
        local t = Instance.new("Frame")
        t.AnchorPoint = Vector2.new(0.5, 0.5)
        t.Size = size
        t.Position = pos
        t.BackgroundColor3 = Color3.fromRGB(255, 70, 70)
        t.BorderSizePixel = 0
        t.ZIndex = 3
        t.Parent = iconHolder
    end
    tick(UDim2.fromOffset(2, 7), UDim2.fromScale(0.5, 0.0))
    tick(UDim2.fromOffset(2, 7), UDim2.fromScale(0.5, 1.0))
    tick(UDim2.fromOffset(7, 2), UDim2.fromScale(0.0, 0.5))
    tick(UDim2.fromOffset(7, 2), UDim2.fromScale(1.0, 0.5))

    local titleLabel = Instance.new("TextLabel")
    titleLabel.AutomaticSize = Enum.AutomaticSize.X
    titleLabel.Size = UDim2.new(0, 0, 1, 0)
    titleLabel.BackgroundTransparency = 1
    titleLabel.Text = "ragebot by sand"
    titleLabel.TextColor3 = Color3.new(1, 1, 1)
    titleLabel.Font = Enum.Font.GothamBold
    titleLabel.TextSize = 22
    titleLabel.ZIndex = 3
    titleLabel.Parent = titleRow

    -- Progress bar below the title.
    local barBg = Instance.new("Frame")
    barBg.AnchorPoint = Vector2.new(0.5, 0.5)
    barBg.Position = UDim2.fromScale(0.5, 0.55)
    barBg.Size = UDim2.fromOffset(240, 6)
    barBg.BackgroundColor3 = Color3.new(1, 1, 1)
    barBg.BackgroundTransparency = 0.85
    barBg.BorderSizePixel = 0
    barBg.ZIndex = 3
    barBg.Parent = gui
    Instance.new("UICorner", barBg).CornerRadius = UDim.new(1, 0)
    local barFill = Instance.new("Frame")
    barFill.Size = UDim2.new(0, 0, 1, 0)
    barFill.BackgroundColor3 = Color3.fromRGB(255, 70, 70)
    barFill.BorderSizePixel = 0
    barFill.ZIndex = 4
    barFill.Parent = barBg
    Instance.new("UICorner", barFill).CornerRadius = UDim.new(1, 0)

    local percentLabel = Instance.new("TextLabel")
    percentLabel.AnchorPoint = Vector2.new(0.5, 0.5)
    percentLabel.Position = UDim2.fromScale(0.5, 0.6)
    percentLabel.Size = UDim2.fromOffset(100, 18)
    percentLabel.BackgroundTransparency = 1
    percentLabel.Text = "0%"
    percentLabel.TextColor3 = Color3.fromRGB(200, 200, 210)
    percentLabel.Font = Enum.Font.Gotham
    percentLabel.TextSize = 13
    percentLabel.ZIndex = 3
    percentLabel.Parent = gui

    function Loading.setPercent(p)
        p = math.clamp(p, 0, 100)
        pcall(function()
            barFill.Size = UDim2.new(p / 240 * 240 / 100, 0, 1, 0)
            barFill.Size = UDim2.new(p / 100, 0, 1, 0)
            percentLabel.Text = math.floor(p) .. "%"
        end)
    end

    function Loading.finish(onDone)
        pcall(function()
            Loading.setPercent(100)
            task.wait(0.2)
            local TS = game:GetService("TweenService")
            TS:Create(dim, TweenInfo.new(0.3), { BackgroundTransparency = 1 }):Play()
            TS:Create(titleLabel, TweenInfo.new(0.3), { TextTransparency = 1 }):Play()
            TS:Create(barBg, TweenInfo.new(0.3), { BackgroundTransparency = 1 }):Play()
            TS:Create(barFill, TweenInfo.new(0.3), { BackgroundTransparency = 1 }):Play()
            TS:Create(percentLabel, TweenInfo.new(0.3), { TextTransparency = 1 }):Play()
            task.wait(0.3)
            gui:Destroy()
        end)
        if onDone then pcall(onDone) end
    end

    Loading.setPercent(5)
end

------------------------------------------------------------------
-- ragebot | by sand | Rivals
------------------------------------------------------------------
local WindUI = loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))()
Loading.setPercent(30)

local Players    = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace   = game:GetService("Workspace")
local LocalPlayer = Players.LocalPlayer

------------------------------------------------------------------
-- Config
------------------------------------------------------------------
local Config = {
    Ragebot = false,
    RagebotFov = 180,          -- degrees from your camera direction, used only when picking a NEW target. UNCALIBRATED
    RagebotSmooth = 1,         -- 1 = instant teleport; lower eases toward the spot. UNCALIBRATED
    RageTeamCheck = true,
    AboveHeight = 6,           -- studs above the target's root part. UNCALIBRATED
    AboveBackOffset = 1.5,
    TriggerDelay = 0.1,        -- seconds the crosshair must stay on an enemy before each shot. UNCALIBRATED
    MaxDistance = 1000,
    TargetPriority = "Closest to crosshair",  -- "Closest to crosshair" | "Closest distance" | "Lowest health"
}

local cleanups = {}
local function onCleanup(fn) table.insert(cleanups, fn) end
local function connect(signal, fn)
    local c = signal:Connect(fn)
    onCleanup(function() c:Disconnect() end)
    return c
end

local function notify(title, content)
    pcall(function() WindUI:Notify({ Title = title, Content = content, Duration = 6 }) end)
end

------------------------------------------------------------------
-- Helpers
------------------------------------------------------------------
local function rootOf(char)
    if not char then return nil end
    local r = char:FindFirstChild("HumanoidRootPart") or char.PrimaryPart
        or char:FindFirstChild("UpperTorso") or char:FindFirstChild("Torso")
    if r and r:IsA("BasePart") then return r end
end

local function alive(char)
    local h = char and char:FindFirstChildOfClass("Humanoid")
    if h then return h.Health > 0 end
    return rootOf(char) ~= nil
end

local function rageValidEnemy(plr)
    return plr ~= LocalPlayer and plr.Character and alive(plr.Character)
       and not (Config.RageTeamCheck and plr.Team ~= nil and plr.Team == LocalPlayer.Team)
end

local function angleBetween(a, b)
    return math.deg(math.acos(math.clamp(a.Unit:Dot(b.Unit), -1, 1)))
end

local function priorityKey()
    if Config.TargetPriority == "Closest distance" then return "dist" end
    if Config.TargetPriority == "Lowest health" then return "hp" end
    return "ang"
end

local function flatLook(targetRoot)
    local look = targetRoot.CFrame.LookVector
    local flat = Vector3.new(look.X, 0, look.Z)
    if flat.Magnitude < 0.01 then flat = Vector3.new(0, 0, -1) end
    return flat.Unit
end

local function aboveCFrame(targetRoot)
    local pos = targetRoot.Position + Vector3.new(0, Config.AboveHeight, 0) - flatLook(targetRoot) * Config.AboveBackOffset
    return CFrame.lookAt(pos, Vector3.new(targetRoot.Position.X, pos.Y, targetRoot.Position.Z))
end

local reportedNoFire = false
local function click()
    if mouse1click then
        mouse1click()
        return
    end
    local tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool")
    if tool then
        tool:Activate()
        return
    end
    if not reportedNoFire then
        reportedNoFire = true
        notify("Fire", "No mouse1click and no equipped weapon found, so nothing can fire. Equip your gun.")
    end
end

------------------------------------------------------------------
-- Target selection (sticky: keeps the same player until they die, leave, or go out of range)
------------------------------------------------------------------
local rageTarget = nil
local lastDiag = 0

local function rageTargetValid(plr, myRoot)
    if not (plr and plr.Parent == Players and rageValidEnemy(plr)) then return false end
    local r = rootOf(plr.Character)
    return r ~= nil and (r.Position - myRoot.Position).Magnitude <= Config.MaxDistance
end

local function whyNoTarget()
    local total, withChar, aliveN, valid, withRoot = 0, 0, 0, 0, 0
    for _, plr in ipairs(Players:GetPlayers()) do
        if plr ~= LocalPlayer then
            total += 1
            if plr.Character then
                withChar += 1
                if alive(plr.Character) then aliveN += 1 end
                if rageValidEnemy(plr) then valid += 1 end
                if rootOf(plr.Character) then withRoot += 1 end
            end
        end
    end
    return ("other players %d, with character %d, alive %d, valid enemies %d, with root part %d")
        :format(total, withChar, aliveN, valid, withRoot)
end

local function pickRageTarget(myRoot)
    if rageTargetValid(rageTarget, myRoot) then return rageTarget end
    rageTarget = nil
    local cam = Workspace.CurrentCamera
    local look = cam and cam.CFrame.LookVector
    local list = {}
    for _, plr in ipairs(Players:GetPlayers()) do
        if rageTargetValid(plr, myRoot) then
            local r = rootOf(plr.Character)
            local d = r.Position - myRoot.Position
            local ang = look and angleBetween(look, d) or 0
            if ang <= Config.RagebotFov then
                local hum = plr.Character:FindFirstChildOfClass("Humanoid")
                list[#list + 1] = { plr = plr, ang = ang, dist = d.Magnitude, hp = hum and hum.Health or math.huge }
            end
        end
    end
    if #list == 0 then return nil end
    local key = priorityKey()
    local best = list[1]
    for i = 2, #list do
        if list[i][key] < best[key] then best = list[i] end
    end
    rageTarget = best.plr
    return rageTarget
end

------------------------------------------------------------------
-- Teleport (Heartbeat) and camera-lock + fire (RenderStep, priority Last)
------------------------------------------------------------------
local triggerSince = nil
local lastTpPos, stuckCount, notifiedStuck = nil, 0, false

local function triggerStep(cam)
    local rp = RaycastParams.new()
    rp.FilterType = Enum.RaycastFilterType.Exclude
    rp.FilterDescendantsInstances = { LocalPlayer.Character }
    rp.IgnoreWater = true
    local res = Workspace:Raycast(cam.CFrame.Position, cam.CFrame.LookVector * Config.MaxDistance, rp)
    local onEnemy = false
    if res then
        local model = res.Instance:FindFirstAncestorOfClass("Model")
        local plr = model and Players:GetPlayerFromCharacter(model)
        onEnemy = plr ~= nil and rageValidEnemy(plr)
    end
    if onEnemy then
        triggerSince = triggerSince or os.clock()
        if os.clock() - triggerSince >= Config.TriggerDelay then
            triggerSince = os.clock()
            click()
        end
    else
        triggerSince = nil
    end
end

connect(RunService.Heartbeat, function()
    if not Config.Ragebot then
        rageTarget, lastTpPos, stuckCount, notifiedStuck = nil, nil, 0, false
        return
    end
    local myRoot = rootOf(LocalPlayer.Character)
    if not myRoot then return end
    local target = pickRageTarget(myRoot)
    if not target then
        if os.clock() - lastDiag > 3 then
            lastDiag = os.clock()
            notify("Ragebot", "No target. " .. whyNoTarget())
        end
        return
    end

    if lastTpPos and (myRoot.Position - lastTpPos).Magnitude > 8 then stuckCount += 1 else stuckCount = 0 end
    if stuckCount >= 15 and not notifiedStuck then
        notifiedStuck = true
        notify("Ragebot", "The game keeps moving you back after each teleport.")
    end

    local targetRoot = rootOf(target.Character)
    local newCF = aboveCFrame(targetRoot)
    myRoot.CFrame = myRoot.CFrame:Lerp(newCF, math.clamp(Config.RagebotSmooth, 0.05, 1))
    myRoot.AssemblyLinearVelocity = Vector3.zero
    lastTpPos = newCF.Position
end)

RunService:BindToRenderStep("ragebot_aim", Enum.RenderPriority.Last.Value, function()
    if not Config.Ragebot then return end
    local cam = Workspace.CurrentCamera
    local myRoot = rootOf(LocalPlayer.Character)
    local target = rageTarget
    if not (cam and myRoot and target and rageTargetValid(target, myRoot)) then return end

    local head = target.Character:FindFirstChild("Head") or rootOf(target.Character)
    cam.CFrame = CFrame.lookAt(cam.CFrame.Position, head.Position)
    triggerStep(cam)
end)
onCleanup(function() pcall(function() RunService:UnbindFromRenderStep("ragebot_aim") end) end)
Loading.setPercent(60)

------------------------------------------------------------------
-- UI: single window, single tab, Ragebot toggle with its sliders.
-- Wrapped so a bad call doesn't silently kill everything after it.
------------------------------------------------------------------
local Window
pcall(function()
    Window = WindUI:CreateWindow({
        Title = "ragebot by sand",
        Author = "by sand",
        Folder = "ragebot",
        Size = UDim2.fromOffset(420, 360),
    })
end)
pcall(function() if Window then Window:SetToggleKey(Enum.KeyCode.RightShift) end end)

if Window then
    local okUI, errUI = pcall(function()
        local MainTab = Window:Tab({ Title = "Main", Icon = "crosshair" })

        MainTab:Toggle({
            Title = "Ragebot",
            Value = false,
            Callback = function(v) Config.Ragebot = v end,
        })
        MainTab:Slider({
            Title = "Ragebot FOV (degrees)",
            Step = 1,
            Value = { Min = 5, Max = 180, Default = Config.RagebotFov },
            Callback = function(v) Config.RagebotFov = v end,
        })
        MainTab:Slider({
            Title = "Ragebot Smoothness",
            Step = 0.05,
            Value = { Min = 0.05, Max = 1, Default = Config.RagebotSmooth },
            Callback = function(v) Config.RagebotSmooth = v end,
        })
        MainTab:Slider({
            Title = "Triggerbot Delay (seconds)",
            Step = 0.01,
            Value = { Min = 0.02, Max = 1, Default = Config.TriggerDelay },
            Callback = function(v) Config.TriggerDelay = v end,
        })
        MainTab:Slider({
            Title = "Height Above Target (studs)",
            Step = 0.5,
            Value = { Min = 2, Max = 15, Default = Config.AboveHeight },
            Callback = function(v) Config.AboveHeight = v end,
        })
        MainTab:Toggle({
            Title = "Team Check",
            Value = Config.RageTeamCheck,
            Callback = function(v) Config.RageTeamCheck = v end,
        })
        MainTab:Dropdown({
            Title = "Target Priority",
            Values = { "Closest to crosshair", "Closest distance", "Lowest health" },
            Value = Config.TargetPriority,
            Callback = function(v) Config.TargetPriority = v end,
        })
        MainTab:Button({
            Title = "Unload",
            Callback = function()
                Config.Ragebot = false
                for i = #cleanups, 1, -1 do pcall(cleanups[i]) end
                table.clear(cleanups)
                pcall(function() WindUI:Destroy() end)
            end,
        })
    end)
    if not okUI then warn("[ragebot] UI build failed: " .. tostring(errUI)) end
end
Loading.setPercent(90)

local function setWindowVisible(v)
    if not Window then return end
    if pcall(function() Window:SetVisible(v) end) then return end
    if pcall(function() Window.Visible = v end) then return end
    pcall(function() Window:Toggle(v) end)
end
setWindowVisible(false)

Loading.finish(function() setWindowVisible(true) end)

Comments

Comments section coming soon...

Frequently Asked Questions

To use this script, you need a Roblox Executor. Simply copy the script from this page, paste it into your executor, and run it while you are in the RIVALS game.

This script may require a payment or subscription. Please check the script's description for more details.

Yes, this script has a key system. You may need to complete a task or join a Discord server to get a key.

Yes, this script is designed to be compatible with mobile executors.

Similar Scripts

Share Script

Share this script with others by copying the link or using your device's share options.

https://rbxscripts.net/scripts/open-source-ragebot/
or

Report Script

Help us maintain a safe community. Your report will be reviewed by our moderation team and appropriate action will be taken if needed.

Select a reason...
Malicious Code
Inappropriate Content
Copyright Infringement
Spam
Misleading Information
Other