-- [[ 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 ]] -- QYNTRON | RIVALS DOMINATOR -- executor-injected LocalScript. paste and run. -- ESP / aim / triggerbot are client-side. ------------------------------------------------------------------------------- -- services ------------------------------------------------------------------------------- local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local LP = Players.LocalPlayer ------------------------------------------------------------------------------- -- defaults, ranges, binds ------------------------------------------------------------------------------- local DEFAULTS = { Enabled = true, Sniper = false, TeamCheck = true, SniperTeamCheck = true, VisCheck = false, ShowFOV = true, FOV = 150, SmoothPct = 25, SniperSmoothPct = 100, PredictMs = 0, Bone = "Head", EspBox = false, EspLine = false, EspName = false, EspHealth = false, EspRange = 3571, TriggerBot = false, TriggerDelay = 0, TrigHeadOnly = false, } local RANGES = { FOV = { 30, 400 }, SmoothPct = { 5, 100 }, SniperSmoothPct = { 5, 100 }, PredictMs = { 0, 250 }, EspRange = { 50, 3571 }, TriggerDelay = { 0, 300 }, } local BONES = { "Head", "UpperTorso", "HumanoidRootPart" } local DEFAULT_BINDS = { menu = Enum.KeyCode.Insert, toggle = Enum.KeyCode.F, sniper = Enum.KeyCode.G, trigger = Enum.KeyCode.T, mark = Enum.KeyCode.Z, clear = Enum.KeyCode.X, } local function shallowCopy(t) local n = {} for k, v in pairs(t) do n[k] = v end return n end local cfg = shallowCopy(DEFAULTS) local binds = shallowCopy(DEFAULT_BINDS) local BIND_CAM = "QYN_AIM_CAM" local BIND_ESP = "QYN_AIM_ESP" local BIND_TRIG = "QYN_AIM_TRIG" ------------------------------------------------------------------------------- -- palette ------------------------------------------------------------------------------- local BLACK = Color3.fromRGB(0, 0, 0) local INK = Color3.fromRGB(12, 12, 12) local PANEL = Color3.fromRGB(22, 22, 22) local PANEL_HI = Color3.fromRGB(34, 34, 34) local WHITE = Color3.fromRGB(255, 255, 255) local GREY = Color3.fromRGB(150, 150, 150) ------------------------------------------------------------------------------- -- runtime state ------------------------------------------------------------------------------- local Ignored = {} local lockedPlayer = nil local lockedPart = nil local trigReady = 0 local capturing = nil local sliding = nil local dragging = nil local unloaded = false local conns = {} local function track(c) table.insert(conns, c) return c end local widgetRefresh = {} local function refreshAll() for _, fn in ipairs(widgetRefresh) do fn() end end ------------------------------------------------------------------------------- -- helpers ------------------------------------------------------------------------------- local function mk(class, props) local inst = Instance.new(class) for k, v in pairs(props) do inst[k] = v end return inst end local function stroke(parent, color, thickness) return mk("UIStroke", { Parent = parent, Color = color or WHITE, Thickness = thickness or 1, Transparency = 0.2, }) end local function tween(obj, props) TweenService:Create(obj, TweenInfo.new(0.12, Enum.EasingStyle.Quad), props):Play() end local function isPointer(i) return i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch end local function isMove(i) return i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch end local function protectGui(g) g.ResetOnSpawn = false if not pcall(function() g.Parent = CoreGui end) or not g.Parent then g.Parent = LP:WaitForChild("PlayerGui") end end local function project(cam, pos) local v, on = cam:WorldToViewportPoint(pos) return Vector2.new(v.X, v.Y), on and v.Z > 0 end local function aimPartOf(char) return char:FindFirstChild(cfg.Bone) or char:FindFirstChild("Head") or char:FindFirstChild("HumanoidRootPart") end local function aimPos(part) local vel = part.AssemblyLinearVelocity return part.Position + vel * (cfg.PredictMs / 1000) end local function resetConfig() for k, v in pairs(DEFAULTS) do cfg[k] = v end for k, v in pairs(DEFAULT_BINDS) do binds[k] = v end refreshAll() end ------------------------------------------------------------------------------- -- team logic ------------------------------------------------------------------------------- local function getTeamOf(p) local char = p.Character if not char then return nil end local attr = p:GetAttribute("Team") or char:GetAttribute("Team") if attr ~= nil then return "attr:" .. tostring(attr) end local tv = char:FindFirstChild("Team") or p:FindFirstChild("Team") if tv and tv:IsA("ValueBase") then return "val:" .. tostring(tv.Value) end if p.Team then return "team:" .. p.Team.Name end local torso = char:FindFirstChild("UpperTorso") or char:FindFirstChild("Torso") if torso then return "color:" .. tostring(torso.BrickColor.Name) end return nil end local frameMyTeam = nil local function beginFrame() frameMyTeam = getTeamOf(LP) end local function isEnemy(p, sniper) local useTeam = sniper and cfg.SniperTeamCheck or cfg.TeamCheck if not useTeam then return true end if frameMyTeam == nil then return true end local theirs = getTeamOf(p) return theirs == nil or theirs ~= frameMyTeam end local function isTeammate(p) local mine, theirs = getTeamOf(LP), getTeamOf(p) return mine ~= nil and theirs ~= nil and mine == theirs end ------------------------------------------------------------------------------- -- ring ------------------------------------------------------------------------------- local ringGui = mk("ScreenGui", { Name = "QYN_RING", IgnoreGuiInset = true }) protectGui(ringGui) local ring = mk("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1, Parent = ringGui, }) stroke(ring, WHITE, 1.5) mk("UICorner", { Parent = ring, CornerRadius = UDim.new(1, 0) }) ------------------------------------------------------------------------------- -- esp ------------------------------------------------------------------------------- local espGui = mk("ScreenGui", { Name = "QYN_ESP", IgnoreGuiInset = true }) protectGui(espGui) local espObjs = {} local function newEsp() local o = {} o.box = mk("Frame", { BackgroundTransparency = 1, BorderSizePixel = 0, Visible = false, Parent = espGui, }) stroke(o.box, WHITE, 1.5) o.line = mk("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = WHITE, BorderSizePixel = 0, Visible = false, Parent = espGui, }) o.name = mk("TextLabel", { BackgroundTransparency = 1, Font = Enum.Font.GothamBold, TextSize = 10, TextColor3 = WHITE, TextStrokeTransparency = 0.5, Size = UDim2.fromOffset(180, 14), AnchorPoint = Vector2.new(0.5, 1), Visible = false, Parent = espGui, }) o.hpBack = mk("Frame", { BackgroundColor3 = BLACK, BorderSizePixel = 0, Visible = false, Parent = espGui, }) stroke(o.hpBack, GREY, 1) o.hpFill = mk("Frame", { BackgroundColor3 = WHITE, BorderSizePixel = 0, Size = UDim2.fromScale(1, 1), Parent = o.hpBack, }) return o end local function hideEsp(o) o.box.Visible = false o.line.Visible = false o.name.Visible = false o.hpBack.Visible = false end local function dropEsp(p) local o = espObjs[p] if not o then return end o.box:Destroy() o.line:Destroy() o.name:Destroy() o.hpBack:Destroy() espObjs[p] = nil end local function drawEsp(o, cam, p, hum, head, root) local top, topOn = project(cam, head.Position + Vector3.new(0, head.Size.Y / 2 + 0.2, 0)) local bot, botOn = project(cam, root.Position - Vector3.new(0, hum.HipHeight + root.Size.Y / 2, 0)) local mid, midOn = project(cam, root.Position) if not (topOn or botOn or midOn) then hideEsp(o) return end local height = math.abs(bot.Y - top.Y) local width = height * 0.5 if height < 2 then hideEsp(o) return end o.box.Visible = cfg.EspBox if cfg.EspBox then o.box.Position = UDim2.fromOffset(mid.X - width / 2, top.Y) o.box.Size = UDim2.fromOffset(width, height) end local viewBottom = cam.ViewportSize o.line.Visible = cfg.EspLine if cfg.EspLine then local origin = Vector2.new(viewBottom.X / 2, viewBottom.Y) local feet = Vector2.new(mid.X, bot.Y) local delta = feet - origin o.line.Size = UDim2.fromOffset(delta.Magnitude, 1.5) o.line.Position = UDim2.fromOffset(origin.X + delta.X / 2, origin.Y + delta.Y / 2) o.line.Rotation = math.deg(math.atan2(delta.Y, delta.X)) end local dist = (root.Position - cam.CFrame.Position).Magnitude o.name.Visible = cfg.EspName if cfg.EspName then o.name.Position = UDim2.fromOffset(mid.X, top.Y - 4) o.name.Text = string.format("%s [%d st]", p.Name, math.floor(dist)) end o.hpBack.Visible = cfg.EspHealth if cfg.EspHealth then local ratio = math.clamp(hum.Health / math.max(hum.MaxHealth, 1), 0, 1) o.hpBack.Position = UDim2.fromOffset(mid.X - width / 2 - 6, top.Y) o.hpBack.Size = UDim2.fromOffset(3, height) o.hpFill.Size = UDim2.new(1, 0, ratio, 0) o.hpFill.Position = UDim2.new(0, 0, 1 - ratio, 0) end end -- draws ESP for every valid enemy in range, not just the closest one local function updateEsp(cam) local active = {} local anyFeature = cfg.EspBox or cfg.EspLine or cfg.EspName or cfg.EspHealth if anyFeature then for _, p in ipairs(Players:GetPlayers()) do if p ~= LP and not Ignored[p.UserId] then local char = p.Character local hum = char and char:FindFirstChildOfClass("Humanoid") local head = char and char:FindFirstChild("Head") local root = char and char:FindFirstChild("HumanoidRootPart") if hum and head and root and hum.Health > 0 then local dist = (root.Position - cam.CFrame.Position).Magnitude local teamHide = cfg.TeamCheck and isTeammate(p) if dist <= cfg.EspRange and not teamHide then local o = espObjs[p] or newEsp() espObjs[p] = o active[p] = true drawEsp(o, cam, p, hum, head, root) end end end end end for p, o in pairs(espObjs) do if not active[p] then hideEsp(o) end end end track(Players.PlayerRemoving:Connect(dropEsp)) ------------------------------------------------------------------------------- -- aim core ------------------------------------------------------------------------------- local aimParams = RaycastParams.new() aimParams.FilterType = Enum.RaycastFilterType.Exclude local trigParams = RaycastParams.new() trigParams.FilterType = Enum.RaycastFilterType.Exclude local function isVisible(part, char) local cam = workspace.CurrentCamera local localChar = LP.Character local filter = {} if localChar then table.insert(filter, localChar) end table.insert(filter, char) aimParams.FilterDescendantsInstances = filter local origin = cam.CFrame.Position local hit = workspace:Raycast(origin, aimPos(part) - origin, aimParams) return hit == nil end local function scoreTarget(p, mouse, cam, sniper) if p == LP or Ignored[p.UserId] then return nil end local char = p.Character if not char then return nil end local hum = char:FindFirstChildOfClass("Humanoid") if not hum or hum.Health <= 0 then return nil end if not isEnemy(p, sniper) then return nil end local part = aimPartOf(char) if not part then return nil end local sp, on = project(cam, aimPos(part)) if not on then return nil end local d = (sp - mouse).Magnitude if not sniper and d > cfg.FOV then return nil end if cfg.VisCheck and not isVisible(part, char) then return nil end return d, part end local function markTarget() if lockedPlayer then Ignored[lockedPlayer.UserId] = true end lockedPlayer, lockedPart = nil, nil end ------------------------------------------------------------------------------- -- window ------------------------------------------------------------------------------- local WIN_W, WIN_H = 260, 400 local TAB_H = 26 local HEAD_H = 30 local gui = mk("ScreenGui", { Name = "QYN_UI" }) protectGui(gui) local main = mk("Frame", { Size = UDim2.fromOffset(WIN_W, WIN_H), Position = UDim2.fromOffset(40, 140), BackgroundColor3 = INK, BorderSizePixel = 0, Active = true, Parent = gui, }) stroke(main, WHITE, 1.5) local title = mk("TextLabel", { Size = UDim2.new(1, 0, 0, HEAD_H), BackgroundColor3 = BLACK, BorderSizePixel = 0, Text = "QYNTRON | RIVALS DOMINATOR", Font = Enum.Font.GothamBlack, TextSize = 11, TextColor3 = WHITE, Parent = main, }) local closeBtn = mk("TextButton", { Size = UDim2.fromOffset(22, 22), Position = UDim2.new(1, -26, 0, 4), BackgroundColor3 = WHITE, BorderSizePixel = 0, Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = BLACK, Text = "X", Parent = title, }) local minBtn = mk("TextButton", { Size = UDim2.fromOffset(22, 22), Position = UDim2.new(1, -52, 0, 4), BackgroundColor3 = PANEL_HI, BorderSizePixel = 0, Font = Enum.Font.GothamBold, TextSize = 15, TextColor3 = WHITE, Text = "-", Parent = title, }) local divider = mk("Frame", { Size = UDim2.new(1, 0, 0, 1), Position = UDim2.fromOffset(0, HEAD_H), BackgroundColor3 = WHITE, BorderSizePixel = 0, Parent = main, }) local tabRow = mk("Frame", { Size = UDim2.new(1, 0, 0, TAB_H), Position = UDim2.fromOffset(0, HEAD_H + 1), BackgroundTransparency = 1, Parent = main, }) local body = mk("Frame", { Size = UDim2.new(1, 0, 1, -(HEAD_H + 1 + TAB_H + 1)), Position = UDim2.fromOffset(0, HEAD_H + 1 + TAB_H + 1), BackgroundTransparency = 1, Parent = main, }) local TABS = { "AIM", "ESP", "MISC", "BINDS" } local tabBtns, pages = {}, {} local orderCount = {} local function nextOrder(page) orderCount[page] = (orderCount[page] or 0) + 1 return orderCount[page] end local function showTab(name) for n, pg in pairs(pages) do pg.Visible = (n == name) end for n, b in pairs(tabBtns) do local on = (n == name) tween(b, { BackgroundColor3 = on and WHITE or PANEL, TextColor3 = on and BLACK or WHITE, }) end end local tabW = WIN_W / #TABS for i, name in ipairs(TABS) do local b = mk("TextButton", { Size = UDim2.fromOffset(tabW, TAB_H), Position = UDim2.fromOffset((i - 1) * tabW, 0), BackgroundColor3 = PANEL, BorderSizePixel = 0, Font = Enum.Font.GothamBold, TextSize = 9, TextColor3 = WHITE, Text = name, AutoButtonColor = false, Parent = tabRow, }) stroke(b, WHITE, 1) tabBtns[name] = b local pg = mk("ScrollingFrame", { Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 2, ScrollBarImageColor3 = WHITE, CanvasSize = UDim2.new(0, 0, 0, 0), AutomaticCanvasSize = Enum.AutomaticSize.Y, Visible = false, Parent = body, }) mk("UIListLayout", { Parent = pg, SortOrder = Enum.SortOrder.LayoutOrder, Padding = UDim.new(0, 6), }) mk("UIPadding", { Parent = pg, PaddingLeft = UDim.new(0, 10), PaddingRight = UDim.new(0, 10), PaddingTop = UDim.new(0, 8), PaddingBottom = UDim.new(0, 8), }) pages[name] = pg track(b.MouseButton1Click:Connect(function() showTab(name) end)) end ------------------------------------------------------------------------------- -- widgets ------------------------------------------------------------------------------- local ROW_H = 26 local function section(page, text) return mk("TextLabel", { Size = UDim2.new(1, 0, 0, 16), BackgroundTransparency = 1, Font = Enum.Font.GothamBold, TextSize = 10, TextColor3 = GREY, TextXAlignment = Enum.TextXAlignment.Left, Text = text, LayoutOrder = nextOrder(page), Parent = page, }) end local function makeButton(page, text, onClick) local b = mk("TextButton", { Size = UDim2.new(1, 0, 0, ROW_H), BackgroundColor3 = PANEL, BorderSizePixel = 0, Font = Enum.Font.GothamMedium, TextSize = 11, TextColor3 = WHITE, Text = text, AutoButtonColor = false, LayoutOrder = nextOrder(page), Parent = page, }) stroke(b, WHITE, 1) track(b.MouseButton1Click:Connect(function() onClick(b) end)) return b end local function toggle(page, text, key) local b = makeButton(page, text, function() cfg[key] = not cfg[key] refreshAll() end) local function refresh() local on = cfg[key] b.Text = text .. " : " .. (on and "ON" or "OFF") tween(b, { BackgroundColor3 = on and WHITE or PANEL, TextColor3 = on and BLACK or WHITE, }) end table.insert(widgetRefresh, refresh) refresh() return b end local function cycle(page, text, options, key) local b = makeButton(page, text, function() local idx = 1 for i, v in ipairs(options) do if v == cfg[key] then idx = i end end cfg[key] = options[(idx % #options) + 1] refreshAll() end) local function refresh() b.Text = text .. " : " .. tostring(cfg[key]) end table.insert(widgetRefresh, refresh) refresh() return b end local function keybind(page, text, bindName) local b = makeButton(page, text, function() capturing = bindName refreshAll() end) local function refresh() if capturing == bindName then b.Text = text .. " : [press key]" else b.Text = text .. " : " .. binds[bindName].Name end end table.insert(widgetRefresh, refresh) refresh() return b end local function meter(page, text, key) local r = RANGES[key] local mn, mx = r[1], r[2] local frame = mk("Frame", { Size = UDim2.new(1, 0, 0, 38), BackgroundTransparency = 1, LayoutOrder = nextOrder(page), Parent = page, }) local label = mk("TextLabel", { Size = UDim2.new(1, -62, 0, 16), BackgroundTransparency = 1, Font = Enum.Font.GothamMedium, TextSize = 11, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, Parent = frame, }) local box = mk("TextBox", { Size = UDim2.fromOffset(54, 16), Position = UDim2.new(1, -54, 0, 0), BackgroundColor3 = PANEL, BorderSizePixel = 0, Font = Enum.Font.GothamBold, TextSize = 11, TextColor3 = WHITE, ClearTextOnFocus = false, Parent = frame, }) stroke(box, GREY, 1) local bar = mk("Frame", { Size = UDim2.new(1, 0, 0, 6), Position = UDim2.fromOffset(0, 24), BackgroundColor3 = PANEL, BorderSizePixel = 0, Parent = frame, }) stroke(bar, GREY, 1) local fill = mk("Frame", { BackgroundColor3 = WHITE, BorderSizePixel = 0, Size = UDim2.fromScale(0, 1), Parent = bar, }) local hit = mk("TextButton", { Size = UDim2.new(1, 0, 0, 20), Position = UDim2.fromOffset(0, 16), BackgroundTransparency = 1, Text = "", Parent = frame, }) local function render() local v = cfg[key] label.Text = text .. ": " .. v box.Text = tostring(v) fill.Size = UDim2.fromScale((v - mn) / (mx - mn), 1) end local function setV(v) cfg[key] = math.clamp(math.floor(v + 0.5), mn, mx) render() end track(box.FocusLost:Connect(function() local n = tonumber(box.Text) if n then setV(n) end render() end)) local function setFromX(x) local rel = math.clamp((x - frame.AbsolutePosition.X) / frame.AbsoluteSize.X, 0, 1) setV(mn + rel * (mx - mn)) end track(hit.InputBegan:Connect(function(i) if isPointer(i) then sliding = setFromX setFromX(i.Position.X) end end)) table.insert(widgetRefresh, render) render() end track(UIS.InputChanged:Connect(function(i) if sliding and isMove(i) then sliding(i.Position.X) end if dragging and isMove(i) then local d = i.Position - dragging.start main.Position = UDim2.new( dragging.origin.X.Scale, dragging.origin.X.Offset + d.X, dragging.origin.Y.Scale, dragging.origin.Y.Offset + d.Y ) end end)) track(UIS.InputEnded:Connect(function(i) if isPointer(i) then sliding = nil dragging = nil end end)) track(title.InputBegan:Connect(function(i) if isPointer(i) then dragging = { start = i.Position, origin = main.Position } end end)) ------------------------------------------------------------------------------- -- pages ------------------------------------------------------------------------------- local pAim = pages.AIM section(pAim, "AIMBOT") toggle(pAim, "AIM", "Enabled") toggle(pAim, "SNIPER", "Sniper") meter(pAim, "FOV", "FOV") meter(pAim, "SMOOTH %", "SmoothPct") meter(pAim, "SNIPER SMOOTH %", "SniperSmoothPct") meter(pAim, "PREDICT ms", "PredictMs") cycle(pAim, "BONE", BONES, "Bone") section(pAim, "CHECKS") toggle(pAim, "TEAM CHECK", "TeamCheck") toggle(pAim, "SNIPER TEAM", "SniperTeamCheck") toggle(pAim, "WALL CHECK", "VisCheck") local targetLabel = mk("TextLabel", { Size = UDim2.new(1, 0, 0, 16), BackgroundTransparency = 1, Font = Enum.Font.GothamMedium, TextSize = 10, TextColor3 = GREY, TextXAlignment = Enum.TextXAlignment.Left, Text = "target: none", LayoutOrder = nextOrder(pAim), Parent = pAim, }) local pEsp = pages.ESP section(pEsp, "PLAYER ESP") toggle(pEsp, "ESP BOX", "EspBox") toggle(pEsp, "ESP LINE", "EspLine") toggle(pEsp, "ESP NAME + DIST", "EspName") toggle(pEsp, "ESP HEALTH", "EspHealth") meter(pEsp, "ESP RANGE", "EspRange") local pMisc = pages.MISC section(pMisc, "OVERLAY") toggle(pMisc, "SHOW FOV", "ShowFOV") section(pMisc, "TRIGGERBOT") toggle(pMisc, "TRIGGERBOT", "TriggerBot") toggle(pMisc, "HEAD ONLY", "TrigHeadOnly") meter(pMisc, "TRIG DELAY ms", "TriggerDelay") section(pMisc, "RESET") makeButton(pMisc, "RESET DEFAULTS", function() resetConfig() end) local pBinds = pages.BINDS section(pBinds, "HOTKEYS (click, then press a key)") keybind(pBinds, "MENU", "menu") keybind(pBinds, "AIM TOGGLE", "toggle") keybind(pBinds, "SNIPER", "sniper") keybind(pBinds, "TRIGGERBOT", "trigger") keybind(pBinds, "MARK TEAMMATE", "mark") keybind(pBinds, "CLEAR MARKS", "clear") showTab("AIM") ------------------------------------------------------------------------------- -- window collapse / close ------------------------------------------------------------------------------- local collapsed = false track(minBtn.MouseButton1Click:Connect(function() collapsed = not collapsed tabRow.Visible = not collapsed body.Visible = not collapsed divider.Visible = not collapsed main.Size = UDim2.fromOffset(WIN_W, collapsed and HEAD_H or WIN_H) minBtn.Text = collapsed and "+" or "-" end)) local function unload() if unloaded then return end unloaded = true RunService:UnbindFromRenderStep(BIND_CAM) RunService:UnbindFromRenderStep(BIND_ESP) RunService:UnbindFromRenderStep(BIND_TRIG) for _, c in ipairs(conns) do c:Disconnect() end table.clear(conns) for p in pairs(espObjs) do dropEsp(p) end ringGui:Destroy() espGui:Destroy() gui:Destroy() end track(closeBtn.MouseButton1Click:Connect(unload)) ------------------------------------------------------------------------------- -- actions + hotkey dispatch ------------------------------------------------------------------------------- local actions = { menu = function() main.Visible = not main.Visible end, toggle = function() cfg.Enabled = not cfg.Enabled refreshAll() end, sniper = function() cfg.Sniper = not cfg.Sniper refreshAll() end, trigger = function() cfg.TriggerBot = not cfg.TriggerBot refreshAll() end, mark = markTarget, clear = function() table.clear(Ignored) end, } track(UIS.InputBegan:Connect(function(i, gp) if capturing then if i.UserInputType == Enum.UserInputType.Keyboard then if i.KeyCode ~= Enum.KeyCode.Escape then binds[capturing] = i.KeyCode end capturing = nil refreshAll() end return end if gp then return end if i.UserInputType ~= Enum.UserInputType.Keyboard then return end for name, key in pairs(binds) do if i.KeyCode == key then local fn = actions[name] if fn then fn() end break end end end)) ------------------------------------------------------------------------------- -- aim loop ------------------------------------------------------------------------------- local lastTargetName = nil RunService:BindToRenderStep(BIND_CAM, Enum.RenderPriority.Camera.Value + 1, function(dt) local cam = workspace.CurrentCamera if not cam then return end local mouse = UIS:GetMouseLocation() local sniper = cfg.Sniper ring.Position = UDim2.fromOffset(mouse.X, mouse.Y) ring.Size = UDim2.fromOffset(cfg.FOV * 2, cfg.FOV * 2) ring.Visible = cfg.ShowFOV and cfg.Enabled and not sniper if not cfg.Enabled then lockedPlayer, lockedPart = nil, nil if lastTargetName ~= nil then targetLabel.Text = "target: none" lastTargetName = nil end return end -- re-pick every frame: the closest enemy to the mouse wins, so aim moves between players lockedPlayer, lockedPart = nil, nil beginFrame() local bestD = math.huge for _, p in ipairs(Players:GetPlayers()) do local d, part = scoreTarget(p, mouse, cam, sniper) if d and d < bestD then bestD = d lockedPlayer, lockedPart = p, part end end local name = lockedPlayer and lockedPlayer.Name or nil if name ~= lastTargetName then lastTargetName = name targetLabel.Text = "target: " .. (name or "none") end if not lockedPart then return end local goal = CFrame.lookAt(cam.CFrame.Position, aimPos(lockedPart)) local angle = cam.CFrame.LookVector:Angle(goal.LookVector) if angle < math.rad(0.2) then return end if angle < math.rad(1.5) then cam.CFrame = goal return end local pct = (sniper and cfg.SniperSmoothPct or cfg.SmoothPct) / 100 local alpha = 1 - math.pow(1 - pct, dt * 60) local maxStep = sniper and math.rad(4) or math.rad(8) alpha = math.min(alpha, maxStep / math.max(angle, 1e-6)) cam.CFrame = cam.CFrame:Lerp(goal, alpha) end) ------------------------------------------------------------------------------- -- esp loop ------------------------------------------------------------------------------- RunService:BindToRenderStep(BIND_ESP, Enum.RenderPriority.Camera.Value + 2, function() local cam = workspace.CurrentCamera if not cam then return end updateEsp(cam) end) ------------------------------------------------------------------------------- -- triggerbot ------------------------------------------------------------------------------- local function crosshairOnEnemy(cam) local origin = cam.CFrame.Position local dir = cam.CFrame.LookVector * 1000 local localChar = LP.Character trigParams.FilterDescendantsInstances = localChar and { localChar } or {} local hit = workspace:Raycast(origin, dir, trigParams) if not hit then return false end local model = hit.Instance:FindFirstAncestorOfClass("Model") if not model then return false end local p = Players:GetPlayerFromCharacter(model) if not p or p == LP or Ignored[p.UserId] then return false end if cfg.TrigHeadOnly and hit.Instance.Name ~= "Head" then return false end local hum = model:FindFirstChildOfClass("Humanoid") if not hum or hum.Health <= 0 then return false end return isEnemy(p, cfg.Sniper) end RunService:BindToRenderStep(BIND_TRIG, Enum.RenderPriority.Camera.Value + 3, function() if not cfg.Enabled or not cfg.TriggerBot then trigReady = 0 return end local cam = workspace.CurrentCamera if not cam then return end if crosshairOnEnemy(cam) then local now = os.clock() if trigReady == 0 then trigReady = now + cfg.TriggerDelay / 1000 elseif now >= trigReady then if mouse1press and mouse1release then mouse1press() task.delay(0.02, mouse1release) end trigReady = now + 0.05 end else trigReady = 0 end end)