Small  script (create ai) (no ban)
Key Required

Small script (create ai) (no ban)

RIVALSfogoltorfogoltor 1.7K views 2.7K executesUpdated Aug 17, 2026
Unrated
00
Lua Script•795 lines (29540 chars)
-- ============================================================
-- Rivals Cheat v10.1 (No Crosshair)
-- ============================================================

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

-- ===== КОНТЕЙНЕР =====
local connections = {}
local function addConnection(conn)
    table.insert(connections, conn)
end

-- ===== ЗМІННІ =====
local aimbotEnabled = false
local triggerbotEnabled = false
local wallKillEnabled = false
local antiBanEnabled = false
local antiAimEnabled = false
local antiAimMode = "Jitter"
local teamCheckEnabled = true
local wallCheckEnabled = true
local aimbotExpanded = false

-- ===== БІНДИ =====
local binds = {
    Aimbot = nil,
    Triggerbot = nil,
    WallKill = nil,
    AntiAim = nil,
    AntiBan = nil,
}

local function getBindName(k)
    if not k then return "None" end
    if k == Enum.KeyCode.LeftAlt then return "LeftAlt" end
    if k == Enum.KeyCode.RightAlt then return "RightAlt" end
    if k == Enum.KeyCode.LeftShift then return "LeftShift" end
    if k == Enum.KeyCode.RightShift then return "RightShift" end
    if k == Enum.KeyCode.LeftControl then return "LeftCtrl" end
    if k == Enum.KeyCode.RightControl then return "RightCtrl" end
    return tostring(k):gsub("Enum.KeyCode.", "")
end

-- ===== ВАТЕРМАРКА =====
local watermark = Drawing.new("Text")
watermark.Text = "@fogoltorcheats"
watermark.Color = Color3.fromRGB(255, 200, 0)
watermark.Size = 28
watermark.Position = Vector2.new(15, 15)
watermark.Center = false
watermark.Visible = true
watermark.Outline = true
watermark.OutlineColor = Color3.fromRGB(0, 0, 0)

-- ===== НАЛАШТУВАННЯ =====
local windowWidth = 420
local windowHeight = 500
local bgColor = Color3.fromRGB(10, 10, 15)
local titleColor = Color3.fromRGB(255, 200, 0)

-- ===== ГУІ =====
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "RivalsPremium"
screenGui.ResetOnSpawn = false
screenGui.Parent = game:GetService("CoreGui")

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, windowWidth, 0, windowHeight)
mainFrame.Position = UDim2.new(0.5, -(windowWidth/2), 0.5, -(windowHeight/2))
mainFrame.BackgroundColor3 = bgColor
mainFrame.BackgroundTransparency = 0.1
mainFrame.BorderSizePixel = 1
mainFrame.BorderColor3 = Color3.fromRGB(255, 200, 0)
mainFrame.Visible = false
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
title.Text = "Rivals Premium v10.1"
title.TextColor3 = titleColor
title.TextScaled = true
title.Font = Enum.Font.GothamBold
title.Parent = mainFrame

-- ===== ВКЛАДКИ =====
local tabs = {"Main", "Visuals", "Misc"}
local currentTab = "Main"

local tabContainer = Instance.new("Frame")
tabContainer.Size = UDim2.new(1, 0, 0, 25)
tabContainer.Position = UDim2.new(0, 0, 0, 30)
tabContainer.BackgroundTransparency = 1
tabContainer.Parent = mainFrame

local tabButtons = {}
for i, name in ipairs(tabs) do
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0.33, -2, 1, 0)
    btn.Position = UDim2.new((i-1)*0.33, 0, 0, 0)
    btn.BackgroundColor3 = (i == 1) and Color3.fromRGB(60, 60, 70) or Color3.fromRGB(30, 30, 40)
    btn.Text = name
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.TextScaled = true
    btn.Font = Enum.Font.Gotham
    btn.Parent = tabContainer
    local conn = btn.MouseButton1Click:Connect(function()
        currentTab = name
        for _, tb in pairs(tabButtons) do
            tb.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
        end
        btn.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
        updateContent()
    end)
    addConnection(conn)
    tabButtons[name] = btn
end

local contentFrame = Instance.new("Frame")
contentFrame.Size = UDim2.new(1, 0, 1, -55)
contentFrame.Position = UDim2.new(0, 0, 0, 55)
contentFrame.BackgroundTransparency = 1
contentFrame.Parent = mainFrame

-- ===== ВІКНО ДЛЯ БІНДУ =====
local bindWindow = Instance.new("Frame")
bindWindow.Size = UDim2.new(0, 250, 0, 100)
bindWindow.Position = UDim2.new(0.5, -125, 0.5, -50)
bindWindow.BackgroundColor3 = Color3.fromRGB(15, 15, 20)
bindWindow.BackgroundTransparency = 0.2
bindWindow.BorderSizePixel = 1
bindWindow.BorderColor3 = Color3.fromRGB(255, 200, 0)
bindWindow.Visible = false
bindWindow.Active = true
bindWindow.Parent = screenGui

local bindTitle = Instance.new("TextLabel", bindWindow)
bindTitle.Size = UDim2.new(1, 0, 0, 30)
bindTitle.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
bindTitle.Text = "Press a key to bind..."
bindTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
bindTitle.TextScaled = true
bindTitle.Font = Enum.Font.Gotham

local bindStatus = Instance.new("TextLabel", bindWindow)
bindStatus.Size = UDim2.new(1, 0, 0, 25)
bindStatus.Position = UDim2.new(0, 0, 0, 35)
bindStatus.BackgroundTransparency = 1
bindStatus.Text = "Press any key"
bindStatus.TextColor3 = Color3.fromRGB(200, 200, 200)
bindStatus.TextScaled = true
bindStatus.Font = Enum.Font.Gotham

local currentBindFunction = nil

local function closeBindWindow()
    bindWindow.Visible = false
end

local function openBindWindow(funcName)
    currentBindFunction = funcName
    bindWindow.Visible = true
    bindStatus.Text = "Press any key..."
end

local bindInputConn = UserInputService.InputBegan:Connect(function(input, gp)
    if gp then return end
    if bindWindow.Visible and input.KeyCode ~= Enum.KeyCode.Unknown then
        local key = input.KeyCode
        if key == Enum.KeyCode.Insert or key == Enum.KeyCode.G then
            bindStatus.Text = "Cannot bind Insert or G!"
            return
        end
        binds[currentBindFunction] = key
        closeBindWindow()
        updateContent()
        print("[Premium] Bound " .. currentBindFunction .. " to " .. getBindName(key))
    end
end)
addConnection(bindInputConn)

-- ===== ФУНКЦІЇ =====
local function updateWindow()
    mainFrame.Size = UDim2.new(0, windowWidth, 0, windowHeight)
    mainFrame.Position = UDim2.new(0.5, -(windowWidth/2), 0.5, -(windowHeight/2))
    mainFrame.BackgroundColor3 = bgColor
    title.TextColor3 = titleColor
end

local function resizeWindow(dw, dh)
    windowWidth = math.max(300, math.min(600, windowWidth + dw))
    windowHeight = math.max(350, math.min(600, windowHeight + dh))
    updateWindow()
    updateContent()
end

local function setBgColor(color)
    bgColor = color
    updateWindow()
end

local function setTitleColor(color)
    titleColor = color
    updateWindow()
end

local function unloadScript()
    for _, conn in ipairs(connections) do
        if conn and conn.Disconnect then
            pcall(conn.Disconnect, conn)
        end
    end
    connections = {}
    if screenGui and screenGui.Parent then
        screenGui:Destroy()
    end
    if watermark and watermark.Remove then
        watermark:Remove()
    end
    aimbotEnabled = false
    triggerbotEnabled = false
    wallKillEnabled = false
    antiBanEnabled = false
    antiAimEnabled = false
    teamCheckEnabled = true
    wallCheckEnabled = true
    aimbotExpanded = false
    for k in pairs(binds) do binds[k] = nil end
    print("[Premium] Script unloaded successfully! You can now paste a new script.")
end

-- ===== КНОПКИ =====
local function createToggle(label, yPos, getter, setter, funcName)
    local frame = Instance.new("Frame", contentFrame)
    frame.Size = UDim2.new(0.9, 0, 0, 30)
    frame.Position = UDim2.new(0.05, 0, 0, yPos)
    frame.BackgroundTransparency = 1

    local btn = Instance.new("TextButton", frame)
    btn.Size = UDim2.new(0.2, 0, 1, 0)
    btn.Position = UDim2.new(0.8, 0, 0, 0)
    btn.BackgroundColor3 = getter() and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
    btn.Text = getter() and "ON" or "OFF"
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.TextScaled = true
    btn.Font = Enum.Font.GothamBold

    local labelText = Instance.new("TextLabel", frame)
    labelText.Size = UDim2.new(0.5, 0, 1, 0)
    labelText.Position = UDim2.new(0, 0, 0, 0)
    labelText.BackgroundTransparency = 1
    labelText.Text = label
    labelText.TextColor3 = Color3.fromRGB(255, 255, 255)
    labelText.TextScaled = true
    labelText.Font = Enum.Font.Gotham
    labelText.TextXAlignment = Enum.TextXAlignment.Left

    local bindLabel = Instance.new("TextLabel", frame)
    bindLabel.Size = UDim2.new(0.25, 0, 1, 0)
    bindLabel.Position = UDim2.new(0.55, 0, 0, 0)
    bindLabel.BackgroundTransparency = 1
    bindLabel.Text = "[" .. getBindName(binds[funcName]) .. "]"
    bindLabel.TextColor3 = Color3.fromRGB(200, 200, 0)
    bindLabel.TextScaled = true
    bindLabel.Font = Enum.Font.Gotham
    bindLabel.TextXAlignment = Enum.TextXAlignment.Center

    btn.MouseButton1Click:Connect(function()
        setter(not getter())
        btn.BackgroundColor3 = getter() and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
        btn.Text = getter() and "ON" or "OFF"
        if funcName == "Aimbot" then
            updateContent()
        end
    end)

    btn.MouseButton2Click:Connect(function()
        openBindWindow(funcName)
    end)
end

local function createModeButton(label, yPos, getter, setter, options)
    local frame = Instance.new("Frame", contentFrame)
    frame.Size = UDim2.new(0.9, 0, 0, 30)
    frame.Position = UDim2.new(0.05, 0, 0, yPos)
    frame.BackgroundTransparency = 1

    local btn = Instance.new("TextButton", frame)
    btn.Size = UDim2.new(0.4, 0, 1, 0)
    btn.Position = UDim2.new(0.6, 0, 0, 0)
    btn.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
    btn.Text = getter()
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.TextScaled = true
    btn.Font = Enum.Font.Gotham

    local labelText = Instance.new("TextLabel", frame)
    labelText.Size = UDim2.new(0.55, 0, 1, 0)
    labelText.Position = UDim2.new(0, 0, 0, 0)
    labelText.BackgroundTransparency = 1
    labelText.Text = label
    labelText.TextColor3 = Color3.fromRGB(255, 255, 255)
    labelText.TextScaled = true
    labelText.Font = Enum.Font.Gotham
    labelText.TextXAlignment = Enum.TextXAlignment.Left

    btn.MouseButton1Click:Connect(function()
        local idx = table.find(options, getter()) or 1
        idx = idx % #options + 1
        setter(options[idx])
        btn.Text = getter()
    end)
end

local function createLabel(text, yPos, color)
    local lbl = Instance.new("TextLabel", contentFrame)
    lbl.Size = UDim2.new(0.3, 0, 0, 20)
    lbl.Position = UDim2.new(0.05, 0, 0, yPos)
    lbl.BackgroundTransparency = 1
    lbl.Text = text
    lbl.TextColor3 = color or Color3.fromRGB(255, 255, 255)
    lbl.TextScaled = true
    lbl.Font = Enum.Font.Gotham
    lbl.TextXAlignment = Enum.TextXAlignment.Left
    return lbl
end

function updateContent()
    for _, child in pairs(contentFrame:GetChildren()) do
        child:Destroy()
    end

    local y = 5
    if currentTab == "Main" then
        -- Aimbot
        local frame = Instance.new("Frame", contentFrame)
        frame.Size = UDim2.new(0.9, 0, 0, 30)
        frame.Position = UDim2.new(0.05, 0, 0, y)
        frame.BackgroundTransparency = 1

        local labelText = Instance.new("TextLabel", frame)
        labelText.Size = UDim2.new(0.45, 0, 1, 0)
        labelText.Position = UDim2.new(0, 0, 0, 0)
        labelText.BackgroundTransparency = 1
        labelText.Text = "🎯 Aimbot"
        labelText.TextColor3 = Color3.fromRGB(255, 255, 255)
        labelText.TextScaled = true
        labelText.Font = Enum.Font.Gotham
        labelText.TextXAlignment = Enum.TextXAlignment.Left

        local plusBtn = Instance.new("TextButton", frame)
        plusBtn.Size = UDim2.new(0.08, 0, 1, 0)
        plusBtn.Position = UDim2.new(0.45, 0, 0, 0)
        plusBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
        plusBtn.Text = aimbotExpanded and "[-]" or "[+]"
        plusBtn.TextColor3 = Color3.fromRGB(255, 200, 0)
        plusBtn.TextScaled = true
        plusBtn.Font = Enum.Font.GothamBold
        local conn = plusBtn.MouseButton1Click:Connect(function()
            aimbotExpanded = not aimbotExpanded
            updateContent()
        end)
        addConnection(conn)

        local bindLabel = Instance.new("TextLabel", frame)
        bindLabel.Size = UDim2.new(0.15, 0, 1, 0)
        bindLabel.Position = UDim2.new(0.6, 0, 0, 0)
        bindLabel.BackgroundTransparency = 1
        bindLabel.Text = "[" .. getBindName(binds.Aimbot) .. "]"
        bindLabel.TextColor3 = Color3.fromRGB(200, 200, 0)
        bindLabel.TextScaled = true
        bindLabel.Font = Enum.Font.Gotham
        bindLabel.TextXAlignment = Enum.TextXAlignment.Center

        local btn = Instance.new("TextButton", frame)
        btn.Size = UDim2.new(0.2, 0, 1, 0)
        btn.Position = UDim2.new(0.8, 0, 0, 0)
        btn.BackgroundColor3 = aimbotEnabled and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
        btn.Text = aimbotEnabled and "ON" or "OFF"
        btn.TextColor3 = Color3.fromRGB(255, 255, 255)
        btn.TextScaled = true
        btn.Font = Enum.Font.GothamBold
        local conn1 = btn.MouseButton1Click:Connect(function()
            aimbotEnabled = not aimbotEnabled
            btn.BackgroundColor3 = aimbotEnabled and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
            btn.Text = aimbotEnabled and "ON" or "OFF"
        end)
        addConnection(conn1)
        local conn2 = btn.MouseButton2Click:Connect(function()
            openBindWindow("Aimbot")
        end)
        addConnection(conn2)

        y = y + 35

        if aimbotExpanded then
            local teamFrame = Instance.new("Frame", contentFrame)
            teamFrame.Size = UDim2.new(0.8, 0, 0, 25)
            teamFrame.Position = UDim2.new(0.15, 0, 0, y)
            teamFrame.BackgroundTransparency = 1

            local teamLabel = Instance.new("TextLabel", teamFrame)
            teamLabel.Size = UDim2.new(0.6, 0, 1, 0)
            teamLabel.Position = UDim2.new(0, 0, 0, 0)
            teamLabel.BackgroundTransparency = 1
            teamLabel.Text = "👥 Team Check"
            teamLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
            teamLabel.TextScaled = true
            teamLabel.Font = Enum.Font.Gotham
            teamLabel.TextXAlignment = Enum.TextXAlignment.Left

            local teamBtn = Instance.new("TextButton", teamFrame)
            teamBtn.Size = UDim2.new(0.2, 0, 1, 0)
            teamBtn.Position = UDim2.new(0.8, 0, 0, 0)
            teamBtn.BackgroundColor3 = teamCheckEnabled and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
            teamBtn.Text = teamCheckEnabled and "ON" or "OFF"
            teamBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
            teamBtn.TextScaled = true
            teamBtn.Font = Enum.Font.GothamBold
            local conn = teamBtn.MouseButton1Click:Connect(function()
                teamCheckEnabled = not teamCheckEnabled
                teamBtn.BackgroundColor3 = teamCheckEnabled and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
                teamBtn.Text = teamCheckEnabled and "ON" or "OFF"
            end)
            addConnection(conn)

            y = y + 30

            local wallFrame = Instance.new("Frame", contentFrame)
            wallFrame.Size = UDim2.new(0.8, 0, 0, 25)
            wallFrame.Position = UDim2.new(0.15, 0, 0, y)
            wallFrame.BackgroundTransparency = 1

            local wallLabel = Instance.new("TextLabel", wallFrame)
            wallLabel.Size = UDim2.new(0.6, 0, 1, 0)
            wallLabel.Position = UDim2.new(0, 0, 0, 0)
            wallLabel.BackgroundTransparency = 1
            wallLabel.Text = "🧱 Wall Check"
            wallLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
            wallLabel.TextScaled = true
            wallLabel.Font = Enum.Font.Gotham
            wallLabel.TextXAlignment = Enum.TextXAlignment.Left

            local wallBtn = Instance.new("TextButton", wallFrame)
            wallBtn.Size = UDim2.new(0.2, 0, 1, 0)
            wallBtn.Position = UDim2.new(0.8, 0, 0, 0)
            wallBtn.BackgroundColor3 = wallCheckEnabled and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
            wallBtn.Text = wallCheckEnabled and "ON" or "OFF"
            wallBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
            wallBtn.TextScaled = true
            wallBtn.Font = Enum.Font.GothamBold
            local conn = wallBtn.MouseButton1Click:Connect(function()
                wallCheckEnabled = not wallCheckEnabled
                wallBtn.BackgroundColor3 = wallCheckEnabled and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(80, 80, 90)
                wallBtn.Text = wallCheckEnabled and "ON" or "OFF"
            end)
            addConnection(conn)

            y = y + 30
        end

        createToggle("🔫 Triggerbot", y, function() return triggerbotEnabled end, function(v) triggerbotEnabled = v end, "Triggerbot")
        y = y + 35
        createToggle("💀 Wall Kill (G)", y, function() return wallKillEnabled end, function(v) wallKillEnabled = v end, "WallKill")
        y = y + 35
        createToggle("🔄 Anti-Aim", y, function() return antiAimEnabled end, function(v) antiAimEnabled = v end, "AntiAim")
    elseif currentTab == "Visuals" then
        createToggle("🔄 Anti-Aim", y, function() return antiAimEnabled end, function(v) antiAimEnabled = v end, "AntiAim")
        y = y + 35
        createModeButton("🔄 Anti-Aim Mode", y, function() return antiAimMode end, function(v) antiAimMode = v end, {"Jitter", "Spin", "Random", "Static"})
    elseif currentTab == "Misc" then
        createToggle("🛡️ Anti-Ban", y, function() return antiBanEnabled end, function(v) antiBanEnabled = v end, "AntiBan")
        y = y + 35

        createLabel("📐 Window Size", y)
        y = y + 22
        local sizeFrame = Instance.new("Frame", contentFrame)
        sizeFrame.Size = UDim2.new(0.9, 0, 0, 25)
        sizeFrame.Position = UDim2.new(0.05, 0, 0, y)
        sizeFrame.BackgroundTransparency = 1

        local wLabel = Instance.new("TextLabel", sizeFrame)
        wLabel.Size = UDim2.new(0.15, 0, 1, 0)
        wLabel.Position = UDim2.new(0, 0, 0, 0)
        wLabel.BackgroundTransparency = 1
        wLabel.Text = "W: " .. windowWidth
        wLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
        wLabel.TextScaled = true
        wLabel.Font = Enum.Font.Gotham

        local wMinus = Instance.new("TextButton", sizeFrame)
        wMinus.Size = UDim2.new(0.06, 0, 1, 0)
        wMinus.Position = UDim2.new(0.2, 0, 0, 0)
        wMinus.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
        wMinus.Text = "-"
        wMinus.TextColor3 = Color3.fromRGB(255, 255, 255)
        wMinus.TextScaled = true
        wMinus.Font = Enum.Font.GothamBold
        local conn1 = wMinus.MouseButton1Click:Connect(function() resizeWindow(-10, 0) end)
        addConnection(conn1)

        local wPlus = Instance.new("TextButton", sizeFrame)
        wPlus.Size = UDim2.new(0.06, 0, 1, 0)
        wPlus.Position = UDim2.new(0.28, 0, 0, 0)
        wPlus.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
        wPlus.Text = "+"
        wPlus.TextColor3 = Color3.fromRGB(255, 255, 255)
        wPlus.TextScaled = true
        wPlus.Font = Enum.Font.GothamBold
        local conn2 = wPlus.MouseButton1Click:Connect(function() resizeWindow(10, 0) end)
        addConnection(conn2)

        local hLabel = Instance.new("TextLabel", sizeFrame)
        hLabel.Size = UDim2.new(0.15, 0, 1, 0)
        hLabel.Position = UDim2.new(0.4, 0, 0, 0)
        hLabel.BackgroundTransparency = 1
        hLabel.Text = "H: " .. windowHeight
        hLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
        hLabel.TextScaled = true
        hLabel.Font = Enum.Font.Gotham

        local hMinus = Instance.new("TextButton", sizeFrame)
        hMinus.Size = UDim2.new(0.06, 0, 1, 0)
        hMinus.Position = UDim2.new(0.6, 0, 0, 0)
        hMinus.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
        hMinus.Text = "-"
        hMinus.TextColor3 = Color3.fromRGB(255, 255, 255)
        hMinus.TextScaled = true
        hMinus.Font = Enum.Font.GothamBold
        local conn3 = hMinus.MouseButton1Click:Connect(function() resizeWindow(0, -10) end)
        addConnection(conn3)

        local hPlus = Instance.new("TextButton", sizeFrame)
        hPlus.Size = UDim2.new(0.06, 0, 1, 0)
        hPlus.Position = UDim2.new(0.68, 0, 0, 0)
        hPlus.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
        hPlus.Text = "+"
        hPlus.TextColor3 = Color3.fromRGB(255, 255, 255)
        hPlus.TextScaled = true
        hPlus.Font = Enum.Font.GothamBold
        local conn4 = hPlus.MouseButton1Click:Connect(function() resizeWindow(0, 10) end)
        addConnection(conn4)

        y = y + 35

        createLabel("🎨 Background Color", y)
        y = y + 22
        local colors = {
            {Color3.fromRGB(10,10,15), "Dark"},
            {Color3.fromRGB(20,20,25), "Gray"},
            {Color3.fromRGB(30,30,40), "Light"},
            {Color3.fromRGB(0,0,0), "Black"},
            {Color3.fromRGB(40,20,20), "Red"},
            {Color3.fromRGB(20,40,20), "Green"},
            {Color3.fromRGB(20,20,40), "Blue"},
        }
        local xOff = 0.05
        for _, c in ipairs(colors) do
            local btn = Instance.new("TextButton", contentFrame)
            btn.Size = UDim2.new(0.08, 0, 0, 20)
            btn.Position = UDim2.new(xOff, 0, 0, y)
            btn.BackgroundColor3 = c[1]
            btn.BackgroundTransparency = 0.1
            btn.BorderSizePixel = 1
            btn.BorderColor3 = Color3.fromRGB(255,255,255)
            btn.Text = ""
            btn.Parent = contentFrame
            local conn = btn.MouseButton1Click:Connect(function()
                setBgColor(c[1])
                updateContent()
            end)
            addConnection(conn)
            xOff = xOff + 0.1
        end
        y = y + 30

        createLabel("✏️ Title Color", y)
        y = y + 22
        local titleColors = {
            {Color3.fromRGB(255,200,0), "Gold"},
            {Color3.fromRGB(0,255,0), "Green"},
            {Color3.fromRGB(255,0,0), "Red"},
            {Color3.fromRGB(0,200,255), "Cyan"},
            {Color3.fromRGB(255,255,255), "White"},
            {Color3.fromRGB(255,100,200), "Pink"},
            {Color3.fromRGB(200,100,255), "Purple"},
        }
        xOff = 0.05
        for _, c in ipairs(titleColors) do
            local btn = Instance.new("TextButton", contentFrame)
            btn.Size = UDim2.new(0.08, 0, 0, 20)
            btn.Position = UDim2.new(xOff, 0, 0, y)
            btn.BackgroundColor3 = c[1]
            btn.BackgroundTransparency = 0.1
            btn.BorderSizePixel = 1
            btn.BorderColor3 = Color3.fromRGB(255,255,255)
            btn.Text = ""
            btn.Parent = contentFrame
            local conn = btn.MouseButton1Click:Connect(function()
                setTitleColor(c[1])
                updateContent()
            end)
            addConnection(conn)
            xOff = xOff + 0.1
        end
        y = y + 30

        local unloadBtn = Instance.new("TextButton", contentFrame)
        unloadBtn.Size = UDim2.new(0.6, 0, 0, 30)
        unloadBtn.Position = UDim2.new(0.2, 0, 0, y)
        unloadBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
        unloadBtn.Text = "🔄 Unload Script"
        unloadBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
        unloadBtn.TextScaled = true
        unloadBtn.Font = Enum.Font.GothamBold
        unloadBtn.Parent = contentFrame
        local conn = unloadBtn.MouseButton1Click:Connect(function()
            unloadScript()
        end)
        addConnection(conn)
        y = y + 40
    end
end

updateContent()

-- ===== ЛОГІКА =====
local function isEnemy(p)
    if p == LocalPlayer then return false end
    if not teamCheckEnabled then return true end
    local lt, pt = LocalPlayer.Team, p.Team
    if lt and pt then return lt ~= pt end
    return true
end

local function isVisible(p)
    if not wallCheckEnabled then return true end
    local char = p.Character
    if not char then return false end
    local head = char:FindFirstChild("Head")
    if not head then return false end
    local ray = Ray.new(Camera.CFrame.Position, (head.Position - Camera.CFrame.Position).Unit * 1000)
    local hit = Workspace:FindPartOnRay(ray, LocalPlayer.Character)
    if hit and hit.Parent and hit.Parent:IsA("BasePart") then
        local hp = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent.Parent)
        return hp == p
    end
    return false
end

local function aimbot()
    if not aimbotEnabled then return end
    local target, minDist = nil, math.huge
    for _, p in pairs(Players:GetPlayers()) do
        if isEnemy(p) and isVisible(p) then
            local char = p.Character
            if char and char:FindFirstChild("HumanoidRootPart") then
                local dist = (char.HumanoidRootPart.Position - Camera.CFrame.Position).Magnitude
                if dist < minDist then
                    minDist = dist
                    target = char
                end
            end
        end
    end
    if target and target:FindFirstChild("Head") then
        Camera.CFrame = CFrame.new(Camera.CFrame.Position, target.Head.Position)
    end
end

local function triggerbot()
    if not triggerbotEnabled then return end
    local center = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
    local target, minDist = nil, math.huge
    for _, p in pairs(Players:GetPlayers()) do
        if isEnemy(p) and isVisible(p) then
            local char = p.Character
            if char and char:FindFirstChild("Head") then
                local pos, onScreen = Camera:WorldToViewportPoint(char.Head.Position)
                if onScreen then
                    local dist = (Vector2.new(pos.X, pos.Y) - center).Magnitude
                    if dist < 50 and dist < minDist then
                        minDist = dist
                        target = p
                    end
                end
            end
        end
    end
    if target then
        local mouse = UserInputService
        mouse:SetMouseButtonPressed(Enum.UserInputType.MouseButton1)
        wait(0.01)
        mouse:SetMouseButtonReleased(Enum.UserInputType.MouseButton1)
    end
end

local function antiAim()
    if not antiAimEnabled then return end
    local char, hrp = LocalPlayer.Character, LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
    if not (char and hrp) then return end
    local cf = hrp.CFrame
    if antiAimMode == "Jitter" then
        hrp.CFrame = cf * CFrame.Angles(0, math.rad(math.sin(tick()*10)*30), 0)
    elseif antiAimMode == "Spin" then
        hrp.CFrame = cf * CFrame.Angles(0, tick()*5, 0)
    elseif antiAimMode == "Random" then
        hrp.CFrame = cf * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)
    end
end

local function wallKill(p)
    if not wallKillEnabled or not isEnemy(p) then return end
    local char, hum = p.Character, p.Character and p.Character:FindFirstChild("Humanoid")
    if not char or not hum then return end
    local remote = game:GetService("ReplicatedStorage"):FindFirstChild("DamageRemote")
    if remote then
        remote:FireServer(char, 100)
    else
        hum.Health = 0
    end
end

local function antiBan()
    if not antiBanEnabled then return end
    print, warn = function() end, function() end
end

local renderConn = RunService.RenderStepped:Connect(function()
    aimbot()
    triggerbot()
    antiAim()
    antiBan()
end)
addConnection(renderConn)

local inputConn = UserInputService.InputBegan:Connect(function(input, gp)
    if gp then return end
    local key = input.KeyCode
    if key == Enum.KeyCode.G and wallKillEnabled then
        for _, p in pairs(Players:GetPlayers()) do
            if isEnemy(p) then
                wallKill(p)
            end
        end
        print("[Premium] Wall Kill executed")
        return
    end

    if key == binds.Aimbot and binds.Aimbot then
        aimbotEnabled = not aimbotEnabled
        print("[Premium] Aimbot: " .. tostring(aimbotEnabled))
        updateContent()
        return
    end
    if key == binds.Triggerbot and binds.Triggerbot then
        triggerbotEnabled = not triggerbotEnabled
        print("[Premium] Triggerbot: " .. tostring(triggerbotEnabled))
        updateContent()
        return
    end
    if key == binds.WallKill and binds.WallKill then
        wallKillEnabled = not wallKillEnabled
        print("[Premium] Wall Kill: " .. tostring(wallKillEnabled))
        updateContent()
        return
    end
    if key == binds.AntiAim and binds.AntiAim then
        antiAimEnabled = not antiAimEnabled
        print("[Premium] Anti-Aim: " .. tostring(antiAimEnabled))
        updateContent()
        return
    end
    if key == binds.AntiBan and binds.AntiBan then
        antiBanEnabled = not antiBanEnabled
        print("[Premium] Anti-Ban: " .. tostring(antiBanEnabled))
        updateContent()
        return
    end

    if key == Enum.KeyCode.Insert then
        mainFrame.Visible = not mainFrame.Visible
    end
end)
addConnection(inputConn)

print("[Premium] Rivals Cheat v10.1 loaded — Crosshair removed.")
print("[Premium] Press Insert to open menu. Right-click to bind a key. G for Wall Kill.")

Features & Information

Aimbot (DISABLE ALL IN + AND DONT PLAY IN 2X2, 3X3, 4X4 GAME MODE!!!) Anti aim Anti ban customize cheat Triggerbot (dont work) Wall kill (dont work)
#ai#rivals#non ban

Community Comments (0)

No comments yet for this script.

More Scripts for RIVALS