local v0=game:GetService("Players");local v1=game:GetService("RunService");local v2=game:GetService("UserInputService");local v3={ToggleKey=Enum.KeyCode.X,FillTransparency=619.6 -(529 + 90) ,OutlineTransparency=1817 -(1703 + 114) ,HealthOffset=Vector3.new(701 -(376 + 325) ,4.2 -1 ,0 -0 ),ItemBaseOffset=Vector3.new(0 + 0 ,4.4,0 -0 ),ItemRowSpacing=15.15 -(9 + 5) ,FlashDuration=376.18 -(85 + 291) ,FlashColor=Color3.fromRGB(1520 -(243 + 1022) ,114 -84 ,25 + 5 ),HealthGuiSize=UDim2.new(0 + 0 ,1310 -(1123 + 57) ,0,1000 -(18 + 964) ),ItemGuiSize=UDim2.new(0 + 0 ,122 + 88 ,0 + 0 ,268 -(163 + 91) ),HealthFontSize=1943 -(1869 + 61) ,ItemFontSize=4 + 8 };local v4=true;local v5=v0.LocalPlayer;local v6={};local v7={};local v8=12 + 138 ;local function v9(v24,v25) local v26=0 -0 ;local v27;while true do if (v26==0) then if (v25>v8) then local v204=0 -0 ;local v205;while true do if (v204==(738 -(542 + 196))) then v205=math.clamp(v24/math.max(v25,1 + 0 ) ,0 -0 ,1 + 0 );return Color3.fromRGB(math.floor((1634 -(1329 + 145)) * (1 -v205) ),math.floor((1171 -(140 + 831)) * v205 ),92 + 163 );end end end v27=math.clamp(v24/math.max(v25,1851 -(1409 + 441) ) ,718 -(15 + 703) ,1 + 0 );v26=2 -1 ;end if (v26==(439 -(262 + 176))) then return Color3.fromRGB(math.floor((1976 -(345 + 1376)) * ((689 -(198 + 490)) -v27) ),math.floor((1126 -871) * v27 ),0 -0 );end end end local function v10(v28,v29) local v30=1206 -(696 + 510) ;local v31;local v32;local v33;while true do if (v30==(5 -2)) then return v32;end if (v30==(1123 -(118 + 1003))) then if v33 then for v209,v210 in ipairs(v33:GetChildren()) do if (v210:IsA("Tool") and not v31[v210.Name]) then local v229=1262 -(1091 + 171) ;while true do if (v229==(377 -(142 + 235))) then v31[v210.Name]=true;table.insert(v32,"🎒 " .. v210.Name );break;end end end end end if ( #v32==(0 + 0)) then return {"🎒 Empty"};end v30=9 -6 ;end if (v30==(375 -(123 + 251))) then if v29 then for v211,v212 in ipairs(v29:GetChildren()) do if (v212:IsA("Tool") and not v31[v212.Name]) then v31[v212.Name]=true;table.insert(v32,"⚔ " .. v212.Name .. " [equipped]" );end end end v33=v28:FindFirstChildOfClass("Backpack");v30=2;end if (v30==(0 + 0)) then v31={};v32={};v30=4 -3 ;end end end local function v11(v34,v35,v36,v37,v38) local v39=698 -(208 + 490) ;local v40;local v41;while true do if ((2 + 1)==v39) then v41.TextStrokeTransparency=0.35 + 0 ;v41.Font=Enum.Font.GothamBold;v41.TextSize=v38;v41.TextXAlignment=Enum.TextXAlignment.Center;v39=3 + 1 ;end if (v39==(1 + 0)) then v40.StudsOffset=v35;v40.Enabled=v4;v41=Instance.new("TextLabel",v40);v41.Name="Label";v39=1 + 1 ;end if ((840 -(660 + 176))==v39) then v41.Text="";return v40,v41;end if (v39==(1 + 1)) then v41.Size=UDim2.new(203 -(14 + 188) ,0 -0 ,676 -(534 + 141) ,0 + 0 );v41.BackgroundTransparency=1 + 0 ;v41.TextColor3=v37;v41.TextStrokeColor3=Color3.new(0,0,0);v39=3;end if (v39==(1329 -(797 + 532))) then v40=Instance.new("BillboardGui");v40.Name=v34;v40.AlwaysOnTop=true;v40.Size=v36;v39=1;end end end local function v12(v42) for v98,v99 in ipairs(v42.itemBillboards or {} ) do if (v99 and v99.Parent) then v99:Destroy();end end v42.itemBillboards={};v42.itemLabels={};end local function v13(v45,v46,v47) v12(v46);local v48=v47 and v47:FindFirstChild("HumanoidRootPart") ;if not v48 then return;end local v49=v10(v45,v47);for v100,v101 in ipairs(v49) do local v102=0 + 0 ;local v103;local v104;local v105;local v106;while true do if (v102==(2 + 1)) then v106.Text=v101;table.insert(v46.itemBillboards,v105);v102=9 -5 ;end if (v102==(4 + 0)) then table.insert(v46.itemLabels,v106);break;end if (v102==(0 -0)) then v103=v3.ItemBaseOffset.Y + ((v100-(1 -0)) * v3.ItemRowSpacing) ;v104=Vector3.new(v3.ItemBaseOffset.X,v103,v3.ItemBaseOffset.Z);v102=2 -1 ;end if (v102==(2 + 0)) then v105.Enabled=v4;v105.Parent=v48;v102=2 + 1 ;end if (v102==(397 -(115 + 281))) then v105,v106=v11("ESP_ItemBB_" .. v100 ,v104,v3.ItemGuiSize,Color3.fromRGB(593 -338 ,179 + 36 ,9 + 51 ),v3.ItemFontSize);v105.Adornee=v48;v102=4 -2 ;end end end end local function v14(v50) local v51=0;while true do if (v51==(3 -2)) then for v187,v188 in ipairs(v50.itemBillboards) do v188.Enabled=false;end break;end if ((867 -(550 + 317))==v51) then if v50.highlight then v50.highlight.Enabled=false;end if v50.healthBillboard then v50.healthBillboard.Enabled=false;end v51=1 -0 ;end end end local function v15(v52) if not v4 then return;end if v52.highlight then v52.highlight.Enabled=true;end if v52.healthBillboard then v52.healthBillboard.Enabled=true;end for v107,v108 in ipairs(v52.itemBillboards) do v108.Enabled=true;end end local function v16(v53) if (v53==v5) then return;end if v6[v53] then return;end local v54={highlight=nil,healthBillboard=nil,healthLabel=nil,itemBillboards={},itemLabels={},lastHealth=nil,flashing=false,connections={},charConnections={}};v6[v53]=v54;local function v56(v110) for v142,v143 in ipairs(v54.charConnections) do v143:Disconnect();end v54.charConnections={};if (v54.highlight and v54.highlight.Parent) then v54.highlight:Destroy();end if (v54.healthBillboard and v54.healthBillboard.Parent) then v54.healthBillboard:Destroy();end v12(v54);local v112=v110:WaitForChild("HumanoidRootPart",8 -2 );local v113=v110:WaitForChild("Humanoid",16 -10 );if ( not v112 or not v113) then return;end local v114=Instance.new("Highlight");v114.Name="ESP_Highlight";v114.Adornee=v110;v114.FillTransparency=v3.FillTransparency;v114.OutlineTransparency=v3.OutlineTransparency;v114.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop;v114.Enabled=v4;v114.Parent=v110;v54.highlight=v114;local v126,v127=v11("ESP_HealthBB",v3.HealthOffset,v3.HealthGuiSize,Color3.new(1 + 0 ,286 -(134 + 151) ,1666 -(970 + 695) ),v3.HealthFontSize);v126.Adornee=v112;v126.Enabled=v4;v126.Parent=v112;v54.healthBillboard=v126;v54.healthLabel=v127;local v133=v9(v113.Health,v113.MaxHealth);v114.FillColor=v133;v114.OutlineColor=v133;v127.TextColor3=v133;v54.lastHealth=v113.Health;v13(v53,v54,v110);table.insert(v54.charConnections,v113.HealthChanged:Connect(function(v144) if not v4 then return;end local v145=v9(v144,v113.MaxHealth);local v146=v144<(v54.lastHealth or v144) ;if (v146 and not v54.flashing) then local v190=1504 -(363 + 1141) ;while true do if (v190==(1580 -(1183 + 397))) then v54.flashing=true;v114.FillColor=v3.FlashColor;v190=1 -0 ;end if (v190==(1 + 0)) then v114.OutlineColor=v3.FlashColor;v127.TextColor3=v3.FlashColor;v190=1992 -(582 + 1408) ;end if (v190==(1977 -(1913 + 62))) then task.delay(v3.FlashDuration,function() local v231=0 + 0 ;local v232;while true do if (v231==(6 -4)) then v114.OutlineColor=v232;v127.TextColor3=v232;break;end if (v231==(1933 -(565 + 1368))) then v54.flashing=false;if not (v114 and v114.Parent) then return;end v231=3 -2 ;end if (v231==(1 -0)) then v232=v9(v113.Health,v113.MaxHealth);v114.FillColor=v232;v231=2 -0 ;end end end);break;end end elseif not v54.flashing then local v213=0 + 0 ;while true do if (v213==(3 -2)) then v127.TextColor3=v145;break;end if ((0 -0)==v213) then v114.FillColor=v145;v114.OutlineColor=v145;v213=1825 -(1195 + 629) ;end end end v54.lastHealth=v144;end));table.insert(v54.charConnections,v113.Died:Connect(function() v14(v54);end));local v139=v53:FindFirstChildOfClass("Backpack");if v139 then table.insert(v54.charConnections,v139.ChildAdded:Connect(function(v191) if v191:IsA("Tool") then v13(v53,v54,v110);end end));table.insert(v54.charConnections,v139.ChildRemoved:Connect(function(v192) if v192:IsA("Tool") then v13(v53,v54,v110);end end));end table.insert(v54.charConnections,v110.ChildAdded:Connect(function(v148) if v148:IsA("Tool") then v13(v53,v54,v110);end end));table.insert(v54.charConnections,v110.ChildRemoved:Connect(function(v149) if v149:IsA("Tool") then v13(v53,v54,v110);end end));end if v53.Character then v56(v53.Character);end table.insert(v54.connections,v53.CharacterAdded:Connect(v56));end local function v17(v57) local v58=0 -0 ;local v59;while true do if (v58==(244 -(187 + 54))) then v12(v59);v6[v57]=nil;break;end if (v58==(780 -(162 + 618))) then v59=v6[v57];if not v59 then return;end v58=1 + 0 ;end if (v58==(1 + 0)) then for v193,v194 in ipairs(v59.connections) do v194:Disconnect();end for v195,v196 in ipairs(v59.charConnections) do v196:Disconnect();end v58=3 -1 ;end if (v58==2) then if (v59.highlight and v59.highlight.Parent) then v59.highlight:Destroy();end if (v59.healthBillboard and v59.healthBillboard.Parent) then v59.healthBillboard:Destroy();end v58=3;end end end local function v18(v60) local v61=0 -0 ;while true do if (v61==(1 + 0)) then for v197,v198 in pairs(v7) do v198.Enabled=v60;end break;end if (v61==(1636 -(1373 + 263))) then v4=v60;for v200,v201 in pairs(v6) do if v60 then local v214=1000 -(451 + 549) ;local v215;local v216;local v217;while true do if (v214==(0 + 0)) then v215=v200.Character;v216=v215 and v215:FindFirstChildOfClass("Humanoid") ;v214=1 -0 ;end if (v214==(1 -0)) then v217=v216 and (v216.Health>(1384 -(746 + 638))) ;if v217 then v15(v201);end break;end end else v14(v201);end end v61=1 + 0 ;end end end v2.InputBegan:Connect(function(v62,v63) if v63 then return;end if (v62.KeyCode~=v3.ToggleKey) then return;end v18( not v4);local v64=v5:FindFirstChild("PlayerGui");if not v64 then return;end local v65=v64:FindFirstChild("ESP_Toast");if v65 then v65:Destroy();end local v66=Instance.new("ScreenGui",v64);v66.Name="ESP_Toast";v66.ResetOnSpawn=false;local v69=Instance.new("Frame",v66);v69.Size=UDim2.new(0 + 0 ,349 -119 ,0,42);v69.Position=UDim2.new(341.5 -(218 + 123) , -(1696 -(1535 + 46)),0 + 0 ,3 + 11 );v69.BackgroundColor3=Color3.fromRGB(279 -(176 + 91) ,572 -(306 + 254) ,16 -4 );v69.BackgroundTransparency=0.15 + 0 ;v69.BorderSizePixel=0 -0 ;Instance.new("UICorner",v69).CornerRadius=UDim.new(1467 -(899 + 568) ,31 -22 );local v76=Instance.new("TextLabel",v69);v76.Size=UDim2.new(3 -2 ,0 + 0 ,2 -1 ,0 -0 );v76.BackgroundTransparency=604 -(268 + 335) ;v76.Font=Enum.Font.GothamBold;v76.TextSize=34 -19 ;v76.TextColor3=(v4 and Color3.fromRGB(360 -(60 + 230) ,827 -(426 + 146) ,14 + 96 )) or Color3.fromRGB(1711 -(282 + 1174) ,131 -61 ,881 -(569 + 242) ) ;v76.Text=(v4 and "✔ ESP ENABLED") or "✘ ESP DISABLED" ;task.delay(5.2 -3 ,function() if (v66 and v66.Parent) then v66:Destroy();end end);end);v1.Heartbeat:Connect(function() local v84=0 + 0 ;local v85;while true do if ((611 -(602 + 9))==v84) then v85=0;while true do if (v85==(1024 -(706 + 318))) then if not v4 then return;end for v225,v226 in pairs(v6) do local v227=v225.Character;if not v227 then continue;end local v228=v227:FindFirstChildOfClass("Humanoid");if ( not v228 or (v228.Health<=(1251 -(721 + 530)))) then continue;end if v226.healthLabel then local v238=1271 -(945 + 326) ;local v239;local v240;local v241;while true do if (v238==(2 -1)) then v241=nil;while true do if (v239==0) then v240=math.floor(v228.Health);v241=math.floor(v228.MaxHealth);v239=1 + 0 ;end if (v239==(1 + 0)) then v226.healthLabel.Text=string.format("❤ %d / %d",v240,v241);if not v226.flashing then local v248=0;local v249;while true do if (v248==(1899 -(260 + 1638))) then if v226.highlight then local v251=440 -(382 + 58) ;local v252;while true do if (v251==(700 -(271 + 429))) then v252=0 + 0 ;while true do if (v252==0) then v226.highlight.FillColor=v249;v226.highlight.OutlineColor=v249;break;end end break;end end end break;end if (v248==0) then v249=v9(v228.Health,v228.MaxHealth);v226.healthLabel.TextColor3=v249;v248=1501 -(1408 + 92) ;end end end break;end end break;end if (v238==(1086 -(461 + 625))) then v239=0;v240=nil;v238=1289 -(993 + 295) ;end end end end break;end end break;end end end);for v86,v87 in ipairs(v0:GetPlayers()) do v16(v87);end v0.PlayerAdded:Connect(v16);v0.PlayerRemoving:Connect(v17);local v19=Color3.fromRGB(14 + 241 ,1171 -(418 + 753) ,481 -281 );local v20="ESP_LootHighlight";local function v21(v88) local v89=0 + 0 ;local v90;while true do if (v89==(1 + 2)) then v90.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop;v90.Enabled=v4;v90.Parent=game:GetService("Workspace");v89=2 + 2 ;end if (v89==(1 + 1)) then v90.OutlineColor=v19;v90.FillTransparency=529.35 -(406 + 123) ;v90.OutlineTransparency=1769 -(1749 + 20) ;v89=1 + 2 ;end if (v89==(2 -1)) then v90.Name=v20;v90.Adornee=v88;v90.FillColor=v19;v89=2;end if ((1326 -(1249 + 73))==v89) then v7[v88]=v90;v88.AncestryChanged:Connect(function() if not v88:IsDescendantOf(game) then if (v90 and v90.Parent) then v90:Destroy();end v7[v88]=nil;end end);break;end if (v89==(0 + 0)) then if v7[v88] then return;end if not (v88:IsA("BasePart") or v88:IsA("Model") or v88:IsA("Tool")) then return;end v90=Instance.new("Highlight");v89=1146 -(466 + 679) ;end end end local function v22(v91) local v92=0 -0 ;local v93;while true do if (v92==(0 -0)) then v93=v7[v91];if (v93 and v93.Parent) then v93:Destroy();end v92=1901 -(106 + 1794) ;end if (v92==(1 + 0)) then v7[v91]=nil;break;end end end local function v23() local v94=0 + 0 ;local v95;local v96;local v97;while true do if (v94==(0 -0)) then local v182=0 -0 ;while true do if (v182==(115 -(4 + 110))) then v94=585 -(57 + 527) ;break;end if ((1427 -(41 + 1386))==v182) then v95=game:GetService("Workspace");v96=v95:WaitForChild("Game",113 -(17 + 86) );v182=1 + 0 ;end end end if (v94==(3 -1)) then if not v97 then warn("[ESP] workspace.Game.Loot not found");return;end for v202,v203 in ipairs(v97:GetDescendants()) do v21(v203);end v94=8 -5 ;end if (v94==(8 -5)) then v97.DescendantAdded:Connect(v21);v97.DescendantRemoving:Connect(v22);break;end if (v94==(1 + 0)) then if not v96 then local v208=166 -(122 + 44) ;while true do if (v208==(0 -0)) then local v233=0 -0 ;while true do if (v233==(0 + 0)) then warn("[ESP] workspace.Game not found");return;end end end end end v97=v96:WaitForChild("Loot",2 + 8 );v94=1 + 1 ;end end end task.spawn(v23);print("[ESP v2] Loaded — Press [X] to toggle.");