-- [[ 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 ]] --[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6b0fdd503b05059c889720fc"))() end) end) --[[rscripts:analytics:end]] local genv = getgenv() if type(genv.__ttk_esp_unload) == "function" then pcall(genv.__ttk_esp_unload) end local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Modules = ReplicatedStorage:WaitForChild("Modules") local FriendlyFire = require(Modules.Shared.Combat.FriendlyFire) local Hostility = require(Modules.Shared.Combat.Hostility) local OperatorPresenter = require(Modules.Client.Character.OperatorPresenter) local okAgent, AgentManager = pcall(require, Modules.Client.Controllers.AgentManager) local okZombie, ZombieHitClaim = pcall(require, Modules.Client.Controllers.ZombieHitClaim) local LocalPlayer = Players.LocalPlayer local Config = { Enabled = true, TeamCheck = true, ShowPlayers = true, ShowBots = true, ShowZombies = true, ShowChams = true, ShowLabels = true, MaxDistance = 1200, EnemyFillColor = Color3.fromRGB(255, 65, 65), EnemyOutlineColor = Color3.fromRGB(255, 220, 220), BotFillColor = Color3.fromRGB(255, 165, 45), BotOutlineColor = Color3.fromRGB(255, 240, 200), ZombieFillColor = Color3.fromRGB(90, 255, 120), ZombieOutlineColor = Color3.fromRGB(220, 255, 225), FillTransparency = 0.65, OutlineTransparency = 0.1, ToggleKey = Enum.KeyCode.F5 } genv.TTK_ESP = Config local uiRoot = LocalPlayer:WaitForChild("PlayerGui") local espFolder = Instance.new("ScreenGui") espFolder.Name = "HudTagLayer" espFolder.ResetOnSpawn = false espFolder.Enabled = true espFolder.Parent = uiRoot local entries = {} local anchorCache = setmetatable({}, { __mode = "k" }) local function getAnchorPart(rig) if not rig then return nil end local cached = anchorCache[rig] if cached and cached:IsDescendantOf(rig) then return cached end local head = rig:FindFirstChild("Head") if head and head:IsA("BasePart") then anchorCache[rig] = head return head end for _, desc in rig:GetDescendants() do if desc:IsA("BasePart") and desc:GetAttribute("MercBodyPart") == "Head" then anchorCache[rig] = desc return desc end end local hrp = rig:FindFirstChild("HumanoidRootPart") or rig.PrimaryPart if hrp and hrp:IsA("BasePart") then anchorCache[rig] = hrp return hrp end local any = rig:FindFirstChildWhichIsA("BasePart", true) if any then anchorCache[rig] = any end return any end local zombieModels = {} for _, child in workspace:GetChildren() do if child:IsA("Model") and typeof(child:GetAttribute("ZombieId")) == "number" then zombieModels[child] = true end end local wsAddedConn = workspace.ChildAdded:Connect(function(child) if child:IsA("Model") and typeof(child:GetAttribute("ZombieId")) == "number" then zombieModels[child] = true end end) local wsRemovedConn = workspace.ChildRemoved:Connect(function(child) zombieModels[child] = nil end) local function createVisuals(rig) local hl = Instance.new("Highlight") hl.Name = "TTK_HL" hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop hl.Adornee = rig hl.Enabled = false hl.Parent = espFolder local bb = Instance.new("BillboardGui") bb.Name = "TTK_BB" bb.AlwaysOnTop = true bb.Size = UDim2.fromOffset(180, 36) bb.StudsOffsetWorldSpace = Vector3.new(0, 2.4, 0) bb.MaxDistance = Config.MaxDistance bb.Enabled = false bb.Parent = espFolder local lbl = Instance.new("TextLabel") lbl.Size = UDim2.fromScale(1, 1) lbl.BackgroundTransparency = 1 lbl.Font = Enum.Font.GothamBold lbl.TextSize = 13 lbl.TextColor3 = Color3.new(1, 1, 1) lbl.Text = "" lbl.Parent = bb local stroke = Instance.new("UIStroke") stroke.Thickness = 1.5 stroke.Color = Color3.new(0, 0, 0) stroke.Parent = lbl return { hl = hl, bb = bb, lbl = lbl } end local function destroyVisuals(item) if not item then return end pcall(function() item.hl:Destroy() end) pcall(function() item.bb:Destroy() end) end local function collectTargets() local active = {} local myTeam = Hostility.TeamOfPlayer(LocalPlayer) local mercPlayers = workspace:FindFirstChild("MercPlayers") if Config.ShowPlayers then for _, player in Players:GetPlayers() do if player ~= LocalPlayer then local skip = Config.TeamCheck and not FriendlyFire.Affects("Damage", LocalPlayer, player) local char = not skip and player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if not hum or hum.Health <= 0 then skip = true end if not skip then local rig = OperatorPresenter.RigOf(player) if not rig and mercPlayers then for _, child in mercPlayers:GetChildren() do if child:IsA("Model") and child:GetAttribute("OwnerUserId") == player.UserId and child:GetAttribute("Dead") ~= true and OperatorPresenter.IsLiveBody(child) then rig = child break end end end if rig and rig:IsDescendantOf(workspace) then active[rig] = { label = player.Name, hp = math.floor(hum.Health + 0.5), fill = Config.EnemyFillColor, outline = Config.EnemyOutlineColor } end end end end end if Config.ShowBots and mercPlayers then for _, child in mercPlayers:GetChildren() do if child:IsA("Model") and not active[child] and child:GetAttribute("Dead") ~= true and OperatorPresenter.IsLiveBody(child) then local ownerId = child:GetAttribute("OwnerUserId") if typeof(ownerId) == "number" and ownerId ~= LocalPlayer.UserId and Players:GetPlayerByUserId(ownerId) == nil then local hostile = (not Config.TeamCheck) or Hostility.AreTeamsHostile(myTeam, Hostility.TeamOfInstance(child)) if hostile then active[child] = { label = child.Name, hp = nil, fill = Config.BotFillColor, outline = Config.BotOutlineColor } end end end end end if Config.ShowBots and okAgent and type(AgentManager) == "table" and type(AgentManager.AllAgents) == "function" then for _, agent in AgentManager.AllAgents() do local rig = agent._char2 if rig and rig:IsDescendantOf(workspace) and not agent._dead and not active[rig] and rig:GetAttribute("Dead") ~= true then local hostile = (not Config.TeamCheck) or Hostility.AreTeamsHostile(myTeam, Hostility.TeamOfInstance(rig)) if hostile then active[rig] = { label = rig.Name, hp = nil, fill = Config.BotFillColor, outline = Config.BotOutlineColor } end end end end if Config.ShowZombies and okZombie and type(ZombieHitClaim) == "table" and type(ZombieHitClaim.LiveRig) == "function" then for child in zombieModels do if child:IsDescendantOf(workspace) and not active[child] then local anchor = getAnchorPart(child) if anchor and ZombieHitClaim.LiveRig(anchor) then local hum = child:FindFirstChildOfClass("Humanoid") active[child] = { label = "Zombie", hp = hum and math.floor(hum.Health + 0.5) or nil, fill = Config.ZombieFillColor, outline = Config.ZombieOutlineColor } end else zombieModels[child] = nil end end end return active end local running = true local lastUpdate = 0 task.spawn(function() while running do RunService.RenderStepped:Wait() if not running then break end local now = os.clock() if now - lastUpdate >= 0.05 then lastUpdate = now if not Config.Enabled then for rig, item in entries do if not rig:IsDescendantOf(workspace) then destroyVisuals(item) entries[rig] = nil else item.hl.Enabled = false item.bb.Enabled = false end end else local cam = workspace.CurrentCamera local camPos = cam and cam.CFrame.Position local active = collectTargets() for rig, item in entries do if not active[rig] or not rig:IsDescendantOf(workspace) then destroyVisuals(item) entries[rig] = nil end end for rig, info in active do local item = entries[rig] if not item then item = createVisuals(rig) entries[rig] = item end local anchor = getAnchorPart(rig) local dist = if camPos and anchor then (anchor.Position - camPos).Magnitude else 0 local inRange = dist <= Config.MaxDistance item.hl.Adornee = rig item.hl.FillColor = info.fill item.hl.OutlineColor = info.outline item.hl.FillTransparency = Config.FillTransparency item.hl.OutlineTransparency = Config.OutlineTransparency item.hl.Enabled = Config.ShowChams and inRange if Config.ShowLabels and anchor and inRange then item.bb.Adornee = anchor item.bb.MaxDistance = Config.MaxDistance if info.hp then item.lbl.Text = string.format("%s [%dm | %d HP]", info.label, math.floor(dist + 0.5), info.hp) else item.lbl.Text = string.format("%s [%dm]", info.label, math.floor(dist + 0.5)) end item.lbl.TextColor3 = info.outline item.bb.Enabled = true else item.bb.Enabled = false end end end end end end) local inputConn = UserInputService.InputBegan:Connect(function(input, processed) if processed then return end if input.KeyCode == Config.ToggleKey then Config.Enabled = not Config.Enabled end end) genv.__ttk_esp_unload = function() running = false if wsAddedConn then pcall(function() wsAddedConn:Disconnect() end) wsAddedConn = nil end if wsRemovedConn then pcall(function() wsRemovedConn:Disconnect() end) wsRemovedConn = nil end if inputConn then pcall(function() inputConn:Disconnect() end) inputConn = nil end for rig, item in entries do destroyVisuals(item) entries[rig] = nil end if espFolder then pcall(function() espFolder:Destroy() end) espFolder = nil end genv.__ttk_esp_unload = nil end