explore
key systems
new
docs
discord
search scripts
⌘K
explore
key systems
new
docs
discord
sign in
⌘↵
--
publishes from anywhere on this page
new paste
untitled.luau
empty
/ 512kb
open file
⌘O
explore
key systems
new
docs
sign in
universal-aimbot-copy.luau
1541 lines · 58kb
/ 512kb
open file
⌘O
local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local CoreGui = game:GetService("CoreGui") -- ═══ 24 HOUR KEY SESSION ═══ -- Uses executor file storage so the session survives re-execution. local SESSION_FILE = "UniversalAimbot_KeySession.txt" local SESSION_DURATION = 24 * 60 * 60 local function getSavedSession() if type(isfile) ~= "function" or type(readfile) ~= "function" then return false end local ok, timestamp = pcall(function() if not isfile(SESSION_FILE) then return nil end return tonumber(readfile(SESSION_FILE)) end) if not ok or not timestamp then return false end local elapsed = os.time() - timestamp return elapsed >= 0 and elapsed < SESSION_DURATION end local function saveSession() if type(writefile) ~= "function" then warn("[KeySystem] Executor file storage is unavailable; session will not persist.") return false end local ok, err = pcall(function() writefile(SESSION_FILE, tostring(os.time())) end) if not ok then warn("[KeySystem] Could not save key session: " .. tostring(err)) end return ok end local hasValidSession = getSavedSession() -- Palette local BackgroundColor = Color3.fromHex("0c0b10") local MainColor = Color3.fromRGB(22, 22, 27) local TopbarColor = Color3.fromHex("08080c") local CardOutlineColor = Color3.fromHex("151419") local AccentColor = Color3.fromRGB(205, 205, 214) local OutlineColor = Color3.fromRGB(36, 36, 43) local FontColor = Color3.fromRGB(240, 240, 244) local DimColor = Color3.fromRGB(95, 95, 104) local OnlineColor = Color3.fromRGB(64, 200, 110) local DangerColor = Color3.fromHex("914b41") local Font = Enum.Font.Gotham local FontBold = Enum.Font.GothamBold local ScreenGui = Instance.new("ScreenGui") ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global ScreenGui.DisplayOrder = 999 ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.Name = "KeySystem" ScreenGui.Parent = CoreGui local WINDOW_W = 520 local WINDOW_H = 270 local FadeTime = 0.25 local WindowClosedScale = 0.5 -- ═══ OUTER ═══ local Outer = Instance.new("Frame") Outer.AnchorPoint = Vector2.new(0.5, 0.5) Outer.Position = UDim2.fromScale(0.5, 0.5) Outer.Size = UDim2.fromOffset(WINDOW_W, WINDOW_H) Outer.Visible = false Outer.ZIndex = 1 Outer.Name = "KeySystemOuter" Outer.Parent = ScreenGui -- ═══ SHADOW ═══ local Shadow = Instance.new("Frame") Shadow.AnchorPoint = Vector2.new(0.5, 0.5) Shadow.Position = UDim2.new(0.5, 0, 0.5, 6) Shadow.Size = UDim2.fromOffset(WINDOW_W + 6, WINDOW_H + 6) Shadow.BackgroundColor3 = Color3.new(0, 0, 0) Shadow.BackgroundTransparency = 0.55 Shadow.BorderSizePixel = 0 Shadow.ZIndex = 0 Shadow.Parent = Outer local ShadowCorner = Instance.new("UICorner") ShadowCorner.CornerRadius = UDim.new(0, 18) ShadowCorner.Parent = Shadow -- ═══ INNER ═══ local Inner = Instance.new("Frame") Inner.ClipsDescendants = true Inner.BackgroundColor3 = BackgroundColor Inner.BackgroundTransparency = 0 Inner.BorderSizePixel = 0 Inner.Position = UDim2.fromScale(0, 0) Inner.Size = UDim2.fromScale(1, 1) Inner.ZIndex = 1 Inner.Parent = Outer local InnerCorner = Instance.new("UICorner") InnerCorner.CornerRadius = UDim.new(0, 14) InnerCorner.Parent = Inner local InnerStroke = Instance.new("UIStroke") InnerStroke.Color = CardOutlineColor InnerStroke.Thickness = 1 InnerStroke.Parent = Inner local WindowScale = Instance.new("UIScale") WindowScale.Scale = WindowClosedScale WindowScale.Parent = Inner -- ═══ TOPBAR ═══ local HeaderHeight = 44 local Topbar = Instance.new("Frame") Topbar.BackgroundColor3 = TopbarColor Topbar.BorderSizePixel = 0 Topbar.Size = UDim2.new(1, 0, 0, HeaderHeight) Topbar.ZIndex = 1 Topbar.Parent = Inner local TopbarLine = Instance.new("Frame") TopbarLine.BackgroundColor3 = CardOutlineColor TopbarLine.BorderSizePixel = 0 TopbarLine.Position = UDim2.new(0, 0, 1, -1) TopbarLine.Size = UDim2.new(1, 0, 0, 1) TopbarLine.ZIndex = 2 TopbarLine.Parent = Topbar local HeaderLeft = Instance.new("Frame") HeaderLeft.BackgroundTransparency = 1 HeaderLeft.Position = UDim2.new(0, 18, 0, 0) HeaderLeft.Size = UDim2.new(1, -150, 1, 0) HeaderLeft.ZIndex = 1 HeaderLeft.Parent = Topbar local HeaderLayout = Instance.new("UIListLayout") HeaderLayout.Padding = UDim.new(0, 8) HeaderLayout.FillDirection = Enum.FillDirection.Horizontal HeaderLayout.SortOrder = Enum.SortOrder.LayoutOrder HeaderLayout.VerticalAlignment = Enum.VerticalAlignment.Center HeaderLayout.Parent = HeaderLeft local WindowLabel = Instance.new("TextLabel") WindowLabel.AutomaticSize = Enum.AutomaticSize.X WindowLabel.LayoutOrder = 1 WindowLabel.BackgroundTransparency = 1 WindowLabel.Size = UDim2.fromOffset(0, 20) WindowLabel.Text = "Universal Aimbot" WindowLabel.TextColor3 = FontColor WindowLabel.Font = FontBold WindowLabel.TextSize = 13 WindowLabel.TextXAlignment = Enum.TextXAlignment.Left WindowLabel.TextYAlignment = Enum.TextYAlignment.Center WindowLabel.ZIndex = 1 WindowLabel.Parent = HeaderLeft local WindowSubtitle = Instance.new("TextLabel") WindowSubtitle.AutomaticSize = Enum.AutomaticSize.X WindowSubtitle.LayoutOrder = 2 WindowSubtitle.BackgroundTransparency = 1 WindowSubtitle.Size = UDim2.fromOffset(0, 20) WindowSubtitle.Text = "made by LinkMakesMods" WindowSubtitle.TextColor3 = DimColor WindowSubtitle.Font = Font WindowSubtitle.TextSize = 12 WindowSubtitle.TextXAlignment = Enum.TextXAlignment.Left WindowSubtitle.TextYAlignment = Enum.TextYAlignment.Center WindowSubtitle.ZIndex = 1 WindowSubtitle.Parent = HeaderLeft local WindowBadge = Instance.new("Frame") WindowBadge.BackgroundColor3 = MainColor WindowBadge.BorderSizePixel = 0 WindowBadge.LayoutOrder = 3 WindowBadge.Size = UDim2.fromOffset(34, 18) WindowBadge.ZIndex = 1 WindowBadge.Parent = HeaderLeft local WindowBadgeCorner = Instance.new("UICorner") WindowBadgeCorner.CornerRadius = UDim.new(0, 9) WindowBadgeCorner.Parent = WindowBadge local WindowBadgeStroke = Instance.new("UIStroke") WindowBadgeStroke.Color = OutlineColor WindowBadgeStroke.Thickness = 1 WindowBadgeStroke.Parent = WindowBadge local WindowBadgeLabel = Instance.new("TextLabel") WindowBadgeLabel.BackgroundTransparency = 1 WindowBadgeLabel.Size = UDim2.fromScale(1, 1) WindowBadgeLabel.Text = "Key" WindowBadgeLabel.TextColor3 = DimColor WindowBadgeLabel.Font = Font WindowBadgeLabel.TextSize = 11 WindowBadgeLabel.TextXAlignment = Enum.TextXAlignment.Center WindowBadgeLabel.TextYAlignment = Enum.TextYAlignment.Center WindowBadgeLabel.ZIndex = 2 WindowBadgeLabel.Parent = WindowBadge local WindowUser = Instance.new("TextLabel") WindowUser.AnchorPoint = Vector2.new(1, 0.5) WindowUser.Position = UDim2.new(1, -18, 0.5, 0) WindowUser.BackgroundTransparency = 1 WindowUser.Size = UDim2.fromOffset(120, 20) WindowUser.Text = LocalPlayer.Name WindowUser.TextColor3 = DimColor WindowUser.Font = Font WindowUser.TextSize = 12 WindowUser.TextXAlignment = Enum.TextXAlignment.Right WindowUser.TextYAlignment = Enum.TextYAlignment.Center WindowUser.ZIndex = 1 WindowUser.Parent = Topbar -- ═══ CONTENT ═══ local ContentTop = HeaderHeight + 20 local FooterHeight = 32 local ContentArea = Instance.new("Frame") ContentArea.BackgroundTransparency = 1 ContentArea.Position = UDim2.new(0, 20, 0, ContentTop) ContentArea.Size = UDim2.new(1, -40, 1, -(ContentTop + FooterHeight + 8)) ContentArea.ZIndex = 2 ContentArea.Parent = Inner local ContentLayout = Instance.new("UIListLayout") ContentLayout.Padding = UDim.new(0, 10) ContentLayout.FillDirection = Enum.FillDirection.Vertical ContentLayout.SortOrder = Enum.SortOrder.LayoutOrder ContentLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center ContentLayout.Parent = ContentArea local InputLabel = Instance.new("TextLabel") InputLabel.BackgroundTransparency = 1 InputLabel.Size = UDim2.new(1, 0, 0, 14) InputLabel.Text = "KEY" InputLabel.TextColor3 = DimColor InputLabel.Font = Font InputLabel.TextSize = 11 InputLabel.TextXAlignment = Enum.TextXAlignment.Left InputLabel.ZIndex = 5 InputLabel.LayoutOrder = 1 InputLabel.Parent = ContentArea local InputInner = Instance.new("Frame") InputInner.BackgroundColor3 = MainColor InputInner.BorderSizePixel = 0 InputInner.Size = UDim2.new(1, 0, 0, 32) InputInner.ZIndex = 5 InputInner.LayoutOrder = 2 InputInner.Parent = ContentArea local InputInnerCorner = Instance.new("UICorner") InputInnerCorner.CornerRadius = UDim.new(0, 8) InputInnerCorner.Parent = InputInner local InputInnerStroke = Instance.new("UIStroke") InputInnerStroke.Color = OutlineColor InputInnerStroke.Thickness = 1 InputInnerStroke.Parent = InputInner local Box = Instance.new("TextBox") Box.BackgroundTransparency = 1 Box.Position = UDim2.new(0, 12, 0, 0) Box.Size = UDim2.new(1, -24, 1, 0) Box.Font = Font Box.PlaceholderColor3 = DimColor Box.PlaceholderText = "Enter your key..." Box.Text = "" Box.TextColor3 = FontColor Box.TextSize = 13 Box.TextXAlignment = Enum.TextXAlignment.Left Box.ClearTextOnFocus = false Box.ZIndex = 6 Box.Parent = InputInner local BtnRow = Instance.new("Frame") BtnRow.BackgroundTransparency = 1 BtnRow.Size = UDim2.new(1, 0, 0, 30) BtnRow.ZIndex = 5 BtnRow.LayoutOrder = 3 BtnRow.Parent = ContentArea local SubmitOuter = Instance.new("Frame") SubmitOuter.BackgroundColor3 = MainColor SubmitOuter.BorderSizePixel = 0 SubmitOuter.Size = UDim2.new(0.5, -5, 1, 0) SubmitOuter.ZIndex = 5 SubmitOuter.Parent = BtnRow local SubmitCorner = Instance.new("UICorner") SubmitCorner.CornerRadius = UDim.new(0, 8) SubmitCorner.Parent = SubmitOuter local SubmitStroke = Instance.new("UIStroke") SubmitStroke.Color = OutlineColor SubmitStroke.Thickness = 1 SubmitStroke.Parent = SubmitOuter local SubmitLabel = Instance.new("TextLabel") SubmitLabel.BackgroundTransparency = 1 SubmitLabel.Size = UDim2.fromScale(1, 1) SubmitLabel.Text = "Submit" SubmitLabel.TextColor3 = FontColor SubmitLabel.Font = FontBold SubmitLabel.TextSize = 12 SubmitLabel.ZIndex = 6 SubmitLabel.Parent = SubmitOuter local SubmitButton = Instance.new("TextButton") SubmitButton.BackgroundTransparency = 1 SubmitButton.BorderSizePixel = 0 SubmitButton.Size = UDim2.fromScale(1, 1) SubmitButton.Text = "" SubmitButton.AutoButtonColor = false SubmitButton.ZIndex = 10 SubmitButton.Parent = SubmitOuter local GetKeyOuter = Instance.new("Frame") GetKeyOuter.BackgroundColor3 = MainColor GetKeyOuter.BorderSizePixel = 0 GetKeyOuter.Position = UDim2.new(0.5, 5, 0, 0) GetKeyOuter.Size = UDim2.new(0.5, -5, 1, 0) GetKeyOuter.ZIndex = 5 GetKeyOuter.Parent = BtnRow local GetKeyCorner = Instance.new("UICorner") GetKeyCorner.CornerRadius = UDim.new(0, 8) GetKeyCorner.Parent = GetKeyOuter local GetKeyStroke = Instance.new("UIStroke") GetKeyStroke.Color = OutlineColor GetKeyStroke.Thickness = 1 GetKeyStroke.Parent = GetKeyOuter local GetKeyLabel = Instance.new("TextLabel") GetKeyLabel.BackgroundTransparency = 1 GetKeyLabel.Size = UDim2.fromScale(1, 1) GetKeyLabel.Text = "Get Key" GetKeyLabel.TextColor3 = DimColor GetKeyLabel.Font = Font GetKeyLabel.TextSize = 12 GetKeyLabel.ZIndex = 6 GetKeyLabel.Parent = GetKeyOuter local GetKeyButton = Instance.new("TextButton") GetKeyButton.BackgroundTransparency = 1 GetKeyButton.BorderSizePixel = 0 GetKeyButton.Size = UDim2.fromScale(1, 1) GetKeyButton.Text = "" GetKeyButton.AutoButtonColor = false GetKeyButton.ZIndex = 10 GetKeyButton.Parent = GetKeyOuter local StatusLabel = Instance.new("TextLabel") StatusLabel.BackgroundTransparency = 1 StatusLabel.Size = UDim2.new(1, 0, 0, 14) StatusLabel.Text = "" StatusLabel.TextColor3 = DimColor StatusLabel.Font = Font StatusLabel.TextSize = 12 StatusLabel.TextXAlignment = Enum.TextXAlignment.Left StatusLabel.ZIndex = 5 StatusLabel.LayoutOrder = 4 StatusLabel.Parent = ContentArea -- ═══ FOOTER ═══ local FooterHolder = Instance.new("Frame") FooterHolder.BackgroundColor3 = TopbarColor FooterHolder.BorderSizePixel = 0 FooterHolder.Position = UDim2.new(0, 0, 1, -FooterHeight) FooterHolder.Size = UDim2.new(1, 0, 0, FooterHeight) FooterHolder.ZIndex = 1 FooterHolder.Parent = Inner local FooterLine = Instance.new("Frame") FooterLine.BackgroundColor3 = CardOutlineColor FooterLine.BorderSizePixel = 0 FooterLine.Size = UDim2.new(1, 0, 0, 1) FooterLine.ZIndex = 2 FooterLine.Parent = FooterHolder local FooterLeft = Instance.new("Frame") FooterLeft.BackgroundTransparency = 1 FooterLeft.Position = UDim2.new(0, 18, 0, 0) FooterLeft.Size = UDim2.new(0.33, 0, 1, 0) FooterLeft.ZIndex = 1 FooterLeft.Parent = FooterHolder local FooterLeftLayout = Instance.new("UIListLayout") FooterLeftLayout.Padding = UDim.new(0, 7) FooterLeftLayout.FillDirection = Enum.FillDirection.Horizontal FooterLeftLayout.HorizontalAlignment = Enum.HorizontalAlignment.Left FooterLeftLayout.SortOrder = Enum.SortOrder.LayoutOrder FooterLeftLayout.VerticalAlignment = Enum.VerticalAlignment.Center FooterLeftLayout.Parent = FooterLeft local FooterDot = Instance.new("Frame") FooterDot.BackgroundColor3 = OnlineColor FooterDot.BorderSizePixel = 0 FooterDot.LayoutOrder = 1 FooterDot.Size = UDim2.fromOffset(6, 6) FooterDot.ZIndex = 1 FooterDot.Parent = FooterLeft local FooterDotCorner = Instance.new("UICorner") FooterDotCorner.CornerRadius = UDim.new(1, 0) FooterDotCorner.Parent = FooterDot local FooterLeftLabel = Instance.new("TextLabel") FooterLeftLabel.AutomaticSize = Enum.AutomaticSize.X FooterLeftLabel.LayoutOrder = 2 FooterLeftLabel.BackgroundTransparency = 1 FooterLeftLabel.Size = UDim2.new(0, 0, 1, 0) FooterLeftLabel.Text = "Key Required" FooterLeftLabel.TextColor3 = DimColor FooterLeftLabel.Font = Font FooterLeftLabel.TextSize = 11 FooterLeftLabel.TextXAlignment = Enum.TextXAlignment.Left FooterLeftLabel.TextYAlignment = Enum.TextYAlignment.Center FooterLeftLabel.ZIndex = 1 FooterLeftLabel.Parent = FooterLeft local FooterCenterLabel = Instance.new("TextLabel") FooterCenterLabel.AnchorPoint = Vector2.new(0.5, 0) FooterCenterLabel.Position = UDim2.new(0.5, 0, 0, 0) FooterCenterLabel.BackgroundTransparency = 1 FooterCenterLabel.Size = UDim2.new(0.34, 0, 1, 0) FooterCenterLabel.Text = "https://discord.gg/783pRtqeux" FooterCenterLabel.TextColor3 = DimColor FooterCenterLabel.Font = Font FooterCenterLabel.TextSize = 11 FooterCenterLabel.TextXAlignment = Enum.TextXAlignment.Center FooterCenterLabel.TextYAlignment = Enum.TextYAlignment.Center FooterCenterLabel.ZIndex = 1 FooterCenterLabel.Parent = FooterHolder local FooterRight = Instance.new("Frame") FooterRight.AnchorPoint = Vector2.new(1, 0) FooterRight.BackgroundTransparency = 1 FooterRight.Position = UDim2.new(1, -18, 0, 0) FooterRight.Size = UDim2.new(0.33, 0, 1, 0) FooterRight.ZIndex = 1 FooterRight.Parent = FooterHolder local FooterRightLayout = Instance.new("UIListLayout") FooterRightLayout.Padding = UDim.new(0, 4) FooterRightLayout.FillDirection = Enum.FillDirection.Horizontal FooterRightLayout.HorizontalAlignment = Enum.HorizontalAlignment.Right FooterRightLayout.SortOrder = Enum.SortOrder.LayoutOrder FooterRightLayout.VerticalAlignment = Enum.VerticalAlignment.Center FooterRightLayout.Parent = FooterRight local FooterRightLabel = Instance.new("TextLabel") FooterRightLabel.AutomaticSize = Enum.AutomaticSize.X FooterRightLabel.LayoutOrder = 1 FooterRightLabel.BackgroundTransparency = 1 FooterRightLabel.Size = UDim2.new(0, 0, 1, 0) FooterRightLabel.Text = "Build:" FooterRightLabel.TextColor3 = DimColor FooterRightLabel.Font = Font FooterRightLabel.TextSize = 11 FooterRightLabel.TextYAlignment = Enum.TextYAlignment.Center FooterRightLabel.ZIndex = 1 FooterRightLabel.Parent = FooterRight local FooterRightValue = Instance.new("TextLabel") FooterRightValue.AutomaticSize = Enum.AutomaticSize.X FooterRightValue.LayoutOrder = 2 FooterRightValue.BackgroundTransparency = 1 FooterRightValue.Size = UDim2.new(0, 0, 1, 0) FooterRightValue.Text = os.date("%b ") .. tonumber(os.date("%d")) .. os.date(" %Y") FooterRightValue.TextColor3 = FontColor FooterRightValue.Font = Font FooterRightValue.TextSize = 11 FooterRightValue.TextYAlignment = Enum.TextYAlignment.Center FooterRightValue.ZIndex = 1 FooterRightValue.Parent = FooterRight -- ═══ HOVER / PRESS ═══ local HoverTweenInfo = TweenInfo.new(0.12, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local PressTweenInfo = TweenInfo.new(0.06, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local ReleaseTweenInfo = TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local HoverColor = AccentColor:Lerp(MainColor, 0.88) local PressColor = AccentColor:Lerp(MainColor, 0.7) local function setHover(frame, on) TweenService:Create(frame, HoverTweenInfo, { BackgroundColor3 = on and HoverColor or MainColor }):Play() end local function pressBtn(frame) TweenService:Create(frame, PressTweenInfo, { BackgroundColor3 = PressColor }):Play() end local function releaseBtn(frame) TweenService:Create(frame, ReleaseTweenInfo, { BackgroundColor3 = MainColor }):Play() end SubmitOuter.MouseEnter:Connect(function() setHover(SubmitOuter, true) end) SubmitOuter.MouseLeave:Connect(function() setHover(SubmitOuter, false) end) GetKeyOuter.MouseEnter:Connect(function() setHover(GetKeyOuter, true) end) GetKeyOuter.MouseLeave:Connect(function() setHover(GetKeyOuter, false) end) SubmitButton.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then pressBtn(SubmitOuter) end end) SubmitButton.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then releaseBtn(SubmitOuter) end end) GetKeyButton.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then pressBtn(GetKeyOuter) end end) GetKeyButton.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then releaseBtn(GetKeyOuter) end end) -- ═══ LOGIC ═══ local function setStatus(text, color) StatusLabel.Text = text StatusLabel.TextColor3 = color StatusLabel.TextTransparency = 1 TweenService:Create(StatusLabel, TweenInfo.new(0.15), { TextTransparency = 0 }):Play() end local function closeWindow() local Info = TweenInfo.new(FadeTime, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) TweenService:Create(WindowScale, Info, { Scale = WindowClosedScale }):Play() TweenService:Create(Shadow, Info, { BackgroundTransparency = 1 }):Play() for _, obj in ipairs(Inner:GetDescendants()) do if obj:IsA("GuiObject") and obj.BackgroundTransparency < 1 then TweenService:Create(obj, Info, { BackgroundTransparency = 1 }):Play() end if obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox") then TweenService:Create(obj, Info, { TextTransparency = 1 }):Play() end end TweenService:Create(InnerStroke, Info, { Transparency = 1 }):Play() task.wait(FadeTime) Outer.Visible = false ScreenGui:Destroy() end GetKeyButton.Activated:Connect(function() if typeof(setclipboard) ~= "function" then setStatus("Clipboard not supported", DangerColor) return end local ok = pcall(setclipboard, "https://work.ink/39wJ/d01eaa14-1e9f-4623-a53a-0d9aacbb2e8c#goog_fullscreen_ad") if ok then setStatus("Link copied to clipboard", OnlineColor) else setStatus("Could not copy link", DangerColor) end end) local function trySubmit() local key = Box.Text:match("^%s*(.-)%s*$") if key == "" then setStatus("Please enter a key", DangerColor) return end if key == "FREE_AlFuQmYQNrJ" then if not hasValidSession then saveSession() hasValidSession = true end setStatus("Valid! Loading...", OnlineColor) task.wait(0.4) closeWindow() -- ═══════════════════════════════════════════ -- LOAD & RUN THE AIMBOT -- ═══════════════════════════════════════════ local repo = "https://raw.githubusercontent.com/NoctaliaLua/MatchaLib/main/" local script = [[ local repo = "https://raw.githubusercontent.com/NoctaliaLua/MatchaLib/main/" local Library = loadstring(game:HttpGet(repo .. "Library.lua"))() local ThemeManager = loadstring(game:HttpGet(repo .. "addons/ThemeManager.lua"))() local SaveManager = loadstring(game:HttpGet(repo .. "addons/SaveManager.lua"))() local Options = Library.Options local Toggles = Library.Toggles local camera = workspace.CurrentCamera local RunService = game:GetService("RunService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local UserInputService = game:GetService("UserInputService") local Lighting = game:GetService("Lighting") local TweenService = game:GetService("TweenService") local playerSquares = {} local lockedPlayer = nil local rtxEnabled = false local origLighting = { Technology = Lighting.Technology, Brightness = Lighting.Brightness, } local origReflectance = {} local Config = { LineColor = Color3.fromRGB(255, 0, 0), LineThickness = 2, Corner = 12, IgnoreTeammates = true, } local AimConfig = { Enabled = false, HitPart = "Head", Smoothing = 5, Distance = 500, TeamCheck = true, VisibleCheck = false, FOV = 90, Sticky = true, Prediction = 0, AutoPrediction = false, Debug = false, HumanMode = false, ShowFOV = true, } local AssistConfig = { Enabled = false, FOV = 60, Pull = 10, Distance = 500, TeamCheck = true, } local SilentAimConfig = { Enabled = false, HitPart = "Head", Distance = 500, TeamCheck = true, VisibleCheck = true, FOV = 90, } local TriggerConfig = { Enabled = false, Delay = 1, Release = 10, TeamCheck = true, VisibleCheck = true, } local SmartTriggerConfig = { Enabled = false, Delay = 1, Release = 10, TeamCheck = true, AngleThreshold = 5, MinFrames = 3, } local HIT_PARTS = { "Head", "Torso", "Legs" } local COLOR_NAMES = { "Red", "Green", "Blue", "Yellow", "Cyan", "Magenta", "White", "Orange", "Purple", "Pink" } local COLORS = { Red = Color3.fromRGB(255, 0, 0), Green = Color3.fromRGB(0, 255, 0), Blue = Color3.fromRGB(0, 0, 255), Yellow = Color3.fromRGB(255, 255, 0), Cyan = Color3.fromRGB(0, 255, 255), Magenta = Color3.fromRGB(255, 0, 255), White = Color3.fromRGB(255, 255, 255), Orange = Color3.fromRGB(255, 165, 0), Purple = Color3.fromRGB(128, 0, 128), Pink = Color3.fromRGB(255, 105, 180), } local function resolveOption(value, list) if type(value) == "number" then return list[value] end return value end local function defineCharacter(player) local character = player.Character if not character then return end local rootPart = character:FindFirstChild("HumanoidRootPart") if not rootPart then return end return rootPart, character end local function GetBounding(player) local rootPart, character = defineCharacter(player) if not rootPart then return end if not character then return end local cframe, size = character:GetBoundingBox() return cframe, size end local function getCorners(cframe, size) local half = size / 2 local corners = {} for _, x in {-1, 1} do for _, y in {-1, 1} do for _, z in {-1, 1} do table.insert(corners, cframe.Position + Vector3.new(x * half.X, y * half.Y, z * half.Z)) end end end return corners end local function createSquare() local square = Drawing.new("Square") square.Color = Config.LineColor square.Thickness = Config.LineThickness square.Filled = false square.Corner = Config.Corner square.Visible = false return square end local function isTeammate(player) if not Config.IgnoreTeammates then return false end if not player.Team or not LocalPlayer.Team then return false end return player.Team == LocalPlayer.Team end local function sameTeam(player) if not player.Team or not LocalPlayer.Team then return false end return player.Team == LocalPlayer.Team end local function getTargetPart(character, hitPart) local part = nil if hitPart == "Head" then part = character:FindFirstChild("Head") elseif hitPart == "Torso" then part = character:FindFirstChild("UpperTorso") or character:FindFirstChild("Torso") elseif hitPart == "Legs" then part = character:FindFirstChild("RightUpperLeg") or character:FindFirstChild("RightLeg") end return part or character:FindFirstChild("HumanoidRootPart") end local function isAlive(character) local humanoid = character:FindFirstChild("Humanoid") if not humanoid then return true end local ok, health = pcall(function() return humanoid.Health end) if ok and type(health) == "number" then return health > 0 end return true end local function getVelocity(part) local ok, velocity = pcall(function() return part.AssemblyLinearVelocity end) if ok and velocity then return velocity end return Vector3.new(0, 0, 0) end local function isVisible(part, character) local camPos = camera.CFrame.Position local ignore = { camera } if LocalPlayer.Character then table.insert(ignore, LocalPlayer.Character) end local ray = Ray.new(camPos, part.Position - camPos) local hit = workspace:FindPartOnRayWithIgnoreList(ray, ignore) if not hit then return true end local parent = hit while parent do if parent == character then return true end parent = parent.Parent end return false end local function isCrosshairClear(targetPlayer, targetDistance) local camPos = camera.CFrame.Position local dir = camera.CFrame.LookVector local ignore = { camera } if LocalPlayer.Character then table.insert(ignore, LocalPlayer.Character) end local ray = Ray.new(camPos, dir * targetDistance) local hit = workspace:FindPartOnRayWithIgnoreList(ray, ignore) if not hit then return true end local character = targetPlayer.Character if character then local parent = hit while parent do if parent == character then return true end parent = parent.Parent end end return false end local function isFiniteVector(v) return v.X == v.X and v.Y == v.Y and v.Z == v.Z and math.abs(v.X) < 1e6 and math.abs(v.Y) < 1e6 and math.abs(v.Z) < 1e6 end local function evaluateTarget(player, maxAngle) if player == LocalPlayer then return nil, "self" end if AimConfig.TeamCheck and sameTeam(player) then return nil, "teammate" end local rootPart, character = defineCharacter(player) if not rootPart or not character then return nil, "no character" end if not isAlive(character) then return nil, "dead" end local part = getTargetPart(character, AimConfig.HitPart) if not part then return nil, "no hit part" end local camPos = camera.CFrame.Position local aimPosition = part.Position if not isFiniteVector(aimPosition) then return nil, "bad position" end if (aimPosition - camPos).Magnitude > AimConfig.Distance then return nil, "too far" end local predictionMs = AimConfig.Prediction if AimConfig.AutoPrediction then local velocity = getVelocity(rootPart) if isFiniteVector(velocity) then local flat = Vector3.new(velocity.X, 0, velocity.Z) local speed = flat.Magnitude if speed > 5 then local dist = (aimPosition - camPos).Magnitude predictionMs = math.clamp((dist / speed) * 1000, 0, 300) end end end if predictionMs > 0 then local velocity = getVelocity(rootPart) if isFiniteVector(velocity) then local flat = Vector3.new(velocity.X, 0, velocity.Z) if flat.Magnitude > 120 then flat = flat.Unit * 120 end aimPosition = aimPosition + flat * (predictionMs / 1000) end end local offset = aimPosition - camPos if offset.Magnitude < 0.1 then return nil, "too close" end local dot = camera.CFrame.LookVector:Dot(offset.Unit) local angle = math.deg(math.acos(math.clamp(dot, -1, 1))) if angle > maxAngle then return nil, "outside FOV" end if AimConfig.VisibleCheck and not isVisible(part, character) then return nil, "blocked" end return { Player = player, AimPosition = aimPosition, Angle = angle } end local lastRejects = {} local function tryEvaluate(player, maxAngle) local ok, target, reason = pcall(evaluateTarget, player, maxAngle) if not ok then return nil, "error" end return target, reason end local function getBestTarget() table.clear(lastRejects) if AimConfig.Sticky and lockedPlayer and lockedPlayer.Parent then local target = tryEvaluate(lockedPlayer, math.min(180, AimConfig.FOV * 1.5)) if target then return target end end lockedPlayer = nil local best = nil for _, player in Players:GetPlayers() do local target, reason = tryEvaluate(player, AimConfig.FOV) if target then if not best or target.Angle < best.Angle then best = target end elseif reason and reason ~= "self" then lastRejects[reason] = (lastRejects[reason] or 0) + 1 end end if best then lockedPlayer = best.Player end return best end local function getAssistTarget() if not AssistConfig.Enabled then return nil end local camPos = camera.CFrame.Position local best = nil local bestAngle = AssistConfig.FOV for _, player in Players:GetPlayers() do if player == LocalPlayer then continue end if AssistConfig.TeamCheck and sameTeam(player) then continue end local rootPart, character = defineCharacter(player) if not rootPart or not character then continue end if not isAlive(character) then continue end local part = getTargetPart(character, AimConfig.HitPart) if not part then continue end local aimPosition = part.Position if not isFiniteVector(aimPosition) then continue end local dist = (aimPosition - camPos).Magnitude if dist > AssistConfig.Distance then continue end local offset = aimPosition - camPos if offset.Magnitude < 0.1 then continue end local dot = camera.CFrame.LookVector:Dot(offset.Unit) local angle = math.deg(math.acos(math.clamp(dot, -1, 1))) if angle > bestAngle then continue end bestAngle = angle best = aimPosition end return best end local function getSilentTarget() if not SilentAimConfig.Enabled then return nil end local camPos = camera.CFrame.Position local best = nil local bestAngle = SilentAimConfig.FOV for _, player in Players:GetPlayers() do if player == LocalPlayer then continue end if SilentAimConfig.TeamCheck and sameTeam(player) then continue end local rootPart, character = defineCharacter(player) if not rootPart or not character then continue end if not isAlive(character) then continue end local part = getTargetPart(character, SilentAimConfig.HitPart) if not part then continue end local aimPosition = part.Position if not isFiniteVector(aimPosition) then continue end local dist = (aimPosition - camPos).Magnitude if dist > SilentAimConfig.Distance then continue end local offset = aimPosition - camPos if offset.Magnitude < 0.1 then continue end local dot = camera.CFrame.LookVector:Dot(offset.Unit) local angle = math.deg(math.acos(math.clamp(dot, -1, 1))) if angle > bestAngle then continue end if SilentAimConfig.VisibleCheck and not isVisible(part, character) then continue end bestAngle = angle best = part end return best end local silentHookActive = false local isFiring = false local oldIndex = nil local function installSilentAim() if silentHookActive then return end oldIndex = hookmetamethod(game, "__index", function(self, key) if silentHookActive and isFiring and self == camera and key == "CFrame" and not checkcaller() then local target = getSilentTarget() if target then local realCFrame = oldIndex(self, "CFrame") return CFrame.new(realCFrame.Position, target.Position) end end return oldIndex(self, key) end) silentHookActive = true end local function removeSilentAim() if not silentHookActive then return end silentHookActive = false isFiring = false if oldIndex then hookmetamethod(game, "__index", function(self, key) return oldIndex(self, key) end) oldIndex = nil end end UserInputService.InputBegan:Connect(function(input, processed) if processed then return end if input.UserInputType == Enum.UserInputType.MouseButton1 then isFiring = true task.delay(0.08, function() isFiring = false end) end end) local getClock = os.clock or tick or function() return 0 end local lastClock = nil local lastDebug = 0 local fovCircle = Drawing.new("Circle") fovCircle.Thickness = 1 fovCircle.Color = Color3.fromRGB(255, 255, 255) fovCircle.Filled = false fovCircle.Transparency = 0.7 fovCircle.Visible = false local function updateFOVCircle() if not AimConfig.Enabled or not AimConfig.ShowFOV then fovCircle.Visible = false return end local viewport = workspace.CurrentCamera.ViewportSize local screenCenter = Vector2.new(viewport.X / 2, viewport.Y / 2) local fovRad = math.rad(AimConfig.FOV / 2) local camFovRad = math.rad(camera.FieldOfView / 2) local pixelRadius = (viewport.Y / 2) * math.tan(fovRad) / math.tan(camFovRad) fovCircle.Visible = true fovCircle.Position = screenCenter fovCircle.Radius = math.clamp(pixelRadius, 10, 2000) end local function aimbotLoop() local now = getClock() local step = lastClock and (now - lastClock) or (1 / 60) lastClock = now if step <= 0 or step > 0.1 then step = 1 / 60 end updateFOVCircle() if not AimConfig.Enabled then lockedPlayer = nil return end if not Options.AimKey:GetState() then lockedPlayer = nil return end local camPos = camera.CFrame.Position if not isFiniteVector(camPos) then return end local target = getBestTarget() if not target then if AimConfig.Debug and now - lastDebug > 2 then lastDebug = now local parts = {} for reason, count in pairs(lastRejects) do table.insert(parts, count .. " " .. reason) end local text = #parts > 0 and table.concat(parts, ", ") or "no other players" pcall(function() Library:Notify("Aimbot", "No target: " .. text, 2) end) end return end local targetPos = target.AimPosition local screenPos, onScreen = camera:WorldToViewportPoint(targetPos) if not onScreen then return end local current = UserInputService:GetMouseLocation() local goal = Vector2.new(screenPos.X, screenPos.Y) local alpha if AimConfig.HumanMode then alpha = 1 - math.exp(-(60 / AimConfig.Smoothing) * step) else alpha = 1 / AimConfig.Smoothing end local delta = (goal - current) * alpha if AimConfig.HumanMode then delta.X += (math.random() * 2 - 1) * 0.8 delta.Y += (math.random() * 2 - 1) * 0.8 end mousemoverel(delta.X, delta.Y) end local function assistLoop() if not AssistConfig.Enabled then return end local camPos = camera.CFrame.Position if not isFiniteVector(camPos) then return end local targetPos = getAssistTarget() if not targetPos then return end local screenPos, onScreen = camera:WorldToViewportPoint(targetPos) if not onScreen then return end local current = UserInputService:GetMouseLocation() local goal = Vector2.new(screenPos.X, screenPos.Y) local pull = AssistConfig.Pull / 100 local delta = (goal - current) * pull mousemoverel(delta.X, delta.Y) end local lastTriggerTime = 0 local mouseDown = false local function triggerbotLoop() if not TriggerConfig.Enabled then if mouseDown then mouse1release() mouseDown = false end return end if not Options.AimKey:GetState() then if mouseDown then mouse1release() mouseDown = false end return end local now = getClock() if mouseDown then if (now - lastTriggerTime) * 1000 >= TriggerConfig.Release then mouse1release() mouseDown = false end return end if (now - lastTriggerTime) * 1000 < TriggerConfig.Delay then return end local target = getBestTarget() if target then local shouldFire = true if TriggerConfig.VisibleCheck then local character = target.Player.Character if character then local part = getTargetPart(character, AimConfig.HitPart) if part and not isVisible(part, character) then shouldFire = false end end end if shouldFire then lastTriggerTime = now isFiring = true mouse1press() mouseDown = true task.delay(0.05, function() isFiring = false end) end end end local smartLastTriggerTime = 0 local smartMouseDown = false local smartAimFrames = {} local function smartTriggerbotLoop() if not SmartTriggerConfig.Enabled then if smartMouseDown then mouse1release() smartMouseDown = false end for p, _ in pairs(smartAimFrames) do smartAimFrames[p] = nil end return end if not Options.AimKey:GetState() then if smartMouseDown then mouse1release() smartMouseDown = false end for p, _ in pairs(smartAimFrames) do smartAimFrames[p] = nil end return end local now = getClock() if smartMouseDown then if (now - smartLastTriggerTime) * 1000 >= SmartTriggerConfig.Release then mouse1release() smartMouseDown = false end return end if (now - smartLastTriggerTime) * 1000 < SmartTriggerConfig.Delay then return end local bestTarget = nil local camPos = camera.CFrame.Position for _, player in Players:GetPlayers() do if player == LocalPlayer then continue end if SmartTriggerConfig.TeamCheck and sameTeam(player) then continue end local rootPart, character = defineCharacter(player) if not rootPart or not character then continue end if not isAlive(character) then continue end local part = getTargetPart(character, AimConfig.HitPart) if not part then continue end local aimPosition = part.Position if not isFiniteVector(aimPosition) then continue end local dist = (aimPosition - camPos).Magnitude if dist > AimConfig.Distance then continue end local offset = aimPosition - camPos if offset.Magnitude < 0.1 then continue end local dot = camera.CFrame.LookVector:Dot(offset.Unit) local angle = math.deg(math.acos(math.clamp(dot, -1, 1))) if angle > SmartTriggerConfig.AngleThreshold then smartAimFrames[player] = nil continue end if not isCrosshairClear(player, dist) then smartAimFrames[player] = nil continue end smartAimFrames[player] = (smartAimFrames[player] or 0) + 1 if smartAimFrames[player] >= SmartTriggerConfig.MinFrames then if not bestTarget or angle < bestTarget.Angle then bestTarget = { Player = player, Angle = angle } end end end for player, frames in pairs(smartAimFrames) do local rootPart, character = defineCharacter(player) if not rootPart or not character then smartAimFrames[player] = nil continue end local part = getTargetPart(character, AimConfig.HitPart) if not part then smartAimFrames[player] = nil continue end local offset = part.Position - camPos if offset.Magnitude < 0.1 then smartAimFrames[player] = nil continue end local dot = camera.CFrame.LookVector:Dot(offset.Unit) local angle = math.deg(math.acos(math.clamp(dot, -1, 1))) local dist = offset.Magnitude if angle > SmartTriggerConfig.AngleThreshold or not isCrosshairClear(player, dist) then smartAimFrames[player] = nil end end if bestTarget then smartLastTriggerTime = now isFiring = true mouse1press() smartMouseDown = true task.delay(0.05, function() isFiring = false end) end end local function renderESP() if not Toggles.ESPEnabled.Value then return end for _, player in Players:GetPlayers() do if player == LocalPlayer then continue end if isTeammate(player) then if playerSquares[player] then playerSquares[player].Visible = false end continue end local cframe, size = GetBounding(player) if not cframe then if playerSquares[player] then playerSquares[player].Visible = false end continue end if playerSquares[player] == nil then playerSquares[player] = createSquare() end local corners = getCorners(cframe, size) local minX, minY, maxX, maxY = math.huge, math.huge, -math.huge, -math.huge local anyOnScreen = false for _, corner in ipairs(corners) do local v, onScreen = camera:WorldToViewportPoint(corner) if onScreen then anyOnScreen = true if v.X < minX then minX = v.X end if v.Y < minY then minY = v.Y end if v.X > maxX then maxX = v.X end if v.Y > maxY then maxY = v.Y end end end if anyOnScreen then playerSquares[player].Visible = true playerSquares[player].Position = Vector2.new(minX, minY) playerSquares[player].Size = Vector2.new(maxX - minX, maxY - minY) else playerSquares[player].Visible = false end end end local function cleanupAllSquares() for player, square in pairs(playerSquares) do square:Remove() playerSquares[player] = nil end end local function setRTX(enabled) if enabled then Lighting.Technology = Enum.Technology.Future Lighting.Brightness = 3 for _, fx in ipairs(Lighting:GetChildren()) do if fx.Name == "RTX_Bloom" then fx:Destroy() end end local bloom = Instance.new("BloomEffect") bloom.Name = "RTX_Bloom" bloom.Intensity = 1.6 bloom.Size = 56 bloom.Threshold = 0.8 bloom.Parent = Lighting origReflectance = {} for _, v in ipairs(workspace:GetDescendants()) do if v:IsA("BasePart") and not v:IsA("Terrain") then origReflectance[v] = v.Reflectance v.Reflectance = math.max(v.Reflectance, 0.35) v.Material = Enum.Material.SmoothPlastic end end else Lighting.Technology = origLighting.Technology Lighting.Brightness = origLighting.Brightness for _, fx in ipairs(Lighting:GetChildren()) do if fx.Name == "RTX_Bloom" then fx:Destroy() end end for v, ref in pairs(origReflectance) do if v and v.Parent then v.Reflectance = ref end end origReflectance = {} end end local Window = Library:CreateWindow({ Title = "Universal Aimbot", Subtitle = "made by LinkMakesMods", Badge = "Pro", FooterLeft = "Connected", FooterCenter = "ESP", FooterRightLabel = "Build:", FooterRightValue = os.date("%b ") .. tonumber(os.date("%d")) .. os.date(" %Y"), Size = UDim2.fromOffset(605, 500), Center = true, AutoShow = true, Resizable = true, UnlockMouseWhileOpen = true, NotifySide = "Left", TabPadding = 8, MenuFadeTime = 0.2, }) Library:SetSnow(false) local Tabs = { ESP = Window:AddTab("ESP"), Aimbot = Window:AddTab("Aimbot"), Configs = Window:AddTab("Configs"), } local ESPGroup = Tabs.ESP:AddLeftGroupbox("Outline") ESPGroup:AddToggle("ESPEnabled", { Text = "Enable Outline", Default = true, Callback = function(value) if not value then for _, s in pairs(playerSquares) do s.Visible = false end end end }) ESPGroup:AddToggle("IgnoreTeammates", { Text = "Ignore Teammates", Default = true, Callback = function(value) Config.IgnoreTeammates = value end }) ESPGroup:AddSlider("LineThickness", { Text = "Line Thickness", Default = 2, Min = 1, Max = 10, Rounding = 0, Callback = function(value) Config.LineThickness = value for _, s in pairs(playerSquares) do s.Thickness = value end end }) ESPGroup:AddSlider("CornerRadius", { Text = "Corner Radius", Default = 12, Min = 0, Max = 50, Rounding = 0, Callback = function(value) Config.Corner = value for _, s in pairs(playerSquares) do s.Corner = value end end }) ESPGroup:AddDropdown("LineColor", { Text = "Line Color", Values = COLOR_NAMES, Default = 1, Callback = function(value) local c = COLORS[resolveOption(value, COLOR_NAMES)] if c then Config.LineColor = c for _, s in pairs(playerSquares) do s.Color = c end end end }) local MiscGroup = Tabs.ESP:AddRightGroupbox("Misc") MiscGroup:AddButton("Remove All", function() cleanupAllSquares() Library:Notify("Universal Aimbot", "All outlines removed", 2) end) MiscGroup:AddToggle("RTXToggle", { Text = "RTX (Future Tech + Bloom)", Default = false, Callback = function(value) rtxEnabled = value setRTX(value) Library:Notify("Universal Aimbot", "RTX " .. (value and "ON" or "OFF"), 2) end }) local AimGroup = Tabs.Aimbot:AddLeftGroupbox("Aimbot") AimGroup:AddToggle("AimEnabled", { Text = "Enabled", Default = false, Callback = function(value) AimConfig.Enabled = value end }):AddKeyPicker("AimKey", { Default = "MB2", Mode = "Hold", Text = "Aimbot" }) AimGroup:AddToggle("AimTeamCheck", { Text = "Team Check", Default = true, Callback = function(value) AimConfig.TeamCheck = value end }) AimGroup:AddToggle("AimVisibleCheck", { Text = "Visible Check", Default = false, Callback = function(value) AimConfig.VisibleCheck = value end }) AimGroup:AddToggle("AimSticky", { Text = "Sticky Target", Default = true, Callback = function(value) AimConfig.Sticky = value lockedPlayer = nil end }) AimGroup:AddToggle("AimDebug", { Text = "Debug (why no target)", Default = false, Callback = function(value) AimConfig.Debug = value end }) AimGroup:AddDropdown("AimHitPart", { Text = "Hit Part", Values = HIT_PARTS, Default = 1, Callback = function(value) AimConfig.HitPart = resolveOption(value, HIT_PARTS) or "Head" end }) AimGroup:AddSlider("AimDistance", { Text = "Distance", Default = 500, Min = 100, Max = 5000, Rounding = 0, Callback = function(value) AimConfig.Distance = value end }) AimGroup:AddSlider("AimFOV", { Text = "FOV (degrees)", Default = 90, Min = 5, Max = 180, Rounding = 0, Callback = function(value) AimConfig.FOV = value end }) local AimSmoothGroup = Tabs.Aimbot:AddRightGroupbox("Smoothing") AimSmoothGroup:AddSlider("AimSmoothing", { Text = "Amount", Default = 5, Min = 1, Max = 20, Rounding = 0, Callback = function(value) AimConfig.Smoothing = value end }) AimSmoothGroup:AddLabel("1 = instant snap, higher = smoother") AimSmoothGroup:AddToggle("AimHumanMode", { Text = "Human Mode", Default = false, Callback = function(value) AimConfig.HumanMode = value end }) AimSmoothGroup:AddLabel("ON = smooth + jitter, OFF = snappy linear") AimSmoothGroup:AddToggle("AimAutoPred", { Text = "Auto Prediction", Default = false, Callback = function(value) AimConfig.AutoPrediction = value end }) AimSmoothGroup:AddLabel("Calculates lead from target velocity") AimSmoothGroup:AddSlider("AimPrediction", { Text = "Manual Prediction (ms)", Default = 0, Min = 0, Max = 300, Rounding = 0, Callback = function(value) AimConfig.Prediction = value end }) AimSmoothGroup:AddToggle("AimShowFOV", { Text = "Show FOV Circle", Default = true, Callback = function(value) AimConfig.ShowFOV = value end }) local AssistGroup = Tabs.Aimbot:AddRightGroupbox("Aim Assist") AssistGroup:AddToggle("AssistEnabled", { Text = "Enabled", Default = false, Callback = function(value) AssistConfig.Enabled = value end }) AssistGroup:AddLabel("Soft pull. No keybind.\\nAlways active when ON.") AssistGroup:AddSlider("AssistPull", { Text = "Pull Strength (%)", Default = 10, Min = 1, Max = 50, Rounding = 0, Callback = function(value) AssistConfig.Pull = value end }) AssistGroup:AddSlider("AssistFOV", { Text = "FOV (degrees)", Default = 60, Min = 5, Max = 180, Rounding = 0, Callback = function(value) AssistConfig.FOV = value end }) AssistGroup:AddSlider("AssistDistance", { Text = "Distance", Default = 500, Min = 50, Max = 2000, Rounding = 0, Callback = function(value) AssistConfig.Distance = value end }) AssistGroup:AddToggle("AssistTeamCheck", { Text = "Team Check", Default = true, Callback = function(value) AssistConfig.TeamCheck = value end }) local SilentGroup = Tabs.Aimbot:AddRightGroupbox("Silent Aim") SilentGroup:AddToggle("SilentAimEnabled", { Text = "Enabled", Default = false, Callback = function(value) SilentAimConfig.Enabled = value if value then installSilentAim() else removeSilentAim() end end }) SilentGroup:AddToggle("SilentAimTeamCheck", { Text = "Team Check", Default = true, Callback = function(value) SilentAimConfig.TeamCheck = value end }) SilentGroup:AddToggle("SilentAimVisibleCheck", { Text = "Visible Check", Default = true, Callback = function(value) SilentAimConfig.VisibleCheck = value end }) SilentGroup:AddDropdown("SilentAimHitPart", { Text = "Hit Part", Values = HIT_PARTS, Default = 1, Callback = function(value) SilentAimConfig.HitPart = resolveOption(value, HIT_PARTS) or "Head" end }) SilentGroup:AddSlider("SilentAimDistance", { Text = "Distance", Default = 500, Min = 100, Max = 5000, Rounding = 0, Callback = function(value) SilentAimConfig.Distance = value end }) SilentGroup:AddSlider("SilentAimFOV", { Text = "FOV (degrees)", Default = 90, Min = 5, Max = 180, Rounding = 0, Callback = function(value) SilentAimConfig.FOV = value end }) SilentGroup:AddLabel("Camera stays put. Shot redirected.\\nOnly active while firing.") local TriggerGroup = Tabs.Aimbot:AddRightGroupbox("Trigger Bot") TriggerGroup:AddToggle("TriggerEnabled", { Text = "Enabled", Default = false, Callback = function(value) TriggerConfig.Enabled = value end }) TriggerGroup:AddToggle("TriggerTeamCheck", { Text = "Team Check", Default = true, Callback = function(value) TriggerConfig.TeamCheck = value end }) TriggerGroup:AddToggle("TriggerVisibleCheck", { Text = "Visible Check", Default = true, Callback = function(value) TriggerConfig.VisibleCheck = value end }) TriggerGroup:AddSlider("TriggerDelay", { Text = "Delay (ms)", Default = 1, Min = 1, Max = 500, Rounding = 0, Callback = function(value) TriggerConfig.Delay = value end }) TriggerGroup:AddSlider("TriggerRelease", { Text = "Release (ms)", Default = 10, Min = 10, Max = 500, Rounding = 0, Callback = function(value) TriggerConfig.Release = value end }) local SmartTriggerGroup = Tabs.Aimbot:AddRightGroupbox("Smart Trigger") SmartTriggerGroup:AddToggle("SmartTriggerEnabled", { Text = "Enabled", Default = false, Callback = function(value) SmartTriggerConfig.Enabled = value end }) SmartTriggerGroup:AddToggle("SmartTriggerTeamCheck", { Text = "Team Check", Default = true, Callback = function(value) SmartTriggerConfig.TeamCheck = value end }) SmartTriggerGroup:AddSlider("SmartTriggerAngle", { Text = "Angle Threshold (deg)", Default = 5, Min = 1, Max = 30, Rounding = 0, Callback = function(value) SmartTriggerConfig.AngleThreshold = value end }) SmartTriggerGroup:AddLabel("Lower = must be more precisely aimed") SmartTriggerGroup:AddSlider("SmartTriggerMinFrames", { Text = "Min Frames Stable", Default = 3, Min = 1, Max = 30, Rounding = 0, Callback = function(value) SmartTriggerConfig.MinFrames = value end }) SmartTriggerGroup:AddLabel("Frames target must stay in aim before firing") SmartTriggerGroup:AddSlider("SmartTriggerDelay", { Text = "Delay (ms)", Default = 1, Min = 1, Max = 500, Rounding = 0, Callback = function(value) SmartTriggerConfig.Delay = value end }) SmartTriggerGroup:AddSlider("SmartTriggerRelease", { Text = "Release (ms)", Default = 10, Min = 10, Max = 500, Rounding = 0, Callback = function(value) SmartTriggerConfig.Release = value end }) ThemeManager:SetLibrary(Library) SaveManager:SetLibrary(Library) SaveManager:IgnoreThemeSettings() SaveManager:SetIgnoreIndexes({ "MenuKeybind" }) ThemeManager:SetFolder("UniversalAimbot") SaveManager:SetFolder("UniversalAimbot") SaveManager:BuildConfigSection(Tabs.Configs) local MenuGroup = Tabs.Configs:AddLeftGroupbox("Menu") MenuGroup:AddToggle("KeybindMenuOpen", { Default = Library.KeybindFrame.Visible, Text = "Open Keybind Menu", Callback = function(value) Library.KeybindFrame.Visible = value end }) MenuGroup:AddToggle("BlurEnabled", { Text = "Blur", Default = false, Callback = function(Value) Library:SetBlur(Value) end }) MenuGroup:AddToggle("DarkOverlay", { Text = "Dark", Default = true, Callback = function(Value) Library:SetDark(Value) end }) MenuGroup:AddDivider() MenuGroup:AddLabel("Menu bind"):AddKeyPicker("MenuKeybind", { Default = "RightShift", NoUI = true, Text = "Menu keybind" }) MenuGroup:AddButton("Close Menu", function() Library.MainFrame.Visible = false end) MenuGroup:AddButton("Unload", function() Library:Unload() end) Library.ToggleKeybind = Options.MenuKeybind local SoundGroup = Tabs.Configs:AddRightGroupbox("Sounds") SoundGroup:AddToggle("UISound", { Text = "Ui sound", Default = true, Callback = function(Value) Library.UISound = Value end }) SoundGroup:AddToggle("KeybindSound", { Text = "Keybind sound", Default = false, Callback = function(Value) Library.KeybindSound = Value end }) ThemeManager:ApplyToTab(Tabs.Configs) local reported = {} local function safeRun(name, func) local ok, err = pcall(func) if not ok then local key = name .. tostring(err) if not reported[key] then reported[key] = true warn("[Universal Aimbot] " .. name .. " error: " .. tostring(err)) pcall(function() Library:Notify("Universal Aimbot", name .. " error: " .. tostring(err), 8) end) end end end local aimStep = RunService:BindToRenderStep("UA_Aimbot", Enum.RenderPriority.Last.Value, function() local current = workspace.CurrentCamera if current then camera = current end safeRun("Triggerbot", triggerbotLoop) safeRun("SmartTriggerbot", smartTriggerbotLoop) end) local aimConn = RunService.RenderStepped:Connect(function() safeRun("Aimbot", aimbotLoop) safeRun("Assist", assistLoop) end) local espStep = RunService:BindToRenderStep("UA_ESP", Enum.RenderPriority.Last.Value, function() safeRun("ESP", renderESP) end) Players.PlayerRemoving:Connect(function(player) if playerSquares[player] then playerSquares[player]:Remove() playerSquares[player] = nil end if lockedPlayer == player then lockedPlayer = nil end smartAimFrames[player] = nil end) Library:OnUnload(function() pcall(function() aimStep:Destroy() end) pcall(function() aimConn:Disconnect() end) pcall(function() espStep:Destroy() end) cleanupAllSquares() removeSilentAim() pcall(function() fovCircle:Remove() end) if rtxEnabled then setRTX(false) rtxEnabled = false end print("Universal Aimbot unloaded.") end) SaveManager:LoadAutoloadConfig() ]] local ok, err = pcall(function() loadstring(script)() end) if not ok then warn("[KeySystem] Failed to load aimbot: " .. tostring(err)) end else setStatus("Invalid key", DangerColor) end end SubmitButton.Activated:Connect(trySubmit) Box.FocusLost:Connect(function(enterPressed) if enterPressed then trySubmit() end end) -- ═══ SESSION AUTO LOGIN ═══ -- A valid session runs the existing successful-key path without showing the GUI. if hasValidSession then Box.Text = "FREE_AlFuQmYQNrJ" trySubmit() return end -- ═══ SHOW ANIMATION ═══ task.wait(0.5) local Info = TweenInfo.new(FadeTime, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) local Originals = {} for _, obj in ipairs(Inner:GetDescendants()) do if obj:IsA("GuiObject") then Originals[obj] = { BT = obj.BackgroundTransparency, TT = (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox")) and obj.TextTransparency or nil, } elseif obj:IsA("UIStroke") then Originals[obj] = { ST = obj.Transparency } end end for obj, _ in pairs(Originals) do if obj:IsA("GuiObject") then obj.BackgroundTransparency = 1 if obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox") then obj.TextTransparency = 1 end elseif obj:IsA("UIStroke") then obj.Transparency = 1 end end Outer.Visible = true WindowScale.Scale = WindowClosedScale for obj, orig in pairs(Originals) do if not obj.Parent then continue end if obj:IsA("GuiObject") and orig.BT < 1 then TweenService:Create(obj, Info, { BackgroundTransparency = orig.BT }):Play() end if (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox")) and orig.TT ~= nil then TweenService:Create(obj, Info, { TextTransparency = orig.TT }):Play() end if obj:IsA("UIStroke") then TweenService:Create(obj, Info, { Transparency = orig.ST or 0 }):Play() end end TweenService:Create(WindowScale, Info, { Scale = 1 }):Play() TweenService:Create(Shadow, Info, { BackgroundTransparency = 0.55 }):Play() task.wait(FadeTime + 0.05) if Box and Box.Parent then Box:CaptureFocus() end -- ═══ DRAG ═══ local dragging = false local dragStart = nil local startPos = nil local function onDragBegin(input) if input.UserInputType ~= Enum.UserInputType.MouseButton1 and input.UserInputType ~= Enum.UserInputType.Touch then return end dragging = true dragStart = input.Position startPos = Outer.Position input.Object.InputEnded:Connect(function(e) if e == input then dragging = false end end) end Topbar.InputBegan:Connect(onDragBegin) for _, d in ipairs(Topbar:GetDescendants()) do d.InputBegan:Connect(onDragBegin) end UserInputService.InputChanged:Connect(function(input) if not dragging then return end if input.UserInputType ~= Enum.UserInputType.MouseMovement and input.UserInputType ~= Enum.UserInputType.Touch then return end local dx = input.Position.X - dragStart.X local dy = input.Position.Y - dragStart.Y Outer.Position = UDim2.new(0, startPos.X.Offset + dx, 0, startPos.Y.Offset + dy) end)