-- ===================================================== -- EXTENDED INJECT SCREEN (buggywear) -- ===================================================== task.spawn(function() local Camera = workspace.CurrentCamera local ScreenSize = Camera.ViewportSize -- Background local Overlay = Drawing.new("Square") Overlay.Size = ScreenSize Overlay.Position = Vector2.new(0, 0) Overlay.Color = Color3.fromRGB(0, 0, 0) Overlay.Filled = true Overlay.Transparency = 1 Overlay.Visible = true -- "buggywear" Text local Text = Drawing.new("Text") Text.Text = "buggywear" Text.Size = 45 Text.Center = true Text.Outline = true Text.Color = Color3.fromRGB(255, 255, 255) Text.Position = Vector2.new(ScreenSize.X / 2, ScreenSize.Y / 2) Text.Transparency = 1 Text.Visible = true -- 1. Initial Hold (Static) task.wait(1.5) -- 2. Subtle Breathing Effect (Slow Pulse) for i = 1, 30 do local pulse = 1 - (math.sin(i / 5) * 0.2) Text.Transparency = pulse task.wait(0.05) end Text.Transparency = 1 -- 3. Long Fade-Out Sequence -- Total duration: ~5 seconds for the actual fade local fadeSteps = 100 for i = 1, fadeSteps do local alpha = 1 - (i / fadeSteps) Overlay.Transparency = alpha Text.Transparency = alpha -- Keeps text centered even if window is resized during fade Text.Position = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) Overlay.Size = Camera.ViewportSize task.wait(0.05) end -- Cleanup Overlay.Visible = false Text.Visible = false Overlay:Remove() Text:Remove() end) -- ===================================================== -- SERVICES & SHARED SETTINGS (Optimized for Low-End PCs) -- ===================================================== local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Camera = workspace.CurrentCamera local LocalPlayer = Players.LocalPlayer local Settings = { FOV = 100, TargetPart = "Head", WallCheck = false, HoldKey = Enum.UserInputType.MouseButton2, ESPMaxDistance = 200, -- Show ESP up to 200 studs away ESPFrameSkip = 2 -- Update ESP every N frames (higher = less CPU) } -- ===================================================== -- ESP SECTION (Optimized with Frame Skipping) -- ===================================================== local ESPItems = {} local ESPConfig = { BoxColor = Color3.fromRGB(255, 0, 0), BoxThickness = 1.6, BoxFilled = false, BoxTransparency = 1, HealthBar = true, HealthBarWidth = 3, HealthBarOffset = 5, NameText = true, NameColor = Color3.fromRGB(255, 255, 255), NameSize = 13, DistanceText = false, -- Set to false to save string format CPU DistanceColor = Color3.fromRGB(255, 255, 255), DistanceSize = 13 } -- Pre-define colors for health bar gradient local COLOR_RED = Color3.fromRGB(255, 0, 0) local COLOR_GREEN = Color3.fromRGB(0, 255, 0) local COLOR_BLACK = Color3.fromRGB(0, 0, 0) local function HealthColor(healthPercent) return Color3.fromRGB(255 * (1 - healthPercent), 255 * healthPercent, 0) end local function CreateESP(plr) if ESPItems[plr] or plr == LocalPlayer then return end local items = {} items.Box = Drawing.new("Square") items.Box.Thickness = ESPConfig.BoxThickness items.Box.Filled = ESPConfig.BoxFilled items.Box.Color = ESPConfig.BoxColor items.Box.Transparency = ESPConfig.BoxTransparency items.Box.Visible = false items.HealthBarBG = Drawing.new("Square") items.HealthBarBG.Filled = true items.HealthBarBG.Color = COLOR_BLACK items.HealthBarBG.Transparency = 0.6 items.HealthBarBG.Visible = false items.HealthBar = Drawing.new("Square") items.HealthBar.Filled = true items.HealthBar.Color = COLOR_GREEN items.HealthBar.Visible = false items.Name = Drawing.new("Text") items.Name.Color = ESPConfig.NameColor items.Name.Size = ESPConfig.NameSize items.Name.Center = true items.Name.Outline = true items.Name.Visible = false if ESPConfig.DistanceText then items.Distance = Drawing.new("Text") items.Distance.Color = ESPConfig.DistanceColor items.Distance.Size = ESPConfig.DistanceSize items.Distance.Center = true items.Distance.Outline = true items.Distance.Visible = false end ESPItems[plr] = items end local function RemoveESP(plr) local items = ESPItems[plr] if items then items.Box:Remove() items.HealthBarBG:Remove() items.HealthBar:Remove() items.Name:Remove() if items.Distance then items.Distance:Remove() end ESPItems[plr] = nil end end -- ESP Update Loop with Frame Skipping local frameCounter = 0 RunService.RenderStepped:Connect(function() frameCounter = frameCounter + 1 if frameCounter % Settings.ESPFrameSkip ~= 0 then return end local camPos = Camera.CFrame.Position local screenWidth = Camera.ViewportSize.X local screenHeight = Camera.ViewportSize.Y local maxDist = Settings.ESPMaxDistance for plr, items in pairs(ESPItems) do local char = plr.Character if not char then items.Box.Visible = false items.HealthBarBG.Visible = false items.HealthBar.Visible = false items.Name.Visible = false if items.Distance then items.Distance.Visible = false end continue end local hrp = char:FindFirstChild("HumanoidRootPart") local head = char:FindFirstChild("Head") if not hrp or not head then items.Box.Visible = false items.HealthBarBG.Visible = false items.HealthBar.Visible = false items.Name.Visible = false if items.Distance then items.Distance.Visible = false end continue end -- Distance culling (now 200 studs) local distance = (hrp.Position - camPos).Magnitude if distance > maxDist then items.Box.Visible = false items.HealthBarBG.Visible = false items.HealthBar.Visible = false items.Name.Visible = false if items.Distance then items.Distance.Visible = false end continue end local humanoid = char:FindFirstChildOfClass("Humanoid") local health = humanoid and humanoid.Health or 100 local maxHealth = humanoid and humanoid.MaxHealth or 100 local healthPercent = health / maxHealth if healthPercent > 1 then healthPercent = 1 elseif healthPercent < 0 then healthPercent = 0 end local rootPos, onScreenRoot = Camera:WorldToViewportPoint(hrp.Position) local headPos, _ = Camera:WorldToViewportPoint(head.Position + Vector3.new(0, 0.6, 0)) local legPos, _ = Camera:WorldToViewportPoint(hrp.Position - Vector3.new(0, 3.5, 0)) if rootPos.Z < 0 then items.Box.Visible = false items.HealthBarBG.Visible = false items.HealthBar.Visible = false items.Name.Visible = false if items.Distance then items.Distance.Visible = false end continue end local height = math.abs(headPos.Y - legPos.Y) local width = height * 0.55 local boxX = rootPos.X - width * 0.5 local boxY = rootPos.Y - height * 0.5 -- Update box items.Box.Size = Vector2.new(width, height) items.Box.Position = Vector2.new(boxX, boxY) items.Box.Visible = true -- Health bar if ESPConfig.HealthBar then local barX = boxX - ESPConfig.HealthBarOffset - ESPConfig.HealthBarWidth items.HealthBarBG.Size = Vector2.new(ESPConfig.HealthBarWidth, height) items.HealthBarBG.Position = Vector2.new(barX, boxY) items.HealthBarBG.Visible = true local fillHeight = height * healthPercent items.HealthBar.Size = Vector2.new(ESPConfig.HealthBarWidth, fillHeight) items.HealthBar.Position = Vector2.new(barX, boxY + height - fillHeight) items.HealthBar.Color = HealthColor(healthPercent) items.HealthBar.Visible = true else items.HealthBarBG.Visible = false items.HealthBar.Visible = false end -- Name if ESPConfig.NameText then items.Name.Text = plr.DisplayName items.Name.Position = Vector2.new(rootPos.X, boxY - 25) items.Name.Visible = true else items.Name.Visible = false end -- Distance (optional, currently disabled) if items.Distance then items.Distance.Text = string.format("%.0f studs", distance) items.Distance.Position = Vector2.new(rootPos.X, boxY + height + 5) items.Distance.Visible = true end end end) -- Connect player events Players.PlayerAdded:Connect(CreateESP) Players.PlayerRemoving:Connect(RemoveESP) for _, plr in ipairs(Players:GetPlayers()) do CreateESP(plr) end -- ===================================================== -- AIMBOT SECTION - TRACKING (Runs Every Frame) -- ===================================================== local function IsVisible(part) if not Settings.WallCheck then return true end local origin = Camera.CFrame.Position local ray = Ray.new(origin, (part.Position - origin).Unit * 1000) local hit = workspace:FindPartOnRayWithIgnoreList(ray, {LocalPlayer.Character, Camera}) return hit and hit:IsDescendantOf(part.Parent) or true end -- FOV Circle local Circle = Drawing.new("Circle") Circle.Radius = Settings.FOV Circle.Thickness = 1 Circle.Color = Color3.fromRGB(255, 0, 0) Circle.Visible = true Circle.Transparency = 0.5 Circle.Filled = false RunService.RenderStepped:Connect(function() local ScreenCenter = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) Circle.Position = ScreenCenter if not UserInputService:IsMouseButtonPressed(Settings.HoldKey) then return end local bestTarget = nil local bestDist = Settings.FOV for _, plr in ipairs(Players:GetPlayers()) do if plr == LocalPlayer then continue end local char = plr.Character if not char then continue end local hum = char:FindFirstChildOfClass("Humanoid") if hum and hum.Health <= 0 then continue end local part = char:FindFirstChild(Settings.TargetPart) or char:FindFirstChild("HumanoidRootPart") if not part then continue end if not IsVisible(part) then continue end local screenPos, onScreen = Camera:WorldToViewportPoint(part.Position) if onScreen then local dist = (Vector2.new(screenPos.X, screenPos.Y) - ScreenCenter).Magnitude if dist < bestDist then bestTarget = Vector2.new(screenPos.X, screenPos.Y) bestDist = dist end end end if bestTarget then local deltaX = bestTarget.X - ScreenCenter.X local deltaY = bestTarget.Y - ScreenCenter.Y mousemoverel(deltaX, deltaY) end end)