--[[ LEGITWARE v15.0 [THE CORE] - Aiming from Screen Center (Fixed "Dead Aim" bug) - Forced Mouse Unlock - 1:1 Shadowind Design (\ W /) - Full Module Set: lbot, vis, mis, exp ]] local Players = game:GetService("Players") local lp = Players.LocalPlayer local RunService = game:GetService("RunService") local UIS = game:GetService("UserInputService") local Camera = workspace.CurrentCamera -- Чистка старых сессий if lp.PlayerGui:FindFirstChild("LegitWareCore") then lp.PlayerGui.LegitWareCore:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "LegitWareCore" ScreenGui.Parent = lp:WaitForChild("PlayerGui") ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true local Options = { aim = false, aimFov = 150, smooth = 0.1, wallCheck = true, esp = false, playerFov = 70, speed = 16, infJump = false, noclip = false, fly = false } -- ГЛАВНОЕ ОКНО local Main = Instance.new("Frame", ScreenGui) Main.BackgroundColor3 = Color3.fromRGB(10, 10, 10); Main.Size = UDim2.new(0, 600, 0, 400) Main.Position = UDim2.new(0.5, -300, 0.5, -200); Main.BorderSizePixel = 0; Instance.new("UICorner", Main) -- ШАПКА local Header = Instance.new("Frame", Main) Header.Size = UDim2.new(1, 0, 0, 45); Header.BackgroundColor3 = Color3.fromRGB(20, 20, 25); Header.BorderSizePixel = 0; Instance.new("UICorner", Header) -- ЛОГОТИП \ W / local Logo = Instance.new("TextLabel", Header) Logo.Text = "\\ W /"; Logo.TextColor3 = Color3.fromRGB(255, 0, 0); Logo.Font = "GothamBold"; Logo.TextSize = 22 Logo.Size = UDim2.new(0, 70, 1, 0); Logo.Position = UDim2.new(0, 10, 0, 0); Logo.BackgroundTransparency = 1 -- СТРАНИЦЫ local pages = {} local function createPage(name, vis) local p = Instance.new("Frame", Main) p.Name = name; p.Size = UDim2.new(1, -20, 1, -60); p.Position = UDim2.new(0, 10, 0, 55); p.BackgroundTransparency = 1; p.Visible = vis pages[name] = p return p end local lbotP = createPage("lbot", true); local visP = createPage("vis", false) local misP = createPage("mis", false); local expP = createPage("exp", false) -- ВКЛАДКИ local function addTab(name, posX, targetPage) local b = Instance.new("TextButton", Header) b.Size = UDim2.new(0, 50, 0, 30); b.Position = UDim2.new(0, posX, 0, 7); b.BackgroundColor3 = Color3.fromRGB(40, 40, 45) b.Text = name; b.TextColor3 = Color3.fromRGB(200, 200, 200); b.Font = "GothamBold"; b.TextSize = 12; Instance.new("UICorner", b) b.MouseButton1Click:Connect(function() for _, p in pairs(pages) do p.Visible = false end targetPage.Visible = true end) end addTab("lbot", 90, lbotP); addTab("vis", 145, visP); addTab("mis", 200, misP); addTab("exp", 255, expP) -- ФУНКЦИИ (TOGGLE) local function addToggle(txt, page, var, posX, posY) local b = Instance.new("TextButton", page); b.Size = UDim2.new(0, 130, 0, 40); b.Position = UDim2.new(0, posX, 0, posY) b.BackgroundColor3 = Color3.fromRGB(25, 25, 30); b.Text = txt; b.TextColor3 = Color3.fromRGB(180, 180, 180); b.Font = "GothamBold"; b.TextSize = 13 local s = Instance.new("UIStroke", b); s.Color = Options[var] and Color3.fromRGB(0, 150, 255) or Color3.fromRGB(60,60,60); s.Thickness = 2; Instance.new("UICorner", b) b.MouseButton1Click:Connect(function() Options[var] = not Options[var] s.Color = Options[var] and Color3.fromRGB(0, 150, 255) or Color3.fromRGB(60,60,60) b.TextColor3 = Options[var] and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(180, 180, 180) end) end -- СЛАЙДЕР local function addSlider(txt, page, min, max, var, posX, posY) local sFrame = Instance.new("Frame", page); sFrame.Size = UDim2.new(0, 200, 0, 45); sFrame.Position = UDim2.new(0, posX, 0, posY); sFrame.BackgroundTransparency = 1 local l = Instance.new("TextLabel", sFrame); l.Text = txt..": "..Options[var]; l.Size = UDim2.new(1, 0, 0, 20); l.TextColor3 = Color3.fromRGB(200, 200, 200); l.Font = "GothamBold"; l.TextSize = 11; l.BackgroundTransparency = 1; l.TextXAlignment = "Left" local bar = Instance.new("Frame", sFrame); bar.Size = UDim2.new(1, 0, 0, 4); bar.Position = UDim2.new(0, 0, 0, 25); bar.BackgroundColor3 = Color3.fromRGB(40, 40, 40) local fill = Instance.new("Frame", bar); fill.Size = UDim2.new((Options[var]-min)/(max-min), 0, 1, 0); fill.BackgroundColor3 = Color3.fromRGB(0, 150, 255) bar.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then local conn; conn = UIS.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then local p = math.clamp((input.Position.X - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1) fill.Size = UDim2.new(p, 0, 1, 0); Options[var] = math.floor(min + (max-min)*p); l.Text = txt..": "..Options[var] end end) UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then conn:Disconnect() end end) end end) end -- ЗАПОЛНЕНИЕ addToggle("Aimbot", lbotP, "aim", 10, 10); addToggle("WallCheck", lbotP, "wallCheck", 150, 10); addSlider("Aim FOV", lbotP, 50, 600, "aimFov", 10, 60) addToggle("Player ESP", visP, "esp", 10, 10); addSlider("Player FOV", visP, 70, 120, "playerFov", 10, 60) addSlider("WalkSpeed", misP, 16, 200, "speed", 10, 10); addToggle("Inf Jump", misP, "infJump", 10, 65) addToggle("Noclip", expP, "noclip", 10, 10) -- ТАЙЛЕР local Tyler = Instance.new("ImageLabel", Main) Tyler.Size = UDim2.new(0, 60, 0, 60); Tyler.Position = UDim2.new(1, -70, 1, -70) Tyler.BackgroundTransparency = 1; Tyler.Image = "rbxassetid://16377402633"; Tyler.ZIndex = 100 -- КРУГ FOV local FovCircle = Instance.new("Frame", ScreenGui); FovCircle.Size = UDim2.new(0, Options.aimFov*2, 0, Options.aimFov*2); FovCircle.BackgroundTransparency = 1; FovCircle.Visible = false local CircleStroke = Instance.new("UIStroke", FovCircle); CircleStroke.Color = Color3.fromRGB(255, 0, 0); Instance.new("UICorner", FovCircle).CornerRadius = UDim.new(1,0) -- ПРИНУДИТЕЛЬНЫЙ КУРСОР RunService.Heartbeat:Connect(function() if Main.Visible then UIS.MouseBehavior = Enum.MouseBehavior.Default; UIS.MouseIconEnabled = true end end) -- DRAG local dragStart, startPos, dragging Header.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true; dragStart = i.Position; startPos = Main.Position end end) UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) RunService.Heartbeat:Connect(function() if dragging then local delta = UIS:GetMouseLocation() - Vector2.new(dragStart.X, dragStart.Y); Main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) -- TOGGLE UIS.InputBegan:Connect(function(i, chat) if not chat and i.KeyCode == Enum.KeyCode.Insert then Main.Visible = not Main.Visible end end) -- VISIBILITY local function isVisible(part) local origin = Camera.CFrame.Position local hit = workspace:Raycast(origin, part.Position - origin, RaycastParams.new()) return hit == nil or hit.Instance:IsDescendantOf(part.Parent) end -- MAIN LOOP RunService.RenderStepped:Connect(function() local center = Camera.ViewportSize / 2 FovCircle.Visible = (Options.aim and Main.Visible) FovCircle.Position = UDim2.new(0, center.X - Options.aimFov, 0, center.Y - Options.aimFov) FovCircle.Size = UDim2.new(0, Options.aimFov*2, 0, Options.aimFov*2) if Main.Visible then return end Camera.FieldOfView = Options.playerFov local char = lp.Character; if not char or not char:FindFirstChild("Humanoid") then return end char.Humanoid.WalkSpeed = Options.speed if Options.aim then local t = nil; local d = Options.aimFov for _, p in pairs(Players:GetPlayers()) do if p ~= lp and p.Character and p.Character:FindFirstChild("Head") and p.Character.Humanoid.Health > 0 then local h = p.Character.Head; local pos, onScreen = Camera:WorldToViewportPoint(h.Position) if onScreen then local mag = (Vector2.new(pos.X, pos.Y) - center).Magnitude if mag < d and (not Options.wallCheck or isVisible(h)) then t = p; d = mag end end end end if t then local tPos = t.Character.Head.Position char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame:Lerp(CFrame.lookAt(char.HumanoidRootPart.Position, Vector3.new(tPos.X, char.HumanoidRootPart.Position.Y, tPos.Z)), Options.smooth) Camera.CFrame = Camera.CFrame:Lerp(CFrame.lookAt(Camera.CFrame.Position, tPos), Options.smooth) end end if Options.esp then for _, p in pairs(Players:GetPlayers()) do if p ~= lp and p.Character then local h = p.Character:FindFirstChild("HL") or Instance.new("Highlight", p.Character); h.Name = "HL"; h.Enabled = true; h.FillColor = Color3.fromRGB(255, 0, 0) end end end end) print("LEGITWARE v15.0 LOADED! Center-Aim Fix.")