local Players=game:GetService("Players");local RunService=game:GetService("RunService");local CoreGui=game:GetService("CoreGui");local UserInputService=game:GetService("UserInputService");local LocalPlayer=Players.LocalPlayer;local Camera=workspace.CurrentCamera;local State={ESP_Enabled=false,Aimbot_Enabled=false,IsRightClickDown=false,FOV_Radius=150,Smoothness=0.1,Color=Color3.fromRGB(0,255,127),BG=Color3.fromRGB(15,15,15),MenuVisible=true};local FOVCircle=Drawing.new("Circle");FOVCircle.Thickness=1;FOVCircle.NumSides=60;FOVCircle.Radius=State.FOV_Radius;FOVCircle.Visible=false;FOVCircle.Color=State.Color;UserInputService.InputBegan:Connect(function(i,p)if i.UserInputType==Enum.UserInputType.MouseButton2 then State.IsRightClickDown=true end;if not p and i.KeyCode==Enum.KeyCode.Zero then State.MenuVisible=not State.MenuVisible;if CoreGui:FindFirstChild("Nexus_V14")then CoreGui.Nexus_V14.Enabled=State.MenuVisible end end end);UserInputService.InputEnded:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton2 then State.IsRightClickDown=false end end);local function IsEnemy(p)if not p or p==LocalPlayer then return false end;if p.Team~=nil and p.Team==LocalPlayer.Team then return false end;return true end;local function GetClosestTarget()local t=nil;local s=State.FOV_Radius;for _,p in ipairs(Players:GetPlayers())do if IsEnemy(p)and p.Character and p.Character:FindFirstChild("Head")then local pos,on=Camera:WorldToViewportPoint(p.Character.Head.Position)if on then local d=(Vector2.new(pos.X,pos.Y)-Vector2.new(Camera.ViewportSize.X/2,Camera.ViewportSize.Y/2)).Magnitude;if d<s then t=p.Character.Head;s=d end end end end;return t end;local function ApplyVisuals(p)local c=p.Character;if not c then return end;if not State.ESP_Enabled or not IsEnemy(p)then if c:FindFirstChild("Nexus_HL")then c.Nexus_HL:Destroy()end;if c:FindFirstChild("Head")and c.Head:FindFirstChild("Nexus_Tag")then c.Head.Nexus_Tag:Destroy()end;return end;local hl=c:FindFirstChild("Nexus_HL")or Instance.new("Highlight",c)hl.Name="Nexus_HL";hl.FillColor=State.Color;hl.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop;local h=c:FindFirstChild("Head")if h then local tg=h:FindFirstChild("Nexus_Tag")or Instance.new("BillboardGui",h)if not tg:FindFirstChild("Info")then tg.Name="Nexus_Tag";tg.Size=UDim2.new(0,100,0,50);tg.AlwaysOnTop=true;local l=Instance.new("TextLabel",tg)l.Name="Info";l.Size=UDim2.new(1,0,1,0);l.BackgroundTransparency=1;l.TextColor3=Color3.new(1,1,1);l.Font=Enum.Font.GothamBold;l.TextSize=12 end;tg.Info.Text=p.Name.."\nHP: "..(c:FindFirstChildOfClass("Humanoid")and math.floor(c:FindFirstChildOfClass("Humanoid").Health)or "100")end end;RunService.RenderStepped:Connect(function()Camera=workspace.CurrentCamera;FOVCircle.Position=Vector2.new(Camera.ViewportSize.X/2,Camera.ViewportSize.Y/2)FOVCircle.Visible=State.Aimbot_Enabled;for _,p in ipairs(Players:GetPlayers())do ApplyVisuals(p)end;if State.Aimbot_Enabled and State.IsRightClickDown then local t=GetClosestTarget()if t and mousemoverel then local pos=Camera:WorldToViewportPoint(t.Position)mousemoverel((pos.X-Camera.ViewportSize.X/2)*State.Smoothness,(pos.Y-Camera.ViewportSize.Y/2)*State.Smoothness)end end end);local function BuildUI()if CoreGui:FindFirstChild("Nexus_V14")then CoreGui.Nexus_V14:Destroy()end;local G=Instance.new("ScreenGui",CoreGui)G.Name="Nexus_V14"local M=Instance.new("Frame",G)M.Size=UDim2.new(0,230,0,240)M.Position=UDim2.new(0.5,-115,0.2,0)M.BackgroundColor3=State.BG;Instance.new("UICorner",M)local T=Instance.new("TextLabel",M)T.Size=UDim2.new(1,0,0,40)T.Text="RIVALS V14 (ONE-LINE)"T.TextColor3=Color3.new(1,1,1)T.Font=Enum.Font.GothamBold;T.BackgroundTransparency=1;local function cb(t,p,f)local b=Instance.new("TextButton",M)b.Size=UDim2.new(0.85,0,0,35)b.Position=p;b.BackgroundColor3=Color3.fromRGB(25,25,25)b.Text=t..": OFF"b.TextColor3=Color3.new(0.6,0.6,0.6)b.Font=Enum.Font.GothamBold;Instance.new("UICorner",b)b.MouseButton1Click:Connect(function()local a=f()b.Text=t..(a and ": ON" or ": OFF")b.TextColor3=a and State.Color or Color3.new(0.6,0.6,0.6)end)end;cb("PLAYER ESP",UDim2.new(0.075,0,0.2,0),function()State.ESP_Enabled=not State.ESP_Enabled;return State.ESP_Enabled end)cb("AIMBOT (M2)",UDim2.new(0.075,0,0.4,0),function()State.Aimbot_Enabled=not State.Aimbot_Enabled;return State.Aimbot_Enabled end)local st=Instance.new("TextLabel",M)st.Size=UDim2.new(1,0,0,20)st.Position=UDim2.new(0,0,0.65,0)st.Text="SMOOTHNESS: 0.1"st.TextColor3=Color3.new(1,1,1)st.BackgroundTransparency=1;local sb=Instance.new("Frame",M)sb.Size=UDim2.new(0.8,0,0,6)sb.Position=UDim2.new(0.1,0,0.8,0)sb.BackgroundColor3=Color3.fromRGB(40,40,40)local sl=Instance.new("TextButton",sb)sl.Size=UDim2.new(0,14,0,14)sl.Position=UDim2.new(0.2,-7,0.5,-7)sl.BackgroundColor3=State.Color;sl.Text=""local function us()local p=math.clamp((UserInputService:GetMouseLocation().X-sb.AbsolutePosition.X)/sb.AbsoluteSize.X,0,1)sl.Position=UDim2.new(p,-7,0.5,-7)State.Smoothness=0.05+(p*0.95)st.Text="SMOOTHNESS: "..string.format("%.2f",State.Smoothness)end;local sld=false;sl.InputBegan:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 then sld=true end end)UserInputService.InputChanged:Connect(function(i)if sld and i.UserInputType==Enum.UserInputType.MouseMovement then us()end end)UserInputService.InputEnded:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 then sld=false end end)local dr,ds,sp;M.InputBegan:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 then dr=true;ds=i.Position;sp=M.Position end end)UserInputService.InputChanged:Connect(function(i)if dr and i.UserInputType==Enum.UserInputType.MouseMovement then local d=i.Position-ds;M.Position=UDim2.new(sp.X.Scale,sp.X.Offset+d.X,sp.Y.Scale,sp.Y.Offset+d.Y)end end)UserInputService.InputEnded:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 then dr=false end end)end;BuildUI()