-- [[ 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 ]] --!nocheck -- Tactical FP (place 72746154142907) — team ESP + humanized aim assist -- Server-side anti-cheat: no client hook surface. Nothing here hooks or fires remotes. local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local CFG = { -- ESP ESP_KEY = Enum.KeyCode.RightShift, SHOW_TEAMMATES = false, SHOW_BOTS = true, BOX = true, BOX_FILL = true, CHAMS = true, -- Highlight instance, renders through geometry NAMES = true, HEALTH = true, DISTANCE = true, WEAPON = true, TRACERS = false, MAX_DISTANCE = 900, -- Aim AIM_KEY = Enum.KeyCode.LeftAlt, -- hold TRIGGERBOT = false, -- off by default: fire-rate + hit-rate flags AIM_FOV = 120, AIM_PART = "Torso", -- "Torso" | "Head" | "Auto" HEAD_CHANCE = 0.22, -- keeps head-share under the 0.75 flag line MAX_DEG_PER_SEC = 55, -- AC flags ~30deg snaps in 0.35s SMOOTHING = 0.55, JITTER_DEG = 0.9, -- defeats frozen-aim / perfect-lock scoring MISS_CHANCE = 0.14, -- keeps hit-rate under the 0.90 flag line MISS_DEG = 6, REACTION_MIN = 0.13, REACTION_MAX = 0.26, TRIGGER_DEG = 1.8, TRIGGER_DELAY_MIN = 0.11, TRIGGER_DELAY_MAX = 0.23, } local TEAM_COLOR = { Red = Color3.fromRGB(255, 62, 62), Blue = Color3.fromRGB(64, 140, 255), } local ESP_COLOR = Color3.fromRGB(255, 70, 70) local state = { esp = true, aimHeld = false, aimTarget = nil, aimSince = 0, lastHuman = 0, missUntil = 0, objs = {}, highlights = {}, conns = {}, boxes = {}, } local function addConn(c) table.insert(state.conns, c) return c end local function enemyColor(team) return TEAM_COLOR[team] or ESP_COLOR end local function myTeam() return LocalPlayer:GetAttribute("TF_Team") end local function inMatch(plr) return plr:GetAttribute("TF_InMatch") == true end local function isEnemy(plr) if plr == LocalPlayer then return false end local t = plr:GetAttribute("TF_Team") local mine = myTeam() if not t or t == "" then return false end if CFG.SHOW_TEAMMATES then return true end return mine ~= nil and t ~= mine end local function aliveChar(plr) local ch = plr.Character if not ch then return nil end local hum = ch:FindFirstChildOfClass("Humanoid") if not hum or hum.Health <= 0 then return nil end local hrp = ch:FindFirstChild("HumanoidRootPart") if not hrp then return nil end return ch, hum, hrp end local function weaponName(ch) local gun = ch:FindFirstChild("TF_Gun") if not gun then return "" end for _, v in ipairs(gun:GetChildren()) do if v:IsA("Model") or v:IsA("Tool") then return v.Name end end local a = gun:GetAttribute("TF_Weapon") if type(a) == "string" then return a end return "" end local function project(p) local sp, onScreen = Camera:WorldToViewportPoint(p) if not onScreen then return nil end return Vector2.new(sp.X, sp.Y) end local function boundingBox(ch) local ok, cf, size = pcall(function() local c, s = ch:GetBoundingBox() return c, s end) if not ok or not cf then return nil end local minX, minY = math.huge, math.huge local maxX, maxY = -math.huge, -math.huge for i = 0, 7 do local sx = (i % 2 == 0) and -0.5 or 0.5 local sy = (math.floor(i / 2) % 2 == 0) and -0.5 or 0.5 local sz = (math.floor(i / 4) % 2 == 0) and -0.5 or 0.5 local p = cf * Vector3.new(sx * size.X, sy * size.Y, sz * size.Z) local v = project(p) if v then minX = math.min(minX, v.X) minY = math.min(minY, v.Y) maxX = math.max(maxX, v.X) maxY = math.max(maxY, v.Y) end end if minX == math.huge then return nil end if maxX - minX < 2 or maxY - minY < 2 then return nil end return minX, minY, maxX, maxY end -- ESP ------------------------------------------------------------------------- local function newObj(class, props) local d = Drawing.new(class) for k, v in pairs(props) do d[k] = v end table.insert(state.objs, d) return d end local function poolFor(plr) local p = state.boxes[plr] if p then return p end p = { box = newObj("Square", { Thickness = 1, Filled = false, Visible = false }), fill = newObj("Square", { Thickness = 0, Filled = true, Transparency = 0.82, Visible = false }), name = newObj("Text", { Size = 14, Center = true, Outline = true, Visible = false }), dist = newObj("Text", { Size = 12, Center = true, Outline = true, Visible = false }), wep = newObj("Text", { Size = 11, Center = true, Outline = true, Visible = false }), hpBg = newObj("Square", { Thickness = 0, Filled = true, Transparency = 0.35, Visible = false }), hp = newObj("Square", { Thickness = 0, Filled = true, Visible = false }), tracer = newObj("Line", { Thickness = 1, Transparency = 0.35, Visible = false }), } state.boxes[plr] = p return p end local function hidePool(p) for _, o in pairs(p) do o.Visible = false end end local function highlightFor(ch, color) local h = state.highlights[ch] if not h or h.Parent ~= ch then if h then h:Destroy() end h = Instance.new("Highlight") h.Name = "TF_LocalChams" h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop h.FillColor = color h.FillTransparency = 0.45 h.OutlineColor = color h.OutlineTransparency = 0 h.Parent = ch state.highlights[ch] = h end h.FillColor = color h.OutlineColor = color h.Enabled = true return h end local function drawESP() for _, plr in ipairs(Players:GetPlayers()) do local p = poolFor(plr) local ch, hum, hrp = aliveChar(plr) local dist = hrp and (hrp.Position - Camera.CFrame.Position).Magnitude or 0 local show = state.esp and ch and isEnemy(plr) and inMatch(plr) if show and dist > CFG.MAX_DISTANCE then show = false end if not show then hidePool(p) local h = state.highlights[ch or plr] if h then h.Enabled = false end else local x1, y1, x2, y2 = boundingBox(ch) if not x1 then hidePool(p) else local col = enemyColor(plr:GetAttribute("TF_Team")) local w, hgt = x2 - x1, y2 - y1 local pos = Vector2.new(x1, y1) local size = Vector2.new(w, hgt) if CFG.BOX then p.box.Visible = true p.box.Position = pos p.box.Size = size p.box.Color = col else p.box.Visible = false end if CFG.BOX_FILL then p.fill.Visible = true p.fill.Position = pos p.fill.Size = size p.fill.Color = col else p.fill.Visible = false end if CFG.NAMES then p.name.Visible = true p.name.Text = plr.Name p.name.Color = col p.name.Position = Vector2.new(x1 + w * 0.5, y1 - 16) else p.name.Visible = false end if CFG.DISTANCE then p.dist.Visible = true p.dist.Text = string.format("%d m", math.floor(dist)) p.dist.Color = Color3.fromRGB(235, 235, 235) p.dist.Position = Vector2.new(x1 + w * 0.5, y2 + 2) else p.dist.Visible = false end if CFG.WEAPON then local wn = weaponName(ch) p.wep.Visible = wn ~= "" p.wep.Text = wn p.wep.Color = Color3.fromRGB(210, 210, 210) p.wep.Position = Vector2.new(x1 + w * 0.5, y2 + 16) else p.wep.Visible = false end if CFG.HEALTH and hum then local frac = math.clamp(hum.Health / math.max(hum.MaxHealth, 1), 0, 1) local barW, barH = 3, hgt p.hpBg.Visible = true p.hpBg.Position = Vector2.new(x1 - barW - 4, y1) p.hpBg.Size = Vector2.new(barW, barH) p.hpBg.Color = Color3.fromRGB(0, 0, 0) p.hp.Visible = true p.hp.Color = Color3.fromRGB(90, 220, 90):Lerp(Color3.fromRGB(230, 60, 60), 1 - frac) p.hp.Size = Vector2.new(barW, barH * frac) p.hp.Position = Vector2.new(x1 - barW - 4, y1 + barH * (1 - frac)) else p.hpBg.Visible = false p.hp.Visible = false end if CFG.CHAMS then highlightFor(ch, col) else local hh = state.highlights[ch] if hh then hh.Enabled = false end end if CFG.TRACERS then p.tracer.Visible = true p.tracer.From = Vector2.new(Camera.ViewportSize.X * 0.5, Camera.ViewportSize.Y) p.tracer.To = Vector2.new(x1 + w * 0.5, y1) p.tracer.Color = col else p.tracer.Visible = false end end end end end -- Aim ------------------------------------------------------------------------- local rayParams = RaycastParams.new() rayParams.FilterType = Enum.RaycastFilterType.Exclude local function visible(origin, point, ch) rayParams.FilterDescendantsInstances = { LocalPlayer.Character, ch } local dir = point - origin local hit = Workspace:Raycast(origin, dir, rayParams) if not hit then return true end return hit.Instance:IsDescendantOf(ch) end local function aimPoint(ch, hum) local head = ch:FindFirstChild("Head") local torso = ch:FindFirstChild("UpperTorso") or ch:FindFirstChild("Torso") local part = CFG.AIM_PART if part == "Head" then return head and head.Position end if part == "Auto" then if head and math.random() < CFG.HEAD_CHANCE then return head.Position end return torso and torso.Position or (head and head.Position) end return torso and torso.Position or (head and head.Position) end local function pickTarget() local origin = Camera.CFrame.Position local center = Vector2.new(Camera.ViewportSize.X * 0.5, Camera.ViewportSize.Y * 0.5) local best, bestScore = nil, math.huge for _, plr in ipairs(Players:GetPlayers()) do local ch, hum, hrp = aliveChar(plr) if ch and isEnemy(plr) and inMatch(plr) then local p = aimPoint(ch, hum) if p then local sp = project(p) if sp then local d = (sp - center).Magnitude local worldDist = (hrp.Position - origin).Magnitude if d <= CFG.AIM_FOV and worldDist <= CFG.MAX_DISTANCE and visible(origin, p, ch) then local score = d + worldDist * 0.05 if score < bestScore then best, bestScore = plr, score end end end end end end return best end local function rotateToward(point, dt) local origin = Camera.CFrame.Position local to = point - origin if to.Magnitude < 1 then return end local cur = Camera.CFrame local want = CFrame.lookAt(origin, point) local ang = math.deg(math.acos(math.clamp(cur.LookVector:Dot(want.LookVector), -1, 1))) if ang < 0.02 then return end local step = math.min(ang, CFG.MAX_DEG_PER_SEC * dt) * CFG.SMOOTHING local dir = cur.LookVector:Lerp(want.LookVector, step / ang).Unit local j = math.rad(CFG.JITTER_DEG) local jitter = CFrame.Angles((math.random() - 0.5) * j, (math.random() - 0.5) * j, 0) dir = (CFrame.new(Vector3.zero, dir) * jitter).LookVector Camera.CFrame = CFrame.lookAt(origin, origin + dir) end local function aimStep(dt) if not state.aimHeld or not state.esp then return end local now = os.clock() local target = state.aimTarget if target then local ch = aliveChar(target) if not ch or not isEnemy(target) or not inMatch(target) then target = nil end end if not target then target = pickTarget() state.aimTarget = target state.aimSince = now + (CFG.REACTION_MIN + math.random() * (CFG.REACTION_MAX - CFG.REACTION_MIN)) end if not target then return end if now < state.aimSince then return end local ch, hum = aliveChar(target) if not ch then return end local p = aimPoint(ch, hum) if not p then return end if now < state.missUntil then -- deliberate overshoot keeps hit-rate under the flag line p = p + Vector3.new((math.random() - 0.5), (math.random() - 0.5), (math.random() - 0.5)) * CFG.MISS_DEG end rotateToward(p, dt) -- firing stays on the player's own mouse; the aim only steers if math.random() < CFG.MISS_CHANCE then state.missUntil = math.max(state.missUntil, now + 0.35) end end -- HUD ------------------------------------------------------------------------- local hud = newObj("Text", { Size = 14, Outline = true, Color = Color3.fromRGB(255, 255, 255), Position = Vector2.new(16, 60), Visible = true }) local fovCircle = newObj("Circle", { Thickness = 1, Filled = false, Transparency = 0.75, Color = Color3.fromRGB(255, 255, 255), Visible = false }) local function drawHud() hud.Text = string.format("[TF] ESP %s | Aim %s | %s", state.esp and "ON" or "OFF", CFG.AIM_KEY.Name, myTeam() or "?") hud.Color = state.esp and Color3.fromRGB(120, 255, 120) or Color3.fromRGB(255, 120, 120) fovCircle.Position = Vector2.new(Camera.ViewportSize.X * 0.5, Camera.ViewportSize.Y * 0.5) fovCircle.Radius = CFG.AIM_FOV fovCircle.Visible = state.esp and state.aimHeld end -- Input ----------------------------------------------------------------------- addConn(UserInputService.InputBegan:Connect(function(input, gp) if gp then return end if input.KeyCode == CFG.ESP_KEY then state.esp = not state.esp if not state.esp then for _, p in pairs(state.boxes) do hidePool(p) end for _, h in pairs(state.highlights) do h.Enabled = false end end end if input.UserInputType == Enum.UserInputType.MouseButton2 or input.KeyCode == CFG.AIM_KEY then state.aimHeld = true state.aimTarget = nil end end)) addConn(UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton2 or input.KeyCode == CFG.AIM_KEY then state.aimHeld = false state.aimTarget = nil end end)) addConn(Players.PlayerRemoving:Connect(function(plr) local p = state.boxes[plr] if p then for _, o in pairs(p) do o:Remove() end state.boxes[plr] = nil end end)) -- Loop ------------------------------------------------------------------------ local renderName = "Aim?" RunService:UnbindFromRenderStep(renderName) RunService:BindToRenderStep(renderName, Enum.RenderPriority.Camera.Value + 10, function(dt) Camera = Workspace.CurrentCamera if not Camera then return end local ok, err = pcall(function() drawESP() aimStep(dt) drawHud() end) if not ok then warn("[TF] " .. tostring(err)) end end) local function teardown() pcall(function() RunService:UnbindFromRenderStep(renderName) end) for _, c in ipairs(state.conns) do pcall(function() c:Disconnect() end) end for _, o in ipairs(state.objs) do pcall(function() o:Remove() end) end for _, h in pairs(state.highlights) do pcall(function() h:Destroy() end) end table.clear(state.objs) table.clear(state.boxes) table.clear(state.highlights) table.clear(state.conns) end if STATE and STATE.onCleanup then STATE.onCleanup(teardown) end