local TweenService=game:GetService("TweenService");local UserInputService=game:GetService("UserInputService");local RunService=game:GetService("RunService");local Players=game:GetService("Players");local LocalPlayer=Players.LocalPlayer;local Camera=workspace.CurrentCamera;local Mouse=LocalPlayer:GetMouse();local success,CoreGui=pcall(function()return game:GetService("CoreGui")end);local guiParent=success and CoreGui or Players.LocalPlayer:WaitForChild("PlayerGui");local Config={LangEN=false,AutoJump=false,BHop=false,BHopSpeed=50,Spinbot=false,Aimbot=false,AimSmooth=1,AimFOV=120,DrawFOV=true,WallCheck=true,Triggerbot=false,TriggerbotDelay=0,TeamCheck=false,Chams=false,Esp3DBox=false,EspHpBar=false,ChamsColor=Color3.fromRGB(150,50,255),Trails=false,TrailsColor=Color3.fromRGB(150,50,255),Crosshair=false,CrosshairStyle="Cross",CrosshairSize=10,CrosshairColor=Color3.fromRGB(150,50,255),Music=false,MusicTrack="Phonk",CustomMusicID="9048375035",MusicVolume=5,ACScanner=false,StaffDetector=false};local translations={["Автоматически удерживает прыжок для беспрерывного движения."]="Automatically holds jump for continuous movement.",["Мгновенно ускоряет персонажа при каждом приземлении."]="Instantly accelerates the character upon landing.",["Бешено вращает персонажа вокруг оси, дезориентируя врагов."]="Rapidly spins character to disorient enemies.",["Мгновенно или плавно наводит прицел на голову противника."]="Instantly or smoothly aims at the enemy's head.",["Производит автоматический выстрел при появлении врага в прицеле."]="Automatically shoots when an enemy is in the crosshair.",["Исключает союзников из списка целей для аима и подсветки."]="Excludes teammates from targets.",["Подсвечивает модели игроков ярким силуэтом сквозь стены."]="Highlights player models through walls.",["Рисует объемный каркасный куб вокруг каждого врага."]="Draws a 3D wireframe box around each enemy.",["Выводит точную полоску здоровья соперника в реальном времени."]="Displays a precise HP bar in real-time.",["Оставляет шлейф из красивых частиц за конечностями при беге."]="Leaves a beautiful particle trail while running.",["Включает кастомный прицел по центру экрана."]="Enables a custom crosshair.",["Активирует аудиоплеер с атмосферными треками."]="Activates audio player with atmospheric tracks.",["Сканирует сервер на наличие скриптов слежки и банов."]="Scans the server for tracking and ban scripts.",["Предупреждает о появлении администраторов в сессии."]="Warns about the presence of administrators.",["Выбор языка / Language selection. Вкл (On) = EN, Выкл (Off) = RU."]="Language selection. On = EN, Off = RU."};local reverseTranslations={};for ru,en in pairs(translations)do reverseTranslations[en]=ru;end;local currentPlaystyle="HVH";local riskLabelsToUpdate={};local MusicTracks={["Phonk"]="rbxassetid://9048375035",["Boundless"]="rbxassetid://1837879082",["Custom"]="rbxassetid://"..Config.CustomMusicID};local MusicSound=Instance.new("Sound",guiParent);MusicSound.Name="N1ghtX_Radio";MusicSound.Looped=true;local UISoundOn=Instance.new("Sound",guiParent);UISoundOn.SoundId="rbxassetid://6895079853";UISoundOn.PlaybackSpeed=1.2;UISoundOn.Volume=1;local UISoundOff=Instance.new("Sound",guiParent);UISoundOff.SoundId="rbxassetid://6895079853";UISoundOff.PlaybackSpeed=0.8;UISoundOff.Volume=1;local Binds={};local ToggleUIFunctions={};local BindingAction=nil;local isLoaded=false;local ScreenGui=Instance.new("ScreenGui");ScreenGui.Name="N1ghtX_PremiumUI";ScreenGui.ResetOnSpawn=false;ScreenGui.IgnoreGuiInset=true;ScreenGui.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ScreenGui.Parent=guiParent;local chFld=Instance.new("Folder",guiParent);chFld.Name="N1ghtX_Chams";Players.PlayerRemoving:Connect(function(p)local h=chFld:FindFirstChild(p.Name);if h then h:Destroy();end;end);local WM=Instance.new("Frame",ScreenGui);WM.AnchorPoint=Vector2.new(0.5,0);WM.Position=UDim2.new(0.5,0,0,10);WM.Size=UDim2.new(0,0,0,25);WM.AutomaticSize=Enum.AutomaticSize.X;WM.BackgroundColor3=Color3.fromRGB(15,10,20);Instance.new("UICorner",WM).CornerRadius=UDim.new(0,4);local WMStk=Instance.new("UIStroke",WM);WMStk.Color=Color3.fromRGB(105,20,255);local WMPad=Instance.new("UIPadding",WM);WMPad.PaddingLeft=UDim.new(0,10);WMPad.PaddingRight=UDim.new(0,10);local WMLy=Instance.new("UIListLayout",WM);WMLy.FillDirection=Enum.FillDirection.Horizontal;WMLy.VerticalAlignment=Enum.VerticalAlignment.Center;WMLy.Padding=UDim.new(0,5);local N_Lbl=Instance.new("TextLabel",WM);N_Lbl.BackgroundTransparency=1;N_Lbl.Text="N";N_Lbl.Font=Enum.Font.GothamBlack;N_Lbl.TextSize=14;N_Lbl.AutomaticSize=Enum.AutomaticSize.X;local I_Lbl=Instance.new("TextLabel",WM);I_Lbl.BackgroundTransparency=1;I_Lbl.Text=" | FPS: ... | Ping: ...";I_Lbl.TextColor3=Color3.fromRGB(255,255,255);I_Lbl.Font=Enum.Font.GothamBold;I_Lbl.TextSize=13;I_Lbl.AutomaticSize=Enum.AutomaticSize.X;local frms,lTime=0,tick();RunService.RenderStepped:Connect(function()N_Lbl.TextColor3=Color3.fromHSV(tick()%3/3,1,1);frms=frms+1;if tick()-lTime>=1 then local p=0;pcall(function()p=math.floor(LocalPlayer:GetNetworkPing()*1000)end);I_Lbl.Text=" | FPS: "..frms.." | Ping: "..p.."ms";frms=0;lTime=tick();end;end);local UIGradientTemplate=Instance.new("UIGradient");UIGradientTemplate.Color=ColorSequence.new({ColorSequenceKeypoint.new(0.00,Color3.fromRGB(105,20,255)),ColorSequenceKeypoint.new(0.50,Color3.fromRGB(30,0,50)),ColorSequenceKeypoint.new(1.00,Color3.fromRGB(150,40,255))});local activeGradients={};RunService.RenderStepped:Connect(function()local rotation=tick()*50;for _,grad in ipairs(activeGradients)do if grad and grad.Parent then grad.Rotation=rotation;end;end;end);local CrosshairContainer=Instance.new("Frame",ScreenGui);CrosshairContainer.Size=UDim2.new(0,100,0,100);CrosshairContainer.Position=UDim2.new(0.5,-50,0.5,-50);CrosshairContainer.BackgroundTransparency=1;CrosshairContainer.Visible=false;CrosshairContainer.ZIndex=0;local chDot=Instance.new("Frame",CrosshairContainer);chDot.AnchorPoint=Vector2.new(0.5,0.5);chDot.Position=UDim2.new(0.5,0,0.5,0);Instance.new("UIStroke",chDot).Color=Color3.new(0,0,0);local chTop=Instance.new("Frame",CrosshairContainer);chTop.AnchorPoint=Vector2.new(0.5,1);chTop.Position=UDim2.new(0.5,0,0.5,-4);Instance.new("UIStroke",chTop).Color=Color3.new(0,0,0);local chBot=Instance.new("Frame",CrosshairContainer);chBot.AnchorPoint=Vector2.new(0.5,0);chBot.Position=UDim2.new(0.5,0,0.5,4);Instance.new("UIStroke",chBot).Color=Color3.new(0,0,0);local chLeft=Instance.new("Frame",CrosshairContainer);chLeft.AnchorPoint=Vector2.new(1,0.5);chLeft.Position=UDim2.new(0.5,-4,0.5,0);Instance.new("UIStroke",chLeft).Color=Color3.new(0,0,0);local chRight=Instance.new("Frame",CrosshairContainer);chRight.AnchorPoint=Vector2.new(0,0.5);chRight.Position=UDim2.new(0.5,4,0.5,0);Instance.new("UIStroke",chRight).Color=Color3.new(0,0,0);local chCircle=Instance.new("Frame",CrosshairContainer);chCircle.AnchorPoint=Vector2.new(0.5,0.5);chCircle.Position=UDim2.new(0.5,0,0.5,0);chCircle.BackgroundTransparency=1;Instance.new("UICorner",chCircle).CornerRadius=UDim.new(1,0);local chCircleStroke=Instance.new("UIStroke",chCircle);chCircleStroke.Thickness=2;RunService.RenderStepped:Connect(function()if Config.Crosshair then CrosshairContainer.Visible=true;local s=Config.CrosshairSize;local c=Config.CrosshairColor;local st=Config.CrosshairStyle;chDot.Visible=(st=="Dot" or st=="CrossDot");chTop.Visible=(st=="Cross" or st=="CrossDot");chBot.Visible=chTop.Visible;chLeft.Visible=chTop.Visible;chRight.Visible=chTop.Visible;chCircle.Visible=(st=="Circle");chDot.Size=UDim2.new(0,s/3,0,s/3);chDot.BackgroundColor3=c;chTop.Size=UDim2.new(0,math.max(1,s/6),0,s);chTop.BackgroundColor3=c;chTop.Position=UDim2.new(0.5,0,0.5,-(s/2));chBot.Size=UDim2.new(0,math.max(1,s/6),0,s);chBot.BackgroundColor3=c;chBot.Position=UDim2.new(0.5,0,0.5,(s/2));chLeft.Size=UDim2.new(0,s,0,math.max(1,s/6));chLeft.BackgroundColor3=c;chLeft.Position=UDim2.new(0.5,-(s/2),0.5,0);chRight.Size=UDim2.new(0,s,0,math.max(1,s/6));chRight.BackgroundColor3=c;chRight.Position=UDim2.new(0.5,(s/2),0.5,0);chCircle.Size=UDim2.new(0,s*2,0,s*2);chCircleStroke.Color=c;else CrosshairContainer.Visible=false;end;end);local FOVCircle=Drawing.new("Circle");FOVCircle.Visible=false;FOVCircle.Thickness=1.5;FOVCircle.NumSides=64;FOVCircle.Color=Color3.fromRGB(150,50,255);FOVCircle.Filled=false;RunService.RenderStepped:Connect(function()if Config.Aimbot and Config.DrawFOV then local viewportSize=Camera.ViewportSize;FOVCircle.Position=Vector2.new(viewportSize.X/2,viewportSize.Y/2);FOVCircle.Radius=Config.AimFOV;FOVCircle.Visible=true;else FOVCircle.Visible=false;end;end);local LoadScreen=Instance.new("Frame",ScreenGui);LoadScreen.Size=UDim2.new(1,0,1,0);LoadScreen.BackgroundColor3=Color3.fromRGB(8,5,12);LoadScreen.ZIndex=1000;local LoadCenter=Instance.new("Frame",LoadScreen);LoadCenter.Size=UDim2.new(0,300,0,100);LoadCenter.Position=UDim2.new(0.5,-150,0.5,-50);LoadCenter.BackgroundTransparency=1;LoadCenter.ZIndex=1001;local LoadTitle=Instance.new("TextLabel",LoadCenter);LoadTitle.Size=UDim2.new(1,0,0,50);LoadTitle.Position=UDim2.new(0,0,0,-20);LoadTitle.BackgroundTransparency=1;LoadTitle.Text="N1GHTX";LoadTitle.TextColor3=Color3.fromRGB(255,255,255);LoadTitle.TextTransparency=1;LoadTitle.Font=Enum.Font.GothamBlack;LoadTitle.TextSize=45;LoadTitle.ZIndex=1002;local LoadGrad=UIGradientTemplate:Clone();LoadGrad.Parent=LoadTitle;table.insert(activeGradients,LoadGrad);local LoadStatus=Instance.new("TextLabel",LoadCenter);LoadStatus.Size=UDim2.new(1,0,0,20);LoadStatus.Position=UDim2.new(0,0,0,35);LoadStatus.BackgroundTransparency=1;LoadStatus.Text="INITIALIZING...";LoadStatus.TextColor3=Color3.fromRGB(180,150,255);LoadStatus.TextTransparency=1;LoadStatus.Font=Enum.Font.GothamMedium;LoadStatus.TextSize=12;LoadStatus.ZIndex=1002;local PctText=Instance.new("TextLabel",LoadCenter);PctText.Size=UDim2.new(1,0,0,20);PctText.Position=UDim2.new(0,0,0,55);PctText.BackgroundTransparency=1;PctText.Text="0%";PctText.TextColor3=Color3.fromRGB(255,255,255);PctText.TextTransparency=1;PctText.Font=Enum.Font.GothamBold;PctText.TextSize=14;PctText.ZIndex=1002;local LoadBarBg=Instance.new("Frame",LoadCenter);LoadBarBg.Size=UDim2.new(0,260,0,4);LoadBarBg.Position=UDim2.new(0.5,-130,1,-5);LoadBarBg.BackgroundColor3=Color3.fromRGB(30,20,40);LoadBarBg.BackgroundTransparency=1;LoadBarBg.ZIndex=1002;Instance.new("UICorner",LoadBarBg).CornerRadius=UDim.new(1,0);local LoadBarFill=Instance.new("Frame",LoadBarBg);LoadBarFill.Size=UDim2.new(0,0,1,0);LoadBarFill.BackgroundColor3=Color3.fromRGB(150,50,255);LoadBarFill.BackgroundTransparency=1;LoadBarFill.ZIndex=1003;Instance.new("UICorner",LoadBarFill).CornerRadius=UDim.new(1,0);local ts=TweenService;local tInfoFade=TweenInfo.new(1,Enum.EasingStyle.Quint,Enum.EasingDirection.Out);ts:Create(LoadTitle,tInfoFade,{TextTransparency=0,Position=UDim2.new(0,0,0,0)}):Play();ts:Create(LoadStatus,tInfoFade,{TextTransparency=0}):Play();ts:Create(PctText,tInfoFade,{TextTransparency=0}):Play();ts:Create(LoadBarBg,tInfoFade,{BackgroundTransparency=0}):Play();ts:Create(LoadBarFill,tInfoFade,{BackgroundTransparency=0}):Play();local progressVal=Instance.new("NumberValue");progressVal.Value=0;progressVal:GetPropertyChangedSignal("Value"):Connect(function()PctText.Text=tostring(math.floor(progressVal.Value)).."%";end);task.spawn(function()task.wait(0.5);LoadStatus.Text="BYPASSING ANTI-CHEAT...";task.wait(0.7);LoadStatus.Text="LOADING MODULES...";task.wait(0.6);LoadStatus.Text="READY!";end);local fillTween=ts:Create(LoadBarFill,TweenInfo.new(2,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{Size=UDim2.new(1,0,1,0)});local pctTween=ts:Create(progressVal,TweenInfo.new(2,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{Value=100});fillTween:Play();pctTween:Play();fillTween.Completed:Wait();task.wait(0.3);local exitInfo=TweenInfo.new(0.5,Enum.EasingStyle.Cubic,Enum.EasingDirection.In);ts:Create(LoadTitle,exitInfo,{TextTransparency=1}):Play();ts:Create(LoadStatus,exitInfo,{TextTransparency=1}):Play();ts:Create(PctText,exitInfo,{TextTransparency=1}):Play();ts:Create(LoadBarBg,exitInfo,{BackgroundTransparency=1}):Play();ts:Create(LoadBarFill,exitInfo,{BackgroundTransparency=1}):Play();task.wait(0.5);LoadTitle.Text="CHOOSE PLAYSTYLE";LoadTitle.TextSize=30;ts:Create(LoadTitle,tInfoFade,{TextTransparency=0}):Play();local StyleContainer=Instance.new("Frame",LoadCenter);StyleContainer.Size=UDim2.new(0,300,0,100);StyleContainer.Position=UDim2.new(0,0,0,60);StyleContainer.BackgroundTransparency=1;StyleContainer.ZIndex=1005;local BtnLegit=Instance.new("TextButton",StyleContainer);BtnLegit.Size=UDim2.new(0,140,0,45);BtnLegit.Position=UDim2.new(0,0,0,0);BtnLegit.BackgroundColor3=Color3.fromRGB(15,25,15);BtnLegit.Text="LEGIT";BtnLegit.TextColor3=Color3.fromRGB(100,255,100);BtnLegit.Font=Enum.Font.GothamBlack;BtnLegit.TextSize=16;Instance.new("UICorner",BtnLegit).CornerRadius=UDim.new(0,8);local StrokeLegit=Instance.new("UIStroke",BtnLegit);StrokeLegit.Color=Color3.fromRGB(50,150,50);local BtnHvH=Instance.new("TextButton",StyleContainer);BtnHvH.Size=UDim2.new(0,140,0,45);BtnHvH.Position=UDim2.new(1,-140,0,0);BtnHvH.BackgroundColor3=Color3.fromRGB(25,10,15);BtnHvH.Text="HVH";BtnHvH.TextColor3=Color3.fromRGB(255,100,100);BtnHvH.Font=Enum.Font.GothamBlack;BtnHvH.TextSize=16;Instance.new("UICorner",BtnHvH).CornerRadius=UDim.new(0,8);local StrokeHvH=Instance.new("UIStroke",BtnHvH);StrokeHvH.Color=Color3.fromRGB(150,50,50);local LegitDesc=Instance.new("TextLabel",BtnLegit);LegitDesc.Size=UDim2.new(1,0,0,20);LegitDesc.Position=UDim2.new(0,0,1,5);LegitDesc.BackgroundTransparency=1;LegitDesc.Text="Safe & Human-like";LegitDesc.TextColor3=Color3.fromRGB(150,200,150);LegitDesc.Font=Enum.Font.Gotham;LegitDesc.TextSize=11;local HvHDesc=Instance.new("TextLabel",BtnHvH);HvHDesc.Size=UDim2.new(1,0,0,20);HvHDesc.Position=UDim2.new(0,0,1,5);HvHDesc.BackgroundTransparency=1;HvHDesc.Text="Blatant & Fast";HvHDesc.TextColor3=Color3.fromRGB(200,150,150);HvHDesc.Font=Enum.Font.Gotham;HvHDesc.TextSize=11;ts:Create(StyleContainer,tInfoFade,{BackgroundTransparency=1}):Play();local playstyleChosen=false;BtnLegit.MouseButton1Click:Connect(function()UISoundOn:Play();Config.AimSmooth=8;Config.TriggerbotDelay=25;Config.AimFOV=90;currentPlaystyle="Legit";for _,label in ipairs(riskLabelsToUpdate)do label.Visible=true;end;playstyleChosen=true;end);BtnHvH.MouseButton1Click:Connect(function()UISoundOn:Play();Config.AimSmooth=1;Config.TriggerbotDelay=0;Config.AimFOV=300;currentPlaystyle="HVH";for _,label in ipairs(riskLabelsToUpdate)do label.Visible=false;end;playstyleChosen=true;end);repeat task.wait() until playstyleChosen;ts:Create(LoadTitle,exitInfo,{TextTransparency=1}):Play();ts:Create(BtnLegit,exitInfo,{BackgroundTransparency=1,TextTransparency=1}):Play();ts:Create(StrokeLegit,exitInfo,{Transparency=1}):Play();ts:Create(LegitDesc,exitInfo,{TextTransparency=1}):Play();ts:Create(BtnHvH,exitInfo,{BackgroundTransparency=1,TextTransparency=1}):Play();ts:Create(StrokeHvH,exitInfo,{Transparency=1}):Play();ts:Create(HvHDesc,exitInfo,{TextTransparency=1}):Play();task.wait(0.5);local screenFadeOut=ts:Create(LoadScreen,exitInfo,{BackgroundTransparency=1});screenFadeOut:Play();screenFadeOut.Completed:Wait();LoadScreen:Destroy();isLoaded=true;local MediaPlayer=Instance.new("Frame",ScreenGui);MediaPlayer.Size=UDim2.new(0,240,0,60);MediaPlayer.Position=UDim2.new(0.5,-120,0,-100);MediaPlayer.BackgroundColor3=Color3.fromRGB(15,10,20);MediaPlayer.Visible=false;Instance.new("UICorner",MediaPlayer).CornerRadius=UDim.new(0,8);local PlayerStroke=Instance.new("UIStroke",MediaPlayer);PlayerStroke.Color=Color3.fromRGB(105,20,255);PlayerStroke.Thickness=1;local AlbumArt=Instance.new("ImageLabel",MediaPlayer);AlbumArt.Size=UDim2.new(0,40,0,40);AlbumArt.Position=UDim2.new(0,10,0.5,-20);AlbumArt.BackgroundColor3=Color3.fromRGB(30,20,40);AlbumArt.Image="rbxassetid://13210411883";Instance.new("UICorner",AlbumArt).CornerRadius=UDim.new(0,6);local TrackName=Instance.new("TextLabel",MediaPlayer);TrackName.Size=UDim2.new(1,-110,0,20);TrackName.Position=UDim2.new(0,60,0,12);TrackName.BackgroundTransparency=1;TrackName.Text=Config.MusicTrack;TrackName.TextColor3=Color3.fromRGB(255,255,255);TrackName.Font=Enum.Font.GothamBold;TrackName.TextSize=14;TrackName.TextXAlignment=Enum.TextXAlignment.Left;TrackName.TextTruncate=Enum.TextTruncate.AtEnd;local TrackStatus=Instance.new("TextLabel",MediaPlayer);TrackStatus.Size=UDim2.new(1,-110,0,15);TrackStatus.Position=UDim2.new(0,60,0,32);TrackStatus.BackgroundTransparency=1;TrackStatus.Text="Playing...";TrackStatus.TextColor3=Color3.fromRGB(150,150,180);TrackStatus.Font=Enum.Font.GothamMedium;TrackStatus.TextSize=11;TrackStatus.TextXAlignment=Enum.TextXAlignment.Left;local PlayPauseBtn=Instance.new("TextButton",MediaPlayer);PlayPauseBtn.Size=UDim2.new(0,30,0,30);PlayPauseBtn.Position=UDim2.new(1,-40,0.5,-15);PlayPauseBtn.BackgroundColor3=Color3.fromRGB(105,20,255);PlayPauseBtn.Text="⏸";PlayPauseBtn.TextColor3=Color3.fromRGB(255,255,255);PlayPauseBtn.Font=Enum.Font.GothamBold;PlayPauseBtn.TextSize=14;Instance.new("UICorner",PlayPauseBtn).CornerRadius=UDim.new(1,0);local dragging,dragInput,dragStart,startPos;MediaPlayer.InputBegan:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 or input.UserInputType==Enum.UserInputType.Touch then dragging=true;dragStart=input.Position;startPos=MediaPlayer.Position;input.Changed:Connect(function()if input.UserInputState==Enum.UserInputState.End then dragging=false;end;end);end;end);MediaPlayer.InputChanged:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseMovement or input.UserInputType==Enum.UserInputType.Touch then dragInput=input;end;end);UserInputService.InputChanged:Connect(function(input)if input==dragInput and dragging then local delta=input.Position-dragStart;MediaPlayer.Position=UDim2.new(startPos.X.Scale,startPos.X.Offset+delta.X,startPos.Y.Scale,startPos.Y.Offset+delta.Y);end;end);PlayPauseBtn.MouseButton1Click:Connect(function()if MusicSound.IsPlaying then MusicSound:Pause();PlayPauseBtn.Text="▶";TrackStatus.Text="Paused";ts:Create(PlayPauseBtn,TweenInfo.new(0.2),{BackgroundColor3=Color3.fromRGB(40,30,50)}):Play();else MusicSound:Resume();PlayPauseBtn.Text="⏸";TrackStatus.Text="Playing...";ts:Create(PlayPauseBtn,TweenInfo.new(0.2),{BackgroundColor3=Color3.fromRGB(105,20,255)}):Play();end;end);local function UpdateMediaPlayer()if Config.Music then TrackName.Text=Config.MusicTrack;MediaPlayer.Visible=true;ts:Create(MediaPlayer,TweenInfo.new(0.5,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{Position=UDim2.new(0.5,-120,0,20)}):Play();else local tw=ts:Create(MediaPlayer,TweenInfo.new(0.3,Enum.EasingStyle.Quint,Enum.EasingDirection.In),{Position=UDim2.new(0.5,-120,0,-100)});tw:Play();tw.Completed:Connect(function()if not Config.Music then MediaPlayer.Visible=false;end;end);end;end;local MainFrame=Instance.new("Frame",ScreenGui);MainFrame.Size=UDim2.new(0,500,0,360);MainFrame.Position=UDim2.new(0.5,-250,0.5,300);MainFrame.BackgroundColor3=Color3.fromRGB(12,8,16);MainFrame.Visible=false;Instance.new("UICorner",MainFrame).CornerRadius=UDim.new(0,10);local md,mi,ms,mp,oP=false,nil,nil,nil,UDim2.new(0.5,-250,0.5,-180);MainFrame.InputBegan:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then md=true;ms=i.Position;mp=MainFrame.Position;i.Changed:Connect(function()if i.UserInputState==Enum.UserInputState.End then md=false;oP=MainFrame.Position;end;end);end;end);MainFrame.InputChanged:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseMovement or i.UserInputType==Enum.UserInputType.Touch then mi=i;end;end);UserInputService.InputChanged:Connect(function(i)if i==mi and md then local d=i.Position-ms;MainFrame.Position=UDim2.new(mp.X.Scale,mp.X.Offset+d.X,mp.Y.Scale,mp.Y.Offset+d.Y);end;end);local MainStroke=Instance.new("UIStroke",MainFrame);MainStroke.Thickness=2;local MainGrad=UIGradientTemplate:Clone();MainGrad.Parent=MainStroke;table.insert(activeGradients,MainGrad);local Title=Instance.new("TextLabel",MainFrame);Title.Size=UDim2.new(0,120,0,45);Title.Position=UDim2.new(0,15,0,0);Title.BackgroundTransparency=1;Title.Text="N1GHTX";Title.TextColor3=Color3.fromRGB(255,255,255);Title.Font=Enum.Font.GothamBlack;Title.TextSize=24;Title.TextXAlignment=Enum.TextXAlignment.Left;local TitleGrad=UIGradientTemplate:Clone();TitleGrad.Parent=Title;table.insert(activeGradients,TitleGrad);local PrankBtn=Instance.new("TextButton",Title);PrankBtn.Size=UDim2.new(0,15,0,15);PrankBtn.Position=UDim2.new(1,0,0.5,-7);PrankBtn.BackgroundTransparency=1;PrankBtn.Text="1";PrankBtn.TextColor3=Color3.fromRGB(60,40,80);PrankBtn.Font=Enum.Font.GothamBold;PrankBtn.TextSize=10;local PrankFrame=Instance.new("Frame",ScreenGui);PrankFrame.Size=UDim2.new(1,0,1,0);PrankFrame.BackgroundColor3=Color3.fromRGB(0,0,0);PrankFrame.ZIndex=9999;PrankFrame.Visible=false;local PrankStroke=Instance.new("UIStroke",PrankFrame);PrankStroke.Color=Color3.fromRGB(255,0,0);PrankStroke.Thickness=15;local GrimArt=Instance.new("TextLabel",PrankFrame);GrimArt.Size=UDim2.new(1,0,0,220);GrimArt.Position=UDim2.new(0,0,0.5,-150);GrimArt.BackgroundTransparency=1;GrimArt.TextColor3=Color3.fromRGB(240,240,240);GrimArt.Font=Enum.Font.Code;GrimArt.TextSize=11;GrimArt.TextXAlignment=Enum.TextXAlignment.Center;GrimArt.TextYAlignment=Enum.TextYAlignment.Center;GrimArt.Text="\n ;::::; :; \n ;:::::' :; \n ;:::::; ;. \n ,:::::' ; OOO\\ \n ::::::; ; OOOOO\\ \n ;:::::; ; OOOOOOOO \n ,;::::::; ;' / OOOOOOO \n ;:::::::::`. ,,,;. / / DOOOOOO \n .';:::::::::::::::::;, / / DOOOO \n,::::::;::::::;;;;::::;, / / DOOO \n;`::::::`'::::::;;;::::: ,#/ / DOOO \n:`:::::::`;::::::;;::: ;::# / DOOO \n::`:::::::`;:::::::: ;::::# / DOO \n`:`:::::::`;:::::: ;::::::#/ DOO \n:::`:::::::`;; ;:::::::::## OO \n::::`:::::::`;::::::::;:::# OO \n`:::::`::::::::::::;'`:;::# O \n `:::::`::::::::;' / / `:# \n ::::::`:::::;' / / `#";GrimArt.ZIndex=10000;local PrankText=Instance.new("TextLabel",PrankFrame);PrankText.Size=UDim2.new(1,0,0,80);PrankText.Position=UDim2.new(0,0,0.5,90);PrankText.BackgroundTransparency=1;PrankText.Text="ВАС ЗАМЕТИЛИ";PrankText.TextColor3=Color3.fromRGB(255,50,50);PrankText.Font=Enum.Font.GothamBlack;PrankText.TextSize=65;PrankText.ZIndex=10000;local PrankSound=Instance.new("Sound");PrankSound.SoundId="rbxassetid://138081509";PrankSound.Volume=10;PrankSound.Looped=true;PrankSound.Parent=game:GetService("SoundService");local spacePressCount=0;local prankActive=false;local glitchConn=nil;PrankBtn.MouseButton1Click:Connect(function()if prankActive then return;end;prankActive=true;spacePressCount=0;PrankFrame.Visible=true;PrankSound:Play();local isRed=true;glitchConn=RunService.RenderStepped:Connect(function()isRed=not isRed;PrankFrame.BackgroundColor3=isRed and Color3.fromRGB(80,0,0)or Color3.fromRGB(0,0,0);GrimArt.Position=UDim2.new(0,math.random(-15,15),0.5,-150+math.random(-15,15));PrankText.Position=UDim2.new(0,math.random(-10,10),0.5,90+math.random(-10,10));end);end);UserInputService.InputBegan:Connect(function(input,gameProcessed)if prankActive and input.KeyCode==Enum.KeyCode.Space then spacePressCount=spacePressCount+1;if spacePressCount>=3 then prankActive=false;if glitchConn then glitchConn:Disconnect();end;PrankSound:Stop();PrankFrame.Visible=false;end;end;end);local TooltipFrame=Instance.new("Frame",ScreenGui);TooltipFrame.BackgroundColor3=Color3.fromRGB(14,10,22);TooltipFrame.BackgroundTransparency=0.05;TooltipFrame.AutomaticSize=Enum.AutomaticSize.XY;TooltipFrame.Visible=false;TooltipFrame.ZIndex=200;Instance.new("UICorner",TooltipFrame).CornerRadius=UDim.new(0,8);local TooltipStroke=Instance.new("UIStroke",TooltipFrame);TooltipStroke.Color=Color3.fromRGB(150,50,255);TooltipStroke.Thickness=1.5;local TooltipPad=Instance.new("UIPadding",TooltipFrame);TooltipPad.PaddingLeft=UDim.new(0,12);TooltipPad.PaddingRight=UDim.new(0,12);TooltipPad.PaddingTop=UDim.new(0,8);TooltipPad.PaddingBottom=UDim.new(0,8);local TooltipLayout=Instance.new("UIListLayout",TooltipFrame);TooltipLayout.SortOrder=Enum.SortOrder.LayoutOrder;TooltipLayout.Padding=UDim.new(0,3);local TooltipTitle=Instance.new("TextLabel",TooltipFrame);TooltipTitle.BackgroundTransparency=1;TooltipTitle.AutomaticSize=Enum.AutomaticSize.XY;TooltipTitle.TextColor3=Color3.fromRGB(200,150,255);TooltipTitle.Font=Enum.Font.GothamBold;TooltipTitle.TextSize=13;TooltipTitle.ZIndex=201;TooltipTitle.LayoutOrder=1;local TooltipDesc=Instance.new("TextLabel",TooltipFrame);TooltipDesc.BackgroundTransparency=1;TooltipDesc.AutomaticSize=Enum.AutomaticSize.XY;TooltipDesc.TextColor3=Color3.fromRGB(180,180,210);TooltipDesc.Font=Enum.Font.Gotham;TooltipDesc.TextSize=11;TooltipDesc.ZIndex=201;TooltipDesc.LayoutOrder=2;local isHoveringTooltip=false;local function ShowTooltip(titleText,descText)if not MainFrame.Visible then return;end;TooltipTitle.Text=string.upper(titleText);if Config.LangEN and translations[descText]then TooltipDesc.Text=translations[descText];elseif not Config.LangEN and reverseTranslations[descText]then TooltipDesc.Text=reverseTranslations[descText];else TooltipDesc.Text=descText;end;isHoveringTooltip=true;TooltipFrame.Visible=true;end;local function HideTooltip()isHoveringTooltip=false;TooltipFrame.Visible=false;end;RunService.RenderStepped:Connect(function()if isHoveringTooltip and TooltipFrame.Visible then TooltipFrame.Position=UDim2.new(0,Mouse.X+18,0,Mouse.Y+18);end;end);local TabContainer=Instance.new("Frame",MainFrame);TabContainer.Size=UDim2.new(0,130,1,-45);TabContainer.Position=UDim2.new(1,-130,0,45);TabContainer.BackgroundTransparency=1;local TabListLayout=Instance.new("UIListLayout",TabContainer);TabListLayout.SortOrder=Enum.SortOrder.LayoutOrder;TabListLayout.Padding=UDim.new(0,12);TabListLayout.HorizontalAlignment=Enum.HorizontalAlignment.Right;Instance.new("UIPadding",TabContainer).PaddingRight=UDim.new(0,20);Instance.new("UIPadding",TabContainer).PaddingTop=UDim.new(0,10);local Separator=Instance.new("Frame",MainFrame);Separator.Size=UDim2.new(0,1,1,-65);Separator.Position=UDim2.new(1,-135,0,55);Separator.BackgroundColor3=Color3.fromRGB(40,20,60);Separator.BorderSizePixel=0;local ContentContainer=Instance.new("Frame",MainFrame);ContentContainer.Size=UDim2.new(1,-136,1,-45);ContentContainer.Position=UDim2.new(0,0,0,45);ContentContainer.BackgroundTransparency=1;local NotifContainer=Instance.new("Frame",ScreenGui);NotifContainer.Size=UDim2.new(0,200,1,-20);NotifContainer.Position=UDim2.new(1,-220,0,10);NotifContainer.BackgroundTransparency=1;local NotifLayout=Instance.new("UIListLayout",NotifContainer);NotifLayout.VerticalAlignment=Enum.VerticalAlignment.Bottom;NotifLayout.HorizontalAlignment=Enum.HorizontalAlignment.Right;NotifLayout.Padding=UDim.new(0,10);local function SendNotification(text,isAlert)local frame=Instance.new("Frame",NotifContainer);frame.Size=UDim2.new(0,200,0,35);frame.BackgroundColor3=Color3.fromRGB(15,10,20);frame.BackgroundTransparency=1;Instance.new("UICorner",frame).CornerRadius=UDim.new(0,6);local stroke=Instance.new("UIStroke",frame);stroke.Color=isAlert and Color3.fromRGB(255,50,50)or Color3.fromRGB(105,20,255);stroke.Transparency=1;local label=Instance.new("TextLabel",frame);label.Size=UDim2.new(1,-10,1,0);label.Position=UDim2.new(0,5,0,0);label.BackgroundTransparency=1;label.Text=text;label.TextColor3=isAlert and Color3.fromRGB(255,100,100)or Color3.fromRGB(220,220,255);label.Font=Enum.Font.GothamMedium;label.TextSize=13;label.TextTransparency=1;ts:Create(frame,TweenInfo.new(0.3),{BackgroundTransparency=0}):Play();ts:Create(stroke,TweenInfo.new(0.3),{Transparency=0}):Play();ts:Create(label,TweenInfo.new(0.3),{TextTransparency=0}):Play();task.delay(3,function()ts:Create(frame,TweenInfo.new(0.3),{BackgroundTransparency=1}):Play();ts:Create(stroke,TweenInfo.new(0.3),{Transparency=1}):Play();ts:Create(label,TweenInfo.new(0.3),{TextTransparency=1}):Play();task.wait(0.3);frame:Destroy();end);end;local SettingsModal=Instance.new("Frame",ScreenGui);SettingsModal.Size=UDim2.new(0,320,0,260);SettingsModal.Position=UDim2.new(0.5,-160,0.5,400);SettingsModal.BackgroundColor3=Color3.fromRGB(20,14,28);SettingsModal.Visible=false;SettingsModal.ZIndex=50;Instance.new("UICorner",SettingsModal).CornerRadius=UDim.new(0,10);local ModalStroke=Instance.new("UIStroke",SettingsModal);ModalStroke.Thickness=1;local ModalGrad=UIGradientTemplate:Clone();ModalGrad.Parent=ModalStroke;table.insert(activeGradients,ModalGrad);local ModalTitle=Instance.new("TextLabel",SettingsModal);ModalTitle.Size=UDim2.new(1,-40,0,40);ModalTitle.Position=UDim2.new(0,15,0,0);ModalTitle.BackgroundTransparency=1;ModalTitle.TextColor3=Color3.fromRGB(255,255,255);ModalTitle.Font=Enum.Font.GothamBold;ModalTitle.TextSize=15;ModalTitle.TextXAlignment=Enum.TextXAlignment.Left;local ModalCloseBtn=Instance.new("TextButton",SettingsModal);ModalCloseBtn.Size=UDim2.new(0,30,0,30);ModalCloseBtn.Position=UDim2.new(1,-35,0,5);ModalCloseBtn.BackgroundTransparency=1;ModalCloseBtn.Text="✕";ModalCloseBtn.TextColor3=Color3.fromRGB(150,100,255);ModalCloseBtn.Font=Enum.Font.GothamBold;ModalCloseBtn.TextSize=16;local ModalContent=Instance.new("ScrollingFrame",SettingsModal);ModalContent.Size=UDim2.new(1,-20,1,-50);ModalContent.Position=UDim2.new(0,10,0,45);ModalContent.BackgroundTransparency=1;ModalContent.ScrollBarThickness=3;ModalContent.ScrollBarImageColor3=Color3.fromRGB(105,20,255);ModalContent.AutomaticCanvasSize=Enum.AutomaticSize.Y;local ModalLayout=Instance.new("UIListLayout",ModalContent);ModalLayout.Padding=UDim.new(0,10);ModalLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()ModalContent.CanvasSize=UDim2.new(0,0,0,ModalLayout.AbsoluteContentSize.Y+10);end);local function OpenSettings(featureName,populateFunc)ModalTitle.Text=string.upper(featureName).." SETTINGS";for _,child in ipairs(ModalContent:GetChildren())do if not child:IsA("UIListLayout")then child:Destroy();end;end;populateFunc(ModalContent);SettingsModal.Position=UDim2.new(0.5,-160,0.5,400);SettingsModal.Visible=true;ts:Create(SettingsModal,TweenInfo.new(0.4,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position=UDim2.new(0.5,-160,0.5,-130)}):Play();end;ModalCloseBtn.MouseButton1Click:Connect(function()local tw=ts:Create(SettingsModal,TweenInfo.new(0.3,Enum.EasingStyle.Quint,Enum.EasingDirection.In),{Position=UDim2.new(0.5,-160,0.5,400)});tw:Play();tw.Completed:Connect(function()SettingsModal.Visible=false;end);end);local function AddModalSlider(parent,textName,min,max,configKey,onUpdate)local Frame=Instance.new("Frame",parent);Frame.Size=UDim2.new(1,0,0,45);Frame.BackgroundTransparency=1;local Label=Instance.new("TextLabel",Frame);Label.Size=UDim2.new(1,0,0,15);Label.BackgroundTransparency=1;Label.Text=textName..": "..tostring(Config[configKey]);Label.TextColor3=Color3.fromRGB(220,220,255);Label.Font=Enum.Font.GothamMedium;Label.TextSize=13;Label.TextXAlignment=Enum.TextXAlignment.Left;local BackgroundBar=Instance.new("Frame",Frame);BackgroundBar.Size=UDim2.new(1,-15,0,4);BackgroundBar.Position=UDim2.new(0,5,0,30);BackgroundBar.BackgroundColor3=Color3.fromRGB(35,25,45);Instance.new("UICorner",BackgroundBar).CornerRadius=UDim.new(1,0);local FillBar=Instance.new("Frame",BackgroundBar);FillBar.Size=UDim2.new((Config[configKey]-min)/(max-min),0,1,0);FillBar.BackgroundColor3=Color3.fromRGB(150,50,255);Instance.new("UICorner",FillBar).CornerRadius=UDim.new(1,0);local DragBtn=Instance.new("TextButton",FillBar);DragBtn.Size=UDim2.new(0,14,0,14);DragBtn.Position=UDim2.new(1,-7,0.5,-7);DragBtn.BackgroundColor3=Color3.fromRGB(255,255,255);DragBtn.Text="";Instance.new("UICorner",DragBtn).CornerRadius=UDim.new(1,0);local dragging=false;DragBtn.MouseButton1Down:Connect(function()dragging=true;end);UserInputService.InputEnded:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 then dragging=false;end;end);UserInputService.InputChanged:Connect(function(input)if dragging and input.UserInputType==Enum.UserInputType.MouseMovement then local mousePos=UserInputService:GetMouseLocation().X;local barPos=BackgroundBar.AbsolutePosition.X;local barSize=BackgroundBar.AbsoluteSize.X;local percentage=math.clamp((mousePos-barPos)/barSize,0,1);local value=math.floor(min+((max-min)*percentage));Config[configKey]=value;Label.Text=textName..": "..tostring(value);ts:Create(FillBar,TweenInfo.new(0.05),{Size=UDim2.new(percentage,0,1,0)}):Play();if onUpdate then onUpdate(value);end;end;end);end;local function AddModalColor(parent,textName,configKey)local Frame=Instance.new("Frame",parent);Frame.Size=UDim2.new(1,0,0,45);Frame.BackgroundTransparency=1;local Label=Instance.new("TextLabel",Frame);Label.Size=UDim2.new(1,0,0,15);Label.BackgroundTransparency=1;Label.Text=textName;Label.TextColor3=Color3.fromRGB(220,220,255);Label.Font=Enum.Font.GothamMedium;Label.TextSize=13;Label.TextXAlignment=Enum.TextXAlignment.Left;local PaletteContainer=Instance.new("Frame",Frame);PaletteContainer.Size=UDim2.new(1,0,0,20);PaletteContainer.Position=UDim2.new(0,5,0,22);PaletteContainer.BackgroundTransparency=1;local layout=Instance.new("UIListLayout",PaletteContainer);layout.FillDirection=Enum.FillDirection.Horizontal;layout.Padding=UDim.new(0,8);local palette={Color3.fromRGB(150,40,255),Color3.fromRGB(255,40,40),Color3.fromRGB(40,255,100),Color3.fromRGB(40,200,255),Color3.fromRGB(255,215,0),Color3.fromRGB(255,255,255)};for _,color in ipairs(palette)do local btn=Instance.new("TextButton",PaletteContainer);btn.Size=UDim2.new(0,20,0,20);btn.BackgroundColor3=color;btn.Text="";Instance.new("UICorner",btn).CornerRadius=UDim.new(0,4);local stroke=Instance.new("UIStroke",btn);stroke.Thickness=1;stroke.Color=(Config[configKey]==color)and Color3.new(1,1,1)or Color3.fromRGB(50,30,60);btn.MouseButton1Click:Connect(function()Config[configKey]=color;for _,child in ipairs(PaletteContainer:GetChildren())do if child:IsA("TextButton")then child.UIStroke.Color=Color3.fromRGB(50,30,60);end;end;stroke.Color=Color3.new(1,1,1);end);end;end;local function AddModalDropdown(parent,textName,options,configKey,onUpdate)local Frame=Instance.new("Frame",parent);Frame.Size=UDim2.new(1,0,0,35);Frame.BackgroundTransparency=1;local Label=Instance.new("TextLabel",Frame);Label.Size=UDim2.new(1,-100,1,0);Label.BackgroundTransparency=1;Label.Text=textName;Label.TextColor3=Color3.fromRGB(220,220,255);Label.Font=Enum.Font.GothamMedium;Label.TextSize=13;Label.TextXAlignment=Enum.TextXAlignment.Left;local DropBtn=Instance.new("TextButton",Frame);DropBtn.Size=UDim2.new(0,90,0,24);DropBtn.Position=UDim2.new(1,-95,0.5,-12);DropBtn.BackgroundColor3=Color3.fromRGB(35,25,45);DropBtn.Text=Config[configKey];DropBtn.TextColor3=Color3.fromRGB(200,180,255);DropBtn.Font=Enum.Font.GothamBold;DropBtn.TextSize=12;Instance.new("UICorner",DropBtn).CornerRadius=UDim.new(0,6);local optIdx=1;for i,v in ipairs(options)do if v==Config[configKey]then optIdx=i;end;end;DropBtn.MouseButton1Click:Connect(function()optIdx=optIdx+1;if optIdx>#options then optIdx=1;end;Config[configKey]=options[optIdx];DropBtn.Text=options[optIdx];if onUpdate then onUpdate(options[optIdx]);end;end);end;local function AddModalTextBox(parent,textName,configKey,onUpdate)local Frame=Instance.new("Frame",parent);Frame.Size=UDim2.new(1,0,0,35);Frame.BackgroundTransparency=1;local Label=Instance.new("TextLabel",Frame);Label.Size=UDim2.new(1,-100,1,0);Label.BackgroundTransparency=1;Label.Text=textName;Label.TextColor3=Color3.fromRGB(220,220,255);Label.Font=Enum.Font.GothamMedium;Label.TextSize=13;Label.TextXAlignment=Enum.TextXAlignment.Left;local TextBox=Instance.new("TextBox",Frame);TextBox.Size=UDim2.new(0,90,0,24);TextBox.Position=UDim2.new(1,-95,0.5,-12);TextBox.BackgroundColor3=Color3.fromRGB(35,25,45);TextBox.Text=tostring(Config[configKey]);TextBox.TextColor3=Color3.fromRGB(200,180,255);TextBox.Font=Enum.Font.GothamMedium;TextBox.TextSize=11;TextBox.ClearTextOnFocus=false;Instance.new("UICorner",TextBox).CornerRadius=UDim.new(0,6);TextBox.FocusLost:Connect(function()Config[configKey]=TextBox.Text;if onUpdate then onUpdate(TextBox.Text);end;end);end;local function AddModalToggle(parent,textName,configKey)local Frame=Instance.new("Frame",parent);Frame.Size=UDim2.new(1,0,0,35);Frame.BackgroundTransparency=1;local Label=Instance.new("TextLabel",Frame);Label.Size=UDim2.new(1,-50,1,0);Label.BackgroundTransparency=1;Label.Text=textName;Label.TextColor3=Color3.fromRGB(220,220,255);Label.Font=Enum.Font.GothamMedium;Label.TextSize=13;Label.TextXAlignment=Enum.TextXAlignment.Left;local ToggleBg=Instance.new("TextButton",Frame);ToggleBg.Size=UDim2.new(0,38,0,20);ToggleBg.Position=UDim2.new(1,-38,0.5,-10);ToggleBg.BackgroundColor3=Config[configKey]and Color3.fromRGB(105,20,255)or Color3.fromRGB(35,25,45);ToggleBg.Text="";Instance.new("UICorner",ToggleBg).CornerRadius=UDim.new(1,0);local ToggleCircle=Instance.new("Frame",ToggleBg);ToggleCircle.Size=UDim2.new(0,14,0,14);ToggleCircle.Position=Config[configKey]and UDim2.new(1,-17,0.5,-7)or UDim2.new(0,3,0.5,-7);ToggleCircle.BackgroundColor3=Color3.fromRGB(255,255,255);Instance.new("UICorner",ToggleCircle).CornerRadius=UDim.new(1,0);ToggleBg.MouseButton1Click:Connect(function()Config[configKey]=not Config[configKey];if Config[configKey]then ts:Create(ToggleBg,TweenInfo.new(0.2),{BackgroundColor3=Color3.fromRGB(105,20,255)}):Play();ts:Create(ToggleCircle,TweenInfo.new(0.2),{Position=UDim2.new(1,-17,0.5,-7)}):Play();else ts:Create(ToggleBg,TweenInfo.new(0.2),{BackgroundColor3=Color3.fromRGB(35,25,45)}):Play();ts:Create(ToggleCircle,TweenInfo.new(0.2),{Position=UDim2.new(0,3,0.5,-7)}):Play();end;end);end;local function CreateToggle(parentPage,textName,configKey,descTitle,descText,settingsCallback,toggleCallback,showRisk)local ToggleFrame=Instance.new("Frame",parentPage);ToggleFrame.Size=UDim2.new(1,-20,0,34);ToggleFrame.BackgroundTransparency=1;local Label=Instance.new("TextLabel",ToggleFrame);Label.Size=UDim2.new(1,-195,1,0);Label.BackgroundTransparency=1;Label.Text=textName;Label.TextColor3=Color3.fromRGB(230,230,255);Label.Font=Enum.Font.GothamMedium;Label.TextSize=14;Label.TextXAlignment=Enum.TextXAlignment.Left;if settingsCallback then local GearBtn=Instance.new("TextButton",ToggleFrame);GearBtn.Size=UDim2.new(0,24,0,24);GearBtn.Position=UDim2.new(1,-118,0.5,-12);GearBtn.BackgroundColor3=Color3.fromRGB(25,15,35);GearBtn.Text="⚙";GearBtn.TextColor3=Color3.fromRGB(150,100,255);GearBtn.Font=Enum.Font.GothamBold;GearBtn.TextSize=16;Instance.new("UICorner",GearBtn).CornerRadius=UDim.new(0,6);GearBtn.MouseEnter:Connect(function()ts:Create(GearBtn,TweenInfo.new(0.3),{Rotation=90,BackgroundColor3=Color3.fromRGB(40,25,60)}):Play();end);GearBtn.MouseLeave:Connect(function()ts:Create(GearBtn,TweenInfo.new(0.3),{Rotation=0,BackgroundColor3=Color3.fromRGB(25,15,35)}):Play();end);GearBtn.MouseButton1Click:Connect(function()OpenSettings(textName,settingsCallback);end);end;if showRisk then local RiskBadge=Instance.new("TextLabel",ToggleFrame);RiskBadge.Size=UDim2.new(0,42,0,18);local riskX=settingsCallback and-165 or-118;RiskBadge.Position=UDim2.new(1,riskX,0.5,-9);RiskBadge.BackgroundColor3=Color3.fromRGB(60,10,10);RiskBadge.Text="RISK!";RiskBadge.TextColor3=Color3.fromRGB(255,80,80);RiskBadge.Font=Enum.Font.GothamBold;RiskBadge.TextSize=10;Instance.new("UICorner",RiskBadge).CornerRadius=UDim.new(0,4);local rStroke=Instance.new("UIStroke",RiskBadge);rStroke.Color=Color3.fromRGB(200,50,50);RiskBadge.Visible=(currentPlaystyle=="Legit");table.insert(riskLabelsToUpdate,RiskBadge);end;local BindBtn=Instance.new("TextButton",ToggleFrame);BindBtn.Size=UDim2.new(0,45,0,22);BindBtn.Position=UDim2.new(1,-90,0.5,-11);BindBtn.BackgroundColor3=Color3.fromRGB(30,20,40);BindBtn.Text="[ + ]";BindBtn.TextColor3=Color3.fromRGB(120,90,200);BindBtn.Font=Enum.Font.GothamMedium;BindBtn.TextSize=12;Instance.new("UICorner",BindBtn).CornerRadius=UDim.new(0,4);local ToggleBg=Instance.new("TextButton",ToggleFrame);ToggleBg.Size=UDim2.new(0,38,0,20);ToggleBg.Position=UDim2.new(1,-38,0.5,-10);ToggleBg.BackgroundColor3=Color3.fromRGB(35,25,45);ToggleBg.Text="";Instance.new("UICorner",ToggleBg).CornerRadius=UDim.new(1,0);local ToggleCircle=Instance.new("Frame",ToggleBg);ToggleCircle.Size=UDim2.new(0,14,0,14);ToggleCircle.Position=UDim2.new(0,3,0.5,-7);ToggleCircle.BackgroundColor3=Color3.fromRGB(150,150,180);Instance.new("UICorner",ToggleCircle).CornerRadius=UDim.new(1,0);ToggleFrame.MouseEnter:Connect(function()ShowTooltip(descTitle,descText);end);ToggleFrame.MouseLeave:Connect(function()HideTooltip();end);local function SetState(state)Config[configKey]=state;if state then UISoundOn:Play();ts:Create(ToggleBg,TweenInfo.new(0.3,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{BackgroundColor3=Color3.fromRGB(105,20,255)}):Play();ts:Create(ToggleCircle,TweenInfo.new(0.3,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{Position=UDim2.new(1,-17,0.5,-7),BackgroundColor3=Color3.fromRGB(255,255,255)}):Play();else UISoundOff:Play();ts:Create(ToggleBg,TweenInfo.new(0.3,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{BackgroundColor3=Color3.fromRGB(35,25,45)}):Play();ts:Create(ToggleCircle,TweenInfo.new(0.3,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{Position=UDim2.new(0,3,0.5,-7),BackgroundColor3=Color3.fromRGB(150,150,180)}):Play();end;if toggleCallback then toggleCallback(state);end;end;ToggleBg.MouseButton1Click:Connect(function()SetState(not Config[configKey]);end);BindBtn.MouseButton1Click:Connect(function()BindBtn.Text="[ ... ]";BindingAction={Key=configKey,Btn=BindBtn};end);ToggleUIFunctions[configKey]={Set=SetState,Name=textName};end;local pages={};local function CreateTab(name,layoutOrder)local TabBtn=Instance.new("TextButton",TabContainer);TabBtn.Size=UDim2.new(0,110,0,32);TabBtn.BackgroundTransparency=1;TabBtn.Text=name;TabBtn.TextColor3=Color3.fromRGB(150,150,180);TabBtn.TextSize=15;TabBtn.Font=Enum.Font.GothamBold;TabBtn.TextXAlignment=Enum.TextXAlignment.Right;TabBtn.LayoutOrder=layoutOrder;local Page=Instance.new("ScrollingFrame",ContentContainer);Page.Size=UDim2.new(1,0,1,0);Page.BackgroundTransparency=1;Page.ScrollBarThickness=2;Page.ScrollBarImageColor3=Color3.fromRGB(105,20,255);Page.Visible=false;Instance.new("UIListLayout",Page).Padding=UDim.new(0,8);local PagePad=Instance.new("UIPadding",Page);PagePad.PaddingTop=UDim.new(0,15);PagePad.PaddingLeft=UDim.new(0,15);pages[name]={Button=TabBtn,Page=Page};TabBtn.MouseButton1Click:Connect(function()for tName,data in pairs(pages)do if tName==name then data.Page.Visible=true;ts:Create(data.Button,TweenInfo.new(0.3),{TextSize=18,TextColor3=Color3.fromRGB(255,255,255)}):Play();else data.Page.Visible=false;ts:Create(data.Button,TweenInfo.new(0.3),{TextSize=15,TextColor3=Color3.fromRGB(150,150,180)}):Play();end;end;end);return Page;end;local MainPage=CreateTab("Main",1);CreateToggle(MainPage,"English Language","LangEN","LANGUAGE","Выбор языка / Language selection. Вкл (On) = EN, Выкл (Off) = RU.");CreateToggle(MainPage,"Auto Jump","AutoJump","AUTO JUMP","Автоматически удерживает прыжок для беспрерывного движения.");CreateToggle(MainPage,"Bunnyhop","BHop","BUNNYHOP","Мгновенно ускоряет персонажа при каждом приземлении.",function(content)AddModalSlider(content,"Speed",20,150,"BHopSpeed");end,nil,true);CreateToggle(MainPage,"Spinbot","Spinbot","SPINBOT 360","Бешено вращает персонажа вокруг оси, дезориентируя врагов.",nil,nil,true);local CombatPage=CreateTab("Combat",2);CreateToggle(CombatPage,"Aimbot","Aimbot","PRECISION AIMBOT","Мгновенно или плавно наводит прицел на голову противника.",function(content)AddModalSlider(content,"Smoothness",1,20,"AimSmooth");AddModalSlider(content,"FOV Radius",30,400,"AimFOV");AddModalToggle(content,"Draw FOV","DrawFOV");AddModalToggle(content,"Wall Check","WallCheck");end);CreateToggle(CombatPage,"Triggerbot","Triggerbot","TRIGGERBOT","Производит автоматический выстрел при появлении врага в прицеле.",function(content)AddModalSlider(content,"Delay (ms)",0,100,"TriggerbotDelay");end);CreateToggle(CombatPage,"Team Check","TeamCheck","TEAM FILTER","Исключает союзников из списка целей для аима и подсветки.");local EspPage=CreateTab("Esp",3);CreateToggle(EspPage,"Chams","Chams","CHAMS HIGHLIGHT","Подсвечивает модели игроков ярким силуэтом сквозь стены.",function(content)AddModalColor(content,"Chams Color","ChamsColor");end);CreateToggle(EspPage,"3D Box","Esp3DBox","3D WIREFRAME BOX","Рисует объемный каркасный куб вокруг каждого врага.",function(content)AddModalColor(content,"Box Color","ChamsColor");end);CreateToggle(EspPage,"HP Bar","EspHpBar","DYNAMIC HP BAR","Выводит точную полоску здоровья соперника в реальном времени.");local VisualPage=CreateTab("Visual",4);CreateToggle(VisualPage,"Trails","Trails","NEON TRAILS","Оставляет шлейф из красивых частиц за конечностями при беге.",function(content)AddModalColor(content,"Trails Color","TrailsColor");end);local CrosshairPage=CreateTab("Crosshair",5);CreateToggle(CrosshairPage,"Enable Crosshair","Crosshair","CUSTOM CROSSHAIR","Включает кастомный прицел по центру экрана.",function(content)AddModalDropdown(content,"Style",{"Cross","Dot","CrossDot","Circle"},"CrosshairStyle");AddModalSlider(content,"Size",2,40,"CrosshairSize");AddModalColor(content,"Color","CrosshairColor");end);local MusicPage=CreateTab("Music",6);CreateToggle(MusicPage,"Enable Radio","Music","N1GHTX RADIO","Активирует аудиоплеер с атмосферными треками.",function(content)AddModalDropdown(content,"Track",{"Phonk","Boundless","Custom"},"MusicTrack",function(val)if val=="Custom" then MusicSound.SoundId="rbxassetid://"..Config.CustomMusicID;else MusicSound.SoundId=MusicTracks[val];end;if Config.Music then MusicSound:Play();PlayPauseBtn.Text="⏸";TrackStatus.Text="Playing...";end;UpdateMediaPlayer();end);AddModalTextBox(content,"Custom ID","CustomMusicID",function(val)if Config.MusicTrack=="Custom" then MusicSound.SoundId="rbxassetid://"..val;if Config.Music then MusicSound:Play();end;end;end);AddModalSlider(content,"Volume",1,10,"MusicVolume",function(val)MusicSound.Volume=val/10;end);end,function(state)if state then if Config.MusicTrack=="Custom" then MusicSound.SoundId="rbxassetid://"..Config.CustomMusicID;else MusicSound.SoundId=MusicTracks[Config.MusicTrack];end;MusicSound.Volume=Config.MusicVolume/10;MusicSound:Play();PlayPauseBtn.Text="⏸";TrackStatus.Text="Playing...";else MusicSound:Stop();end;UpdateMediaPlayer();end);local SecurityPage=CreateTab("Security",7);CreateToggle(SecurityPage,"Anti-Cheat Scanner","ACScanner","ANTI-CHEAT SCANNER","Сканирует сервер на наличие скриптов слежки и банов.",nil,function(state)if state then SendNotification(Config.LangEN and "Starting game scan..." or "Начинаю скан игры...",false);local foundThreats=0;local keywords={"anti","ban","kick","detect","cheat","adonis"};for _,obj in ipairs(game:GetDescendants())do if obj:IsA("RemoteEvent")or obj:IsA("RemoteFunction")then local name=string.lower(obj.Name);for _,word in ipairs(keywords)do if string.find(name,word)then foundThreats=foundThreats+1;SendNotification((Config.LangEN and "⚠️ Threat: " or "⚠️ Угроза: ")..obj.Name,true);break;end;end;end;end;if foundThreats==0 then SendNotification(Config.LangEN and "✅ Server is clean" or "✅ Сервер чист",false);end;end;end);CreateToggle(SecurityPage,"Staff Detector","StaffDetector","ADMIN DETECTOR","Предупреждает о появлении администраторов в сессии.");pages["Main"].Page.Visible=true;ts:Create(pages["Main"].Button,TweenInfo.new(0),{TextSize=18,TextColor3=Color3.fromRGB(255,255,255)}):Play();UserInputService.InputBegan:Connect(function(input,gameProcessed)if not isLoaded then return;end;if input.UserInputType==Enum.UserInputType.Keyboard then if BindingAction then if input.KeyCode==Enum.KeyCode.Escape then Binds[BindingAction.Key]=nil;BindingAction.Btn.Text="[ + ]";else Binds[BindingAction.Key]=input.KeyCode;BindingAction.Btn.Text="[ "..input.KeyCode.Name.." ]";end;BindingAction=nil;return;end;if input.KeyCode==Enum.KeyCode.RightShift and not gameProcessed then local isOpen=MainFrame.Visible;HideTooltip();if SettingsModal.Visible then SettingsModal.Visible=false;SettingsModal.Position=UDim2.new(0.5,-160,0.5,400);end;if not isOpen then MainFrame.Visible=true;ts:Create(MainFrame,TweenInfo.new(0.55,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position=oP}):Play();else local closeTween=ts:Create(MainFrame,TweenInfo.new(0.4,Enum.EasingStyle.Quint,Enum.EasingDirection.In),{Position=UDim2.new(oP.X.Scale,oP.X.Offset,oP.Y.Scale,oP.Y.Offset+600)});closeTween:Play();closeTween.Completed:Connect(function()MainFrame.Visible=false;end);end;return;end;if not gameProcessed then for funcKey,keycode in pairs(Binds)do if input.KeyCode==keycode then local uiData=ToggleUIFunctions[funcKey];local newState=not Config[funcKey];uiData.Set(newState);local stateText=newState and "Вкл" or "Выкл";if Config.LangEN then stateText=newState and "On" or "Off";end;SendNotification(stateText.." - "..uiData.Name,false);end;end;end;end;end);local isAiming=false;UserInputService.InputBegan:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton2 then isAiming=true;end;end);UserInputService.InputEnded:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton2 then isAiming=false;end;end);local activeTrails={};local targetLimbNames={"HumanoidRootPart","RightHand","LeftHand","RightFoot","LeftFoot","Right Arm","Left Arm","Right Leg","Left Leg"};local lastTriggerTime=0;RunService.RenderStepped:Connect(function()local char=LocalPlayer.Character;local hrp=char and char:FindFirstChild("HumanoidRootPart");local humanoid=char and char:FindFirstChild("Humanoid");if humanoid and hrp then local isHoldingSpace=UserInputService:IsKeyDown(Enum.KeyCode.Space);local shouldJump=Config.AutoJump or isHoldingSpace;if shouldJump then humanoid.Jump=true;if Config.BHop and humanoid.MoveDirection.Magnitude>0 then local dir=humanoid.MoveDirection;hrp.Velocity=Vector3.new(dir.X*Config.BHopSpeed,hrp.Velocity.Y,dir.Z*Config.BHopSpeed);end;end;end;if Config.Spinbot and hrp then hrp.CFrame=hrp.CFrame*CFrame.Angles(0,math.rad(45),0);end;if Config.Trails and char then for _,partName in ipairs(targetLimbNames)do local limb=char:FindFirstChild(partName);if limb and limb:IsA("BasePart")then if not activeTrails[limb]then local a0=Instance.new("Attachment",limb);a0.Position=Vector3.new(0,limb.Size.Y/2,0);local a1=Instance.new("Attachment",limb);a1.Position=Vector3.new(0,-limb.Size.Y/2,0);local tr=Instance.new("Trail",limb);tr.Attachment0=a0;tr.Attachment1=a1;tr.Lifetime=0.5;tr.LightEmission=1;tr.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)});tr.WidthScale=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)});activeTrails[limb]={tr,a0,a1};end;activeTrails[limb][1].Color=ColorSequence.new(Config.TrailsColor);end;end;else for limb,data in pairs(activeTrails)do data[1]:Destroy();data[2]:Destroy();data[3]:Destroy();end;table.clear(activeTrails);end;local targetAim=nil;local shortestDist=math.huge;local mousePos=UserInputService:GetMouseLocation();for _,player in ipairs(Players:GetPlayers())do if player~=LocalPlayer then local pChar=player.Character;local pHum=pChar and pChar:FindFirstChild("Humanoid");local isValid=pChar and pChar:FindFirstChild("Head")and pHum and pHum.Health>0;local isTeammate=(Config.TeamCheck and player.Team==LocalPlayer.Team);local highlight=chFld:FindFirstChild(player.Name);if isValid and Config.Chams and not isTeammate then if not highlight then highlight=Instance.new("Highlight");highlight.Name=player.Name;highlight.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop;highlight.FillTransparency=0.5;highlight.OutlineTransparency=0;highlight.Parent=chFld;end;highlight.Adornee=pChar;highlight.FillColor=Config.ChamsColor;highlight.OutlineColor=Config.ChamsColor;elseif highlight then highlight:Destroy();end;local box3d=pChar and pChar:FindFirstChild("N1ghtX_3DBox");if isValid and Config.Esp3DBox and not isTeammate then if not box3d then box3d=Instance.new("SelectionBox");box3d.Name="N1ghtX_3DBox";box3d.Adornee=pChar;box3d.SurfaceTransparency=1;box3d.LineThickness=0.05;box3d.Parent=pChar;end;box3d.Color3=Config.ChamsColor;elseif box3d then box3d:Destroy();end;local hpBar=pChar and pChar:FindFirstChild("N1ghtX_HpBar");if isValid and Config.EspHpBar and not isTeammate then if not hpBar then hpBar=Instance.new("BillboardGui");hpBar.Name="N1ghtX_HpBar";hpBar.Adornee=pChar:FindFirstChild("HumanoidRootPart")or pChar.Head;hpBar.Size=UDim2.new(0,4,4,0);hpBar.StudsOffset=Vector3.new(-2.5,0,0);hpBar.AlwaysOnTop=true;local bg=Instance.new("Frame",hpBar);bg.Size=UDim2.new(1,0,1,0);bg.BackgroundColor3=Color3.fromRGB(255,0,0);bg.BorderSizePixel=0;local fill=Instance.new("Frame",bg);fill.Name="Fill";fill.Position=UDim2.new(0,0,1,0);fill.AnchorPoint=Vector2.new(0,1);fill.BackgroundColor3=Color3.fromRGB(0,255,0);fill.BorderSizePixel=0;hpBar.Parent=pChar;end;local hpRatio=math.clamp(pHum.Health/pHum.MaxHealth,0,1);hpBar.Frame.Fill.Size=UDim2.new(1,0,hpRatio,0);hpBar.Frame.Fill.BackgroundColor3=Color3.fromRGB(255-(255*hpRatio),255*hpRatio,0);elseif hpBar then hpBar:Destroy();end;if Config.Aimbot and isAiming and isValid and not isTeammate then local headPos=pChar.Head.Position;local pos,onScreen=Camera:WorldToViewportPoint(headPos);if onScreen then local distFromCenter=(Vector2.new(pos.X,pos.Y)-mousePos).Magnitude;if distFromCenter<=Config.AimFOV then local passWall=true;if Config.WallCheck then local rayParams=RaycastParams.new();rayParams.FilterDescendantsInstances={LocalPlayer.Character,pChar};rayParams.FilterType=Enum.RaycastFilterType.Exclude;local rayResult=workspace:Raycast(Camera.CFrame.Position,headPos-Camera.CFrame.Position,rayParams);if rayResult then passWall=false;end;end;if passWall and distFromCenter=delayTime then pcall(function()mouse1click();end);lastTriggerTime=tick();end;end;end;end;end);task.spawn(function()task.wait(1.5);SendNotification("Script opens with Right SHIFT / Скрипт открывается на Правый SHIFT",false);local cLbl=Instance.new("TextLabel",ScreenGui);cLbl.Size=UDim2.new(1,0,0,100);cLbl.Position=UDim2.new(0,0,0.5,-50);cLbl.BackgroundTransparency=1;cLbl.Text="Скрипт открывается на Правый SHIFT\nScript opens with Right SHIFT";cLbl.TextColor3=Color3.fromRGB(200,150,255);cLbl.Font=Enum.Font.GothamBlack;cLbl.TextSize=30;cLbl.ZIndex=9999;local uiStr=Instance.new("UIStroke",cLbl);uiStr.Thickness=2;task.wait(3);local tw=TweenService:Create(cLbl,TweenInfo.new(0.5),{TextTransparency=1});tw:Play();local twStr=TweenService:Create(uiStr,TweenInfo.new(0.5),{Transparency=1});twStr:Play();tw.Completed:Wait();cLbl:Destroy();end);