local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local camera = Workspace.CurrentCamera local mouse = player:GetMouse() local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "RivalsAimbot" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = player:WaitForChild("PlayerGui") local Frame = Instance.new("Frame") Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) Frame.Position = UDim2.new(0.02, 0, 0.1, 0) Frame.Size = UDim2.new(0, 220, 0, 140) Frame.Active = true Frame.Draggable = true local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim2.new(0, 12, 0, 12) Corner.Parent = Frame local Stroke = Instance.new("UIStroke") Stroke.Color = Color3.fromRGB(0, 255, 100) Stroke.Thickness = 2.5 Stroke.Parent = Frame local Title = Instance.new("TextLabel") Title.Parent = Frame Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0, 0, 0, 8) Title.Size = UDim2.new(1, 0, 0, 35) Title.Font = Enum.Font.GothamBold Title.Text = "🎯 R I V A L S A I M B O T" Title.TextColor3 = Color3.fromRGB(0, 255, 100) Title.TextScaled = true Title.TextStrokeTransparency = 0 Title.TextStrokeColor3 = Color3.new(0,0,0) local AimbotBtn = Instance.new("TextButton") AimbotBtn.Parent = Frame AimbotBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) AimbotBtn.Position = UDim2.new(0.05, 0, 0.32, 0) AimbotBtn.Size = UDim2.new(0.43, 0, 0, 45) AimbotBtn.Font = Enum.Font.GothamBold AimbotBtn.Text = "AIMBOT OFF" AimbotBtn.TextColor3 = Color3.fromRGB(255, 255, 255) AimbotBtn.TextScaled = true local BtnCorner1 = Instance.new("UICorner") BtnCorner1.CornerRadius = UDim2.new(0, 10, 0, 10) BtnCorner1.Parent = AimbotBtn local ShootBtn = Instance.new("TextButton") ShootBtn.Parent = Frame ShootBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) ShootBtn.Position = UDim2.new(0.52, 0, 0.32, 0) ShootBtn.Size = UDim2.new(0.43, 0, 0, 45) ShootBtn.Font = Enum.Font.GothamBold ShootBtn.Text = "SHOOT OFF" ShootBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ShootBtn.TextScaled = true local BtnCorner2 = Instance.new("UICorner") BtnCorner2.CornerRadius = UDim2.new(0, 10, 0, 10) BtnCorner2.Parent = ShootBtn local aimbotEnabled = false local autoShootEnabled = false local targetPart = nil local espParts = {} local function createChestESP(targetPlayer) if espParts[targetPlayer] then return end local character = targetPlayer.Character if not character or not character:FindFirstChild("UpperTorso") then return end local chestPart = Instance.new("Part") chestPart.Name = "ChestESP" chestPart.Size = Vector3.new(3, 2.2, 1.5) chestPart.Transparency = 1 chestPart.CanCollide = false chestPart.Anchored = false chestPart.Parent = character local torso = character:FindFirstChild("UpperTorso") if torso then local weld = Instance.new("WeldConstraint") weld.Part0 = torso weld.Part1 = chestPart weld.Parent = chestPart chestPart.CFrame = torso.CFrame * CFrame.new(0, -0.9, 0) end local billboard = Instance.new("BillboardGui") billboard.Name = "ESP" billboard.Adornee = chestPart billboard.Size = UDim2.new(0, 140, 0, 70) billboard.StudsOffset = Vector3.new(0, 3.5, 0) billboard.Parent = chestPart local label = Instance.new("TextLabel") label.Parent = billboard label.Size = UDim2.new(1, 0, 1, 0) label.BackgroundTransparency = 1 label.Text = targetPlayer.Name .. "\n🔴 CHEST" label.TextColor3 = Color3.fromRGB(255, 40, 40) label.TextScaled = true label.Font = Enum.Font.GothamBold label.TextStrokeTransparency = 0 label.TextStrokeColor3 = Color3.new(0,0,0) espParts[targetPlayer] = chestPart targetPart = chestPart end local function findClosestEnemy() local closest, shortestDist = nil, 500 local char = player.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return nil end for _, enemy in pairs(Players:GetPlayers()) do if enemy ~= player and enemy.Character and enemy.Character:FindFirstChild("HumanoidRootPart") then local myTeam = char:FindFirstChild("team") or char.Parent:FindFirstChild("team") local enemyTeam = enemy.Character:FindFirstChild("team") or enemy.Character.Parent:FindFirstChild("team") if myTeam and enemyTeam and myTeam.Value ~= enemyTeam.Value then local dist = (enemy.Character.HumanoidRootPart.Position - char.HumanoidRootPart.Position).Magnitude if dist < shortestDist then closest = enemy shortestDist = dist end elseif not myTeam or not enemyTeam then local dist = (enemy.Character.HumanoidRootPart.Position - char.HumanoidRootPart.Position).Magnitude if dist < shortestDist then closest = enemy shortestDist = dist end end end end return closest end AimbotBtn.MouseButton1Click:Connect(function() aimbotEnabled = not aimbotEnabled AimbotBtn.Text = "AIMBOT " .. (aimbotEnabled and "ON" or "OFF") AimbotBtn.BackgroundColor3 = aimbotEnabled and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(45, 45, 45) if aimbotEnabled then local closestEnemy = findClosestEnemy() if closestEnemy then createChestESP(closestEnemy) end else for _, part in pairs(espParts) do if part then part:Destroy() end end espParts = {} targetPart = nil end end) ShootBtn.MouseButton1Click:Connect(function() autoShootEnabled = not autoShootEnabled ShootBtn.Text = "SHOOT " .. (autoShootEnabled and "ON" or "OFF") ShootBtn.BackgroundColor3 = autoShootEnabled and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(45, 45, 45) end) local aimConnection aimConnection = RunService.Heartbeat:Connect(function() local char = player.Character if aimbotEnabled and targetPart and targetPart.Parent and char and char:FindFirstChild("HumanoidRootPart") then local smoothSpeed = 0.18 camera.CFrame = camera.CFrame:Lerp( CFrame.lookAt(camera.CFrame.Position, targetPart.Position), smoothSpeed ) end if autoShootEnabled and char and char:FindFirstChildOfClass("Tool") then pcall(function() mouse1press() task.wait(0.07) mouse1release() end) end end) player.CharacterAdded:Connect(function() task.wait(2.5) if aimbotEnabled then local closestEnemy = findClosestEnemy() if closestEnemy then createChestESP(closestEnemy) end end end) print("🎯 RIVALS AIMBOT v2 LOADED")