local a=game:GetService("Players")local b=game:GetService("RunService")local c=game:GetService("UserInputService")local d=game:GetService("TweenService")local e=a.LocalPlayer;if not e then a:GetPropertyChangedSignal("LocalPlayer"):Wait()e=a.LocalPlayer end;local f=e:WaitForChild("PlayerGui")local g="Burgers panel"local h=Color3.fromRGB(28,28,30)local i=Color3.fromRGB(245,245,245)local j=Color3.fromRGB(180,180,185)local k=Color3.fromRGB(52,199,89)local l=Color3.fromRGB(255,69,58)local m=Color3.fromRGB(10,132,255)local n=Color3.fromRGB(255,214,10)local o=0.55;local p=UDim.new(0,12)local q=1;local r=Color3.fromRGB(140,140,140)local s=0.6;local t=2.5;local u=UDim2.new(0,44,0,44)local v=UDim2.new(1,-60,0,20)local w=true;local x=false;local y=nil;local z=nil;local A=false;local B=nil;local C=nil;local D={}local E=nil;local F=nil;local G=nil;local H={}local I=Instance.new("ScreenGui")I.Name="BurgersPanelGui"I.ResetOnSpawn=false;I.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;I.Parent=f;local J=Instance.new("Frame")J.Name="MainFrame"J.BackgroundColor3=h;J.BackgroundTransparency=o;J.BorderSizePixel=0;J.Size=UDim2.new(0,260,0,400)J.Position=UDim2.new(0.5,-130,0.5,-200)J.Active=true;J.Visible=w;J.ClipsDescendants=true;J.Parent=I;local K=Instance.new("UICorner")K.CornerRadius=p;K.Parent=J;local L=Instance.new("UIStroke")L.Color=r;L.Thickness=q;L.Transparency=s;L.ApplyStrokeMode=Enum.ApplyStrokeMode.Border;L.Parent=J;local M=Instance.new("Frame")M.Name="TitleBar"M.BackgroundColor3=h;M.BackgroundTransparency=0.1;M.BorderSizePixel=0;M.Size=UDim2.new(1,0,0,35)M.Parent=J;local N=Instance.new("TextLabel")N.Name="TitleLabel"N.BackgroundTransparency=1;N.Size=UDim2.new(1,-40,1,0)N.Position=UDim2.new(0,12,0,0)N.Font=Enum.Font.GothamSemibold;N.Text=g;N.TextColor3=i;N.TextSize=16;N.TextXAlignment=Enum.TextXAlignment.Left;N.Parent=M;local O=Instance.new("TextButton")O.Name="MinimizeButton"O.Size=UDim2.new(0,24,0,24)O.Position=UDim2.new(1,-32,0.5,-12)O.BackgroundColor3=Color3.fromRGB(80,80,80)O.BackgroundTransparency=0.5;O.BorderSizePixel=0;O.Font=Enum.Font.GothamBold;O.Text="—"O.TextColor3=j;O.TextSize=18;O.Parent=M;local P=Instance.new("UICorner")P.CornerRadius=UDim.new(0.5,0)P.Parent=O;local Q=Instance.new("ScrollingFrame")Q.Name="PlayerList"Q.Size=UDim2.new(1,0,1,-35)Q.Position=UDim2.new(0,0,0,35)Q.BackgroundTransparency=1;Q.BorderSizePixel=0;Q.CanvasSize=UDim2.new()Q.AutomaticCanvasSize=Enum.AutomaticSize.Y;Q.ScrollBarThickness=5;Q.ScrollBarImageColor3=Color3.fromRGB(100,100,100)Q.ScrollingEnabled=true;Q.Active=true;Q.Parent=J;local R=Instance.new("UIListLayout")R.Padding=UDim.new(0,8)R.SortOrder=Enum.SortOrder.LayoutOrder;R.HorizontalAlignment=Enum.HorizontalAlignment.Center;R.Parent=Q;local S=Instance.new("UIPadding")S.PaddingTop=UDim.new(0,8)S.PaddingBottom=UDim.new(0,8)S.PaddingLeft=UDim.new(0,8)S.PaddingRight=UDim.new(0,8)S.Parent=Q;local T=Instance.new("Frame")T.Name="PlayerCardTemplate"T.BackgroundColor3=Color3.fromRGB(55,55,58)T.BackgroundTransparency=0.4;T.BorderSizePixel=0;T.Size=UDim2.new(1,-16,0,65)T.ClipsDescendants=true;local U=Instance.new("UICorner")U.CornerRadius=UDim.new(0,8)U.Parent=T;local V=Instance.new("ImageLabel")V.Name="ProfilePic"V.Size=UDim2.new(0,48,0,48)V.Position=UDim2.new(0,8,0.5,-24)V.BackgroundTransparency=1;V.BorderSizePixel=0;V.ScaleType=Enum.ScaleType.Crop;V.ImageColor3=Color3.fromRGB(200,200,200)V.Parent=T;local W=Instance.new("UICorner")W.CornerRadius=UDim.new(0,6)W.Parent=V;local X=Instance.new("TextLabel")X.Name="PlayerNameLabel"X.Size=UDim2.new(1,-70,0,20)X.Position=UDim2.new(0,64,0,7)X.BackgroundTransparency=1;X.Font=Enum.Font.GothamSemibold;X.TextColor3=i;X.TextSize=15;X.TextXAlignment=Enum.TextXAlignment.Left;X.Text="PlayerName"X.Parent=T;local Y=Instance.new("TextLabel")Y.Name="HealthLabel"Y.Size=UDim2.new(0.5,-35,0,16)Y.Position=UDim2.new(0,64,0,28)Y.BackgroundTransparency=1;Y.Font=Enum.Font.Gotham;Y.TextColor3=k;Y.TextSize=13;Y.TextXAlignment=Enum.TextXAlignment.Left;Y.Text="Health: 100%"Y.Parent=T;local Z=Instance.new("TextLabel")Z.Name="DistanceLabel"Z.Size=UDim2.new(0.5,-35,0,16)Z.Position=UDim2.new(0,64,0,45)Z.BackgroundTransparency=1;Z.Font=Enum.Font.Gotham;Z.TextColor3=m;Z.TextSize=13;Z.TextXAlignment=Enum.TextXAlignment.Left;Z.Text="Dist: --- studs"Z.Parent=T;local _=Instance.new("TextButton")_.Name="InteractionButton"_.Size=UDim2.new(1,0,1,0)_.BackgroundTransparency=1;_.Text=""_.AutoButtonColor=false;_.Active=true;_.Modal=false;_.Parent=T;local a0=Instance.new("TextButton")a0.Name="MinimizedButton"a0.Size=u;a0.Position=v;a0.BackgroundColor3=h;a0.BackgroundTransparency=o-0.1;a0.BorderSizePixel=0;a0.Visible=not w;a0.Font=Enum.Font.GothamBold;a0.Text="B"a0.TextColor3=i;a0.TextSize=20;a0.AutoButtonColor=false;a0.Active=true;a0.Parent=I;local a1=Instance.new("UICorner")a1.CornerRadius=UDim.new(0.5,0)a1.Parent=a0;local a2=Instance.new("UIStroke")a2.Color=r;a2.Thickness=q;a2.Transparency=s;a2.ApplyStrokeMode=Enum.ApplyStrokeMode.Border;a2.Parent=a0;local a3=Instance.new("Frame")a3.Name="ContextMenu"a3.BackgroundColor3=Color3.fromRGB(60,60,60)a3.BackgroundTransparency=0.2;a3.BorderSizePixel=0;a3.Size=UDim2.new(0,160,0,75)a3.Visible=false;a3.ZIndex=10;a3.ClipsDescendants=true;a3.Parent=I;local a4=Instance.new("UICorner")a4.CornerRadius=UDim.new(0,8)a4.Parent=a3;local a5=Instance.new("UIStroke")a5.Color=r;a5.Thickness=q;a5.Transparency=s+0.1;a5.ApplyStrokeMode=Enum.ApplyStrokeMode.Border;a5.Parent=a3;local a6=Instance.new("UIListLayout")a6.Padding=UDim.new(0,4)a6.FillDirection=Enum.FillDirection.Vertical;a6.HorizontalAlignment=Enum.HorizontalAlignment.Center;a6.SortOrder=Enum.SortOrder.LayoutOrder;a6.Parent=a3;local a7=Instance.new("UIPadding")a7.PaddingTop=UDim.new(0,5)a7.PaddingBottom=UDim.new(0,5)a7.PaddingLeft=UDim.new(0,5)a7.PaddingRight=UDim.new(0,5)a7.Parent=a3;local function a8(a9)local aa=Instance.new("TextButton")aa.Name=a9:gsub("%s+","").."Button"aa.Size=UDim2.new(1,-10,0,30)aa.BackgroundColor3=Color3.fromRGB(85,85,85)aa.BackgroundTransparency=1;aa.BorderSizePixel=0;aa.Font=Enum.Font.Gotham;aa.Text=a9;aa.TextColor3=i;aa.TextSize=14;aa.Parent=a3;local ab=Instance.new("UICorner")ab.CornerRadius=UDim.new(0,5)ab.Parent=aa;aa.MouseEnter:Connect(function()d:Create(aa,TweenInfo.new(0.1),{BackgroundTransparency=0.7}):Play()end)aa.MouseLeave:Connect(function()if not aa.Selected then d:Create(aa,TweenInfo.new(0.1),{BackgroundTransparency=1}):Play()end end)aa.MouseButton1Down:Connect(function()d:Create(aa,TweenInfo.new(0.05),{BackgroundTransparency=0.5}):Play()end)aa.MouseButton1Up:Connect(function()d:Create(aa,TweenInfo.new(0.1),{BackgroundTransparency=0.7}):Play()end)return aa end;local ac=a8("Teleport to Player")local ad=a8("Toggle Highlight")local function ae(af,ag)local ah=af.Character;local ai=e.Character;local aj=ah and ah:FindFirstChildOfClass("Humanoid")local ak=ah and ah:FindFirstChild("HumanoidRootPart")local al=ai and ai:FindFirstChild("HumanoidRootPart")if aj then local am=math.floor(aj.Health)local an=math.floor(aj.MaxHealth)if an>0 then local ao=am/an;ag.HealthLabel.Text=string.format("Health: %.0f%%",ao*100)ag.HealthLabel.TextColor3=l:Lerp(k,ao)else ag.HealthLabel.Text="Health: N/A"ag.HealthLabel.TextColor3=j end else ag.HealthLabel.Text="Health: N/A"ag.HealthLabel.TextColor3=j end;if ak and al and af~=e then local ap=math.floor((ak.Position-al.Position).Magnitude)ag.DistanceLabel.Text=string.format("Dist: %d studs",ap)ag.DistanceLabel.Visible=true;ag.DistanceLabel.TextColor3=m elseif af==e then ag.DistanceLabel.Text="Dist: You"ag.DistanceLabel.Visible=true;ag.DistanceLabel.TextColor3=j else ag.DistanceLabel.Text="Dist: --- studs"ag.DistanceLabel.Visible=false end end;local function aq(af)if D[af]then if H[af]and D[af].HighlightInstance then D[af].HighlightInstance:Destroy()end;H[af]=nil;D[af].Frame:Destroy()D[af]=nil;if E==af then a3.Visible=false;E=nil end end end;local function ar(as)if not as then return end;local at=as.Character;local au=D[as]and D[as].HighlightInstance;if H[as]and au then au:Destroy()if D[as]then D[as].HighlightInstance=nil end;H[as]=false;print("Removed highlight from",as.Name)elseif at then if au then au:Destroy()end;local av=Instance.new("Highlight")av.FillColor=n;av.OutlineColor=Color3.fromRGB(40,40,40)av.FillTransparency=0.6;av.OutlineTransparency=0.3;av.DepthMode=Enum.HighlightDepthMode.Occluded;av.Adornee=at;av.Parent=I;if D[as]then D[as].HighlightInstance=av end;H[as]=true;print("Added highlight to",as.Name)else print("Cannot highlight",as.Name,"- Character not found.")end end;local function aw(as)local ax=e.Character;local ay=as and as.Character;local az=ax and ax:FindFirstChild("HumanoidRootPart")local aA=ay and ay:FindFirstChild("HumanoidRootPart")if az and aA then local aB,aC=pcall(function()az.CFrame=aA.CFrame*CFrame.new(2,5,2)end)if not aB then warn("Teleport failed:",aC)else print("Teleported to",as.Name)end else print("Cannot teleport: Character or HumanoidRootPart missing.")end end;local function aD(af)if D[af]then return end;local ag={}local aE=T:Clone()aE.Name=af.Name.."Card"aE.LayoutOrder=#Q:GetChildren()ag.Frame=aE;ag.NameLabel=aE:FindFirstChild("PlayerNameLabel",true)ag.HealthLabel=aE:FindFirstChild("HealthLabel",true)ag.DistanceLabel=aE:FindFirstChild("DistanceLabel",true)ag.PicLabel=aE:FindFirstChild("ProfilePic",true)ag.InteractionButton=aE:FindFirstChild("InteractionButton",true)ag.HighlightInstance=nil;ag.NameLabel.Text=af.DisplayName;local aB,aF=pcall(function()return a:GetUserThumbnailAsync(af.UserId,Enum.ThumbnailType.HeadShot,Enum.ThumbnailSize.Size48x48)end)if aB and aF then ag.PicLabel.Image=aF;ag.PicLabel.ImageColor3=Color3.fromRGB(255,255,255)else warn("Failed to load thumbnail for",af.Name,":",aF)ag.PicLabel.Image=""end;ag.InteractionButton.InputBegan:Connect(function(aG)if aG.UserInputType==Enum.UserInputType.MouseButton1 or aG.UserInputType==Enum.UserInputType.Touch then if F then task.cancel(F)if G and G.Modal then G.Modal=false end;F=nil;G=nil end;a3.Visible=false;local aH=ag.InteractionButton;G=aH;local aI=tick()local aJ=true;local aK=nil;aH.Modal=true;print("Hold Check Started for:",af.Name,"Modal=true")F=task.spawn(function()local aL=false;while aJ and tick()-aI=t then aL=true;local aM=c:GetMouseLocation()E=af;a3.Position=UDim2.fromOffset(aM.X+5,aM.Y+5)local aN=I.AbsoluteSize.X;local aO=I.AbsoluteSize.Y;local aP=a3.AbsoluteSize;local aQ=math.clamp(a3.Position.X.Offset,0,aN-aP.X)local aR=math.clamp(a3.Position.Y.Offset,0,aO-aP.Y)a3.Position=UDim2.fromOffset(aQ,aR)a3.Visible=true;ad.Text=H[af]and"Remove Highlight"or"Add Highlight"print("Hold Duration Met for:",af.Name,"Showing context menu.")else print("Hold Check ended early or input released for:",af.Name)end;if aL then task.wait(0.1)end;if aH and aH.Modal then aH.Modal=false;print("Reset Modal=false for:",af.Name)end;F=nil;G=nil end)aK=c.InputEnded:Connect(function(aS)if aS==aG then print("InputEnded received for:",af.Name,aS.UserInputType)aJ=false;if aK then aK:Disconnect()end end end)end end)D[af]=ag;aE.Parent=Q;H[af]=false;ae(af,ag)end;O.MouseButton1Click:Connect(function()w=false;x=false;J:TweenSizeAndPosition(UDim2.new(J.Size.X.Scale,J.Size.X.Offset,0,0),J.Position,Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.2,true,function()J.Visible=false;J.Size=UDim2.new(J.Size.X.Scale,J.Size.X.Offset,0,400)a0.Visible=true;a0.Position=v end)a3.Visible=false end)a0.MouseButton1Click:Connect(function()w=true;A=false;J.Visible=true;a0.Visible=false;J:TweenSize(UDim2.new(J.Size.X.Scale,J.Size.X.Offset,0,400),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.3,true)end)M.InputBegan:Connect(function(aG)if not A and(aG.UserInputType==Enum.UserInputType.MouseButton1 or aG.UserInputType==Enum.UserInputType.Touch)then local aT=aG.Position;local aU=O.AbsolutePosition;local aV=O.AbsoluteSize;if not(aT.X>=aU.X and aT.X<=aU.X+aV.X and aT.Y>=aU.Y and aT.Y<=aU.Y+aV.Y)then x=true;y=aG.Position;z=J.Position end end end)a0.InputBegan:Connect(function(aG)if not x and(aG.UserInputType==Enum.UserInputType.MouseButton1 or aG.UserInputType==Enum.UserInputType.Touch)then A=true;B=aG.Position;C=a0.Position;print("Minimized Drag Start")end end)c.InputChanged:Connect(function(aG)if aG.UserInputType==Enum.UserInputType.MouseMovement or aG.UserInputType==Enum.UserInputType.Touch then if x then local aW=aG.Position-y;J.Position=UDim2.new(z.X.Scale,z.X.Offset+aW.X,z.Y.Scale,z.Y.Offset+aW.Y)elseif A then local aW=aG.Position-B;a0.Position=UDim2.new(C.X.Scale,C.X.Offset+aW.X,C.Y.Scale,C.Y.Offset+aW.Y)end end end)c.InputEnded:Connect(function(aG)if aG.UserInputType==Enum.UserInputType.MouseButton1 or aG.UserInputType==Enum.UserInputType.Touch then if x then x=false elseif A then A=false;print("Minimized Drag End")end end end)ac.MouseButton1Click:Connect(function()if E then aw(E)end;a3.Visible=false;E=nil end)ad.MouseButton1Click:Connect(function()if E then ar(E)end;a3.Visible=false;E=nil end)c.InputBegan:Connect(function(aG)if a3.Visible and(aG.UserInputType==Enum.UserInputType.MouseButton1 or aG.UserInputType==Enum.UserInputType.Touch)then local aX=f:GetGuiObjectsAtPosition(aG.Position.X,aG.Position.Y)local aY=false;for aZ,a_ in ipairs(aX)do if a_:IsDescendantOf(a3)then aY=true;break end end;local b0=false;if E and D[E]then for aZ,a_ in ipairs(aX)do if a_==D[E].InteractionButton then b0=true;break end end end;if not aY and not b0 then task.defer(function()if a3.Visible then a3.Visible=false;E=nil;if F then print("Hiding context menu due to outside click, cancelling hold check.")task.cancel(F)if G and G.Modal then G.Modal=false;print("Reset Modal=false due to outside click.")end;F=nil;G=nil end end end)end end end)a.PlayerAdded:Connect(aD)a.PlayerRemoving:Connect(aq)for aZ,af in ipairs(a:GetPlayers())do if af==e then aD(af)end end;for aZ,af in ipairs(a:GetPlayers())do if af~=e then aD(af)end end;b.RenderStepped:Connect(function(b1)if not J.Visible then return end;local ai=e.Character;local al=ai and ai:FindFirstChild("HumanoidRootPart")if not al then for af,ag in pairs(D)do if af~=e and ag.DistanceLabel.Visible then ag.DistanceLabel.Text="Dist: --- studs"ag.DistanceLabel.Visible=false elseif af==e and ag.DistanceLabel.Text~="Dist: You"then ag.DistanceLabel.Text="Dist: You"ag.DistanceLabel.Visible=true;ag.DistanceLabel.TextColor3=j end;local aj=af.Character and af.Character:FindFirstChildOfClass("Humanoid")if not aj or aj.Health<=0 then ag.HealthLabel.Text="Health: 0%"ag.HealthLabel.TextColor3=l end end;return end;for af,ag in pairs(D)do ae(af,ag)end end)print("Burgers Panel Initialized.")