-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] --[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6adf51c9ef5f71aa1f93fee5"))() end) end) --[[rscripts:analytics:end]] --[[ VALOBLOX INTERNAL Native UI recreation of the informant.wtf-style layout (library itself not verifiable/fetchable, so rebuilt natively for guaranteed functionality). RightShift = toggle menu | F9 = Team Diagnostic Discord: mrsans7 ]] ---------------------------------------------------------------- -- MAIN SCRIPT ---------------------------------------------------------------- local function startMainScript() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local HttpService = game:GetService("HttpService") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local genv = (getgenv and getgenv()) or _G if genv.SecretValobloxCleanup then pcall(genv.SecretValobloxCleanup) task.wait(0.05) end ---------------------------------------------------------------- -- CONFIG ---------------------------------------------------------------- local C = { -- ESP ESPEnabled = false, ESPMode = "Enemy", BoxStyle = "2D", -- "None" | "2D" | "Corner" BoxColor = Color3.fromRGB(255,255,255), Skeleton = false, SkeletonColor = Color3.fromRGB(255,255,255), Chams = false, ChamsVisibleColor = Color3.fromRGB(235,70,70), ChamsOccludedColor = Color3.fromRGB(80,200,220), ChamsOutlineColor = Color3.fromRGB(255,255,255), NameEsp = false, NameColor = Color3.fromRGB(0,0,0), HealthBar = false, HealthBarColor = Color3.fromRGB(80,220,100), HealthText = false, HealthTextColor = Color3.fromRGB(0,0,0), DistanceEsp = false, DistanceColor = Color3.fromRGB(0,0,0), WeaponEsp = false, WeaponColor = Color3.fromRGB(0,0,0), HeadDot = false, HeadDotColor = Color3.fromRGB(255,255,255), Tracer = false, TracerColor = Color3.fromRGB(80,200,220), TracerLength = 10, OffscreenArrow = false, ArrowColor = Color3.fromRGB(255,255,255), ArrowRadius = 100, ESPMaxDistance = 2000, DistanceUnit = "Studs", -- "Studs" | "Meters" -- Aimbot AimEnabled = false, AimHead = true, AimVisibleOnly = false, ShowMouseFov = false, MouseFovColor = Color3.fromRGB(255,255,255), ShowSilentFov = false, SilentFovColor = Color3.fromRGB(80,200,220), AimFov = 120, AimSmooth = 0.25, Crosshair = false, CrosshairColor = Color3.fromRGB(255,255,255), CrosshairRotate = false, -- Silent Aim SilentAimEnabled = false, SilentAimUnlimitedFov = true, SilentAimHoldMode = true, SilentFireRateMs = 100, SilentPredictionMs = 60, -- Trigger TriggerEnabled = false, TriggerVisibleOnly = true, TriggerDelayMs = 80, -- Misc NotificationsEnabled = true, WatermarkEnabled = true, TeamOverride = nil, } local CONFIG_PATH = "secret_valoblox.json" ---------------------------------------------------------------- -- UTIL ---------------------------------------------------------------- local function notify(msg) if not C.NotificationsEnabled then return end pcall(function() if genv.SecretValobloxNotifyFn then genv.SecretValobloxNotifyFn(msg) else print("[VALOBLOX] " .. tostring(msg)) end end) end local function click() local ok = pcall(function() if mouse1click then mouse1click() elseif mouse1press and mouse1release then mouse1press() task.wait(0.02) mouse1release() else error("no click api") end end) if not ok then notify("Click API not found.") end end local function localPlayerAlive() local ok, result = pcall(function() local char = LocalPlayer.Character if not char then return false end local hum = char:FindFirstChildOfClass("Humanoid") return hum ~= nil and hum.Health > 0 end) return ok and result end ---------------------------------------------------------------- -- TEAM RESOLVER ---------------------------------------------------------------- local TeamResolver = {} TeamResolver.Cache = {} TeamResolver.Override = nil TeamResolver.FallbackMode = false local function tryGet(fn) local ok, v = pcall(fn) if ok then return v end return nil end function TeamResolver.getRaw(plr) if TeamResolver.Cache[plr] ~= nil then return TeamResolver.Cache[plr] end local val = nil val = val or tryGet(function() return plr.Team and plr.Team.Name end) val = val or tryGet(function() return plr:GetAttribute("Team") end) val = val or tryGet(function() return plr:GetAttribute("TeamName") end) val = val or tryGet(function() local ls = plr:FindFirstChild("leaderstats") return ls and ls:FindFirstChild("Team") and ls.Team.Value end) val = val or tryGet(function() local char = plr.Character return char and char:GetAttribute("Team") end) TeamResolver.Cache[plr] = val return val end function TeamResolver.refresh(plr) TeamResolver.Cache[plr] = nil return TeamResolver.getRaw(plr) end function TeamResolver.dump() print("===== VALOBLOX TEAM DIAGNOSTIC =====") print("Local:", LocalPlayer.Name, "->", TeamResolver.refresh(LocalPlayer)) for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer then print(plr.Name, "->", TeamResolver.refresh(plr)) end end print("Override:", TeamResolver.Override) print("FallbackMode:", TeamResolver.FallbackMode) print("=====================================") end local function enemy(plr) if plr == LocalPlayer then return false end if TeamResolver.FallbackMode then return true end local myTeam = TeamResolver.Override or TeamResolver.getRaw(LocalPlayer) local theirTeam = TeamResolver.getRaw(plr) if myTeam == nil or theirTeam == nil then return false end return myTeam ~= theirTeam end task.delay(6, function() pcall(function() local myTeam = TeamResolver.Override or TeamResolver.getRaw(LocalPlayer) if myTeam == nil and C.ESPMode == "Enemy" then TeamResolver.FallbackMode = true notify("Team not found -> switched to Everyone (Debug) mode.") end end) end) genv.SecretValobloxSetMode = function(mode) if mode == "All" then TeamResolver.FallbackMode = true C.ESPMode = "All" else TeamResolver.FallbackMode = false C.ESPMode = "Enemy" end end ---------------------------------------------------------------- -- CAMERA OVERRIDE ---------------------------------------------------------------- local cameraOverridden = false local function setCameraOverride(active) pcall(function() if active and not cameraOverridden then Camera.CameraType = Enum.CameraType.Scriptable cameraOverridden = true elseif (not active) and cameraOverridden then Camera.CameraType = Enum.CameraType.Custom cameraOverridden = false end end) end ---------------------------------------------------------------- -- WALLCHECK ---------------------------------------------------------------- local function isVisible(character, pos) local ok, result = pcall(function() local origin = Camera.CFrame.Position local dir = (pos - origin) local ignore = {LocalPlayer.Character} for i = 1, 4 do local rp = RaycastParams.new() rp.FilterType = Enum.RaycastFilterType.Exclude rp.FilterDescendantsInstances = ignore rp.IgnoreWater = true local hit = Workspace:Raycast(origin, dir, rp) if not hit then return true end if hit.Instance:IsDescendantOf(character) then return true end local part = hit.Instance if part:IsA("BasePart") and (part.Transparency >= 0.5 or part.CanCollide == false) then table.insert(ignore, part) else return false end end return false end) if not ok then return true end return result end ---------------------------------------------------------------- -- GUI ---------------------------------------------------------------- local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "SecretValobloxGui" ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.DisplayOrder = 999 pcall(function() ScreenGui.Parent = game:GetService("CoreGui") end) if not ScreenGui.Parent then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end local ACCENT = Color3.fromRGB(220,30,30) local BG0 = Color3.fromRGB(14,14,16) local BG1 = Color3.fromRGB(20,20,24) local BG2 = Color3.fromRGB(26,26,30) local TXT = Color3.fromRGB(225,225,230) local Main = Instance.new("Frame") Main.Name = "Main" Main.Size = UDim2.new(0, 500, 0, 560) Main.Position = UDim2.new(0.5, -250, 0.5, -280) Main.BackgroundColor3 = BG0 Main.BorderSizePixel = 0 Main.Visible = false Main.Parent = ScreenGui Instance.new("UICorner", Main).CornerRadius = UDim.new(0,4) -- Title bar local TitleBar = Instance.new("Frame") TitleBar.Size = UDim2.new(1,0,0,30) TitleBar.BackgroundColor3 = BG1 TitleBar.BorderSizePixel = 0 TitleBar.Parent = Main Instance.new("UICorner", TitleBar).CornerRadius = UDim.new(0,4) local Icon = Instance.new("Frame") Icon.Size = UDim2.new(0,6,0,6) Icon.Position = UDim2.new(0.5,-58,0.5,-3) Icon.BackgroundColor3 = ACCENT Icon.Parent = TitleBar Instance.new("UICorner", Icon).CornerRadius = UDim.new(1,0) local TitleText = Instance.new("TextLabel") TitleText.BackgroundTransparency = 1 TitleText.Size = UDim2.new(0,120,1,0) TitleText.Position = UDim2.new(0.5,-45,0,0) TitleText.Font = Enum.Font.GothamBold TitleText.TextSize = 14 TitleText.TextColor3 = TXT TitleText.Text = "VALOBLOX" TitleText.TextXAlignment = Enum.TextXAlignment.Left TitleText.Parent = TitleBar local DiscordTag = Instance.new("TextLabel") DiscordTag.Name = "DiscordTag" DiscordTag.BackgroundTransparency = 1 DiscordTag.Size = UDim2.new(0,150,0,30) DiscordTag.Position = UDim2.new(1,-158,0,0) DiscordTag.Font = Enum.Font.GothamBold DiscordTag.Text = "Discord: mrsans7" DiscordTag.TextColor3 = Color3.fromRGB(255,0,0) DiscordTag.TextXAlignment = Enum.TextXAlignment.Right DiscordTag.TextSize = 13 DiscordTag.Parent = TitleBar task.spawn(function() local hue = 0 while DiscordTag and DiscordTag.Parent do hue = (hue + 0.005) % 1 pcall(function() if C.WatermarkEnabled then DiscordTag.Visible = true DiscordTag.TextColor3 = Color3.fromHSV(hue, 1, 1) else DiscordTag.Visible = false end end) task.wait(0.03) end end) do local dragging, dragStart, startPos TitleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = Main.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) UserInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart Main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) end -- Tab bar local TabBar = Instance.new("Frame") TabBar.Size = UDim2.new(1,0,0,26) TabBar.Position = UDim2.new(0,0,0,30) TabBar.BackgroundColor3 = BG1 TabBar.BorderSizePixel = 0 TabBar.Parent = Main local TabBarLayout = Instance.new("UIListLayout", TabBar) TabBarLayout.FillDirection = Enum.FillDirection.Horizontal TabBarLayout.SortOrder = Enum.SortOrder.LayoutOrder local Content = Instance.new("Frame") Content.Size = UDim2.new(1,0,1,-56) Content.Position = UDim2.new(0,0,0,56) Content.BackgroundColor3 = BG0 Content.BorderSizePixel = 0 Content.Parent = Main local Pages, Tabs = {}, {} local function selectTab(name) for n, pg in pairs(Pages) do pg.Visible = (n == name) end for n, btn in pairs(Tabs) do btn.TextColor3 = (n == name) and ACCENT or TXT local underline = btn:FindFirstChild("Underline") if underline then underline.Visible = (n == name) end end end local function addTab(name) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1/4,0,1,0) btn.BackgroundTransparency = 1 btn.AutoButtonColor = false btn.Font = Enum.Font.GothamBold btn.TextSize = 12 btn.TextColor3 = TXT btn.Text = name btn.Parent = TabBar local underline = Instance.new("Frame") underline.Name = "Underline" underline.Size = UDim2.new(1,0,0,2) underline.Position = UDim2.new(0,0,1,-2) underline.BackgroundColor3 = ACCENT underline.BorderSizePixel = 0 underline.Visible = false underline.Parent = btn local page = Instance.new("ScrollingFrame") page.Size = UDim2.new(1,0,1,0) page.BackgroundTransparency = 1 page.BorderSizePixel = 0 page.ScrollBarThickness = 3 page.CanvasSize = UDim2.new(0,0,0,0) page.AutomaticCanvasSize = Enum.AutomaticSize.Y page.Visible = false page.Parent = Content local layout = Instance.new("UIListLayout", page) layout.Padding = UDim.new(0,8) local pad = Instance.new("UIPadding", page) pad.PaddingTop = UDim.new(0,8) pad.PaddingLeft = UDim.new(0,8) pad.PaddingRight = UDim.new(0,8) pad.PaddingBottom = UDim.new(0,8) btn.MouseButton1Click:Connect(function() selectTab(name) end) Pages[name] = page Tabs[name] = btn return page end ---------------------------------------------------------------- -- LAYOUT HELPERS ---------------------------------------------------------------- local function makeTwoColumn(page) local container = Instance.new("Frame") container.BackgroundTransparency = 1 container.Size = UDim2.new(1,0,0,0) container.AutomaticSize = Enum.AutomaticSize.Y container.Parent = page local hl = Instance.new("UIListLayout", container) hl.FillDirection = Enum.FillDirection.Horizontal hl.Padding = UDim.new(0,8) local left = Instance.new("Frame") left.BackgroundTransparency = 1 left.Size = UDim2.new(0.5,-4,0,0) left.AutomaticSize = Enum.AutomaticSize.Y left.Parent = container local ll = Instance.new("UIListLayout", left) ll.Padding = UDim.new(0,8) local right = Instance.new("Frame") right.BackgroundTransparency = 1 right.Size = UDim2.new(0.5,-4,0,0) right.AutomaticSize = Enum.AutomaticSize.Y right.Parent = container local rl = Instance.new("UIListLayout", right) rl.Padding = UDim.new(0,8) return left, right end local function createSection(parent, title) local sec = Instance.new("Frame") sec.BackgroundColor3 = BG2 sec.Size = UDim2.new(1,0,0,0) sec.AutomaticSize = Enum.AutomaticSize.Y sec.Parent = parent Instance.new("UICorner", sec).CornerRadius = UDim.new(0,4) local pad = Instance.new("UIPadding", sec) pad.PaddingTop = UDim.new(0,6) pad.PaddingBottom = UDim.new(0,8) pad.PaddingLeft = UDim.new(0,8) pad.PaddingRight = UDim.new(0,8) local layout = Instance.new("UIListLayout", sec) layout.Padding = UDim.new(0,5) local header = Instance.new("TextLabel") header.BackgroundTransparency = 1 header.Size = UDim2.new(1,0,0,16) header.Font = Enum.Font.GothamBold header.TextSize = 12 header.TextColor3 = TXT header.Text = title header.LayoutOrder = 0 header.Parent = sec local underline = Instance.new("Frame") underline.Size = UDim2.new(1,0,0,1) underline.BackgroundColor3 = ACCENT underline.BorderSizePixel = 0 underline.LayoutOrder = 1 underline.Parent = sec return sec end local PALETTE = { Color3.fromRGB(255,255,255), Color3.fromRGB(0,0,0), Color3.fromRGB(235,70,70), Color3.fromRGB(80,220,100), Color3.fromRGB(80,200,220), Color3.fromRGB(230,220,80), Color3.fromRGB(180,80,220), Color3.fromRGB(255,140,0), } local function addColorSwatch(rowParent, key) local swatch = Instance.new("TextButton") swatch.Size = UDim2.new(0,44,0,14) swatch.Position = UDim2.new(1,-44,0.5,-7) swatch.BackgroundColor3 = C[key] or Color3.new(1,1,1) swatch.Text = "" swatch.AutoButtonColor = false swatch.Parent = rowParent Instance.new("UICorner", swatch).CornerRadius = UDim.new(0,3) swatch.MouseButton1Click:Connect(function() local idx = 1 for i,c in ipairs(PALETTE) do if c == C[key] then idx = i break end end idx = idx % #PALETTE + 1 C[key] = PALETTE[idx] swatch.BackgroundColor3 = C[key] end) end local function addCheckRow(parent, label, boolKey, colorKey, onChange) local row = Instance.new("Frame") row.BackgroundTransparency = 1 row.Size = UDim2.new(1,0,0,20) row.Parent = parent local box = Instance.new("TextButton") box.Size = UDim2.new(0,13,0,13) box.Position = UDim2.new(0,0,0.5,-6) box.BackgroundColor3 = BG1 box.AutoButtonColor = false box.Text = "" box.Parent = row local stroke = Instance.new("UIStroke", box) stroke.Color = TXT stroke.Thickness = 1 local fill = Instance.new("Frame") fill.Size = UDim2.new(1,-4,1,-4) fill.Position = UDim2.new(0,2,0,2) fill.BackgroundColor3 = ACCENT fill.Visible = C[boolKey] == true fill.Parent = box local lbl = Instance.new("TextLabel") lbl.BackgroundTransparency = 1 lbl.Size = UDim2.new(1,-66,1,0) lbl.Position = UDim2.new(0,19,0,0) lbl.Font = Enum.Font.Gotham lbl.TextSize = 12 lbl.TextColor3 = TXT lbl.TextXAlignment = Enum.TextXAlignment.Left lbl.Text = label lbl.Parent = row box.MouseButton1Click:Connect(function() C[boolKey] = not C[boolKey] fill.Visible = C[boolKey] if onChange then pcall(onChange, C[boolKey]) end end) if colorKey then addColorSwatch(row, colorKey) end return row end local function addSliderRow(parent, label, key, min, max, step, suffix) local holder = Instance.new("Frame") holder.BackgroundTransparency = 1 holder.Size = UDim2.new(1,0,0,32) holder.Parent = parent local lbl = Instance.new("TextLabel") lbl.BackgroundTransparency = 1 lbl.Size = UDim2.new(1,0,0,14) lbl.Font = Enum.Font.Gotham lbl.TextSize = 11 lbl.TextColor3 = TXT lbl.TextXAlignment = Enum.TextXAlignment.Left lbl.Text = label .. ": " .. tostring(C[key]) .. (suffix or "") lbl.Parent = holder local bar = Instance.new("Frame") bar.Size = UDim2.new(1,0,0,7) bar.Position = UDim2.new(0,0,0,18) bar.BackgroundColor3 = BG1 bar.Parent = holder Instance.new("UICorner", bar).CornerRadius = UDim.new(0,2) local fill = Instance.new("Frame") fill.BackgroundColor3 = ACCENT fill.Size = UDim2.new(math.clamp((C[key]-min)/(max-min),0,1),0,1,0) fill.Parent = bar Instance.new("UICorner", fill).CornerRadius = UDim.new(0,2) local dragging = false local function setFromX(x) local rel = math.clamp((x - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1) local val = min + (max-min)*rel val = math.floor(val/step + 0.5)*step C[key] = val fill.Size = UDim2.new(math.clamp((val-min)/(max-min),0,1),0,1,0) lbl.Text = label .. ": " .. tostring(val) .. (suffix or "") end bar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true setFromX(input.Position.X) end end) UserInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then setFromX(input.Position.X) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) end local function addDropdownRow(parent, label, key, options) local holder = Instance.new("Frame") holder.BackgroundTransparency = 1 holder.Size = UDim2.new(1,0,0,34) holder.Parent = parent local lbl = Instance.new("TextLabel") lbl.BackgroundTransparency = 1 lbl.Size = UDim2.new(1,0,0,14) lbl.Font = Enum.Font.Gotham lbl.TextSize = 11 lbl.TextColor3 = TXT lbl.TextXAlignment = Enum.TextXAlignment.Left lbl.Text = label lbl.Parent = holder local btn = Instance.new("TextButton") btn.Size = UDim2.new(1,0,0,18) btn.Position = UDim2.new(0,0,0,16) btn.BackgroundColor3 = BG1 btn.AutoButtonColor = false btn.Font = Enum.Font.Gotham btn.TextSize = 12 btn.TextColor3 = TXT btn.TextXAlignment = Enum.TextXAlignment.Left btn.Text = " " .. tostring(C[key]) .. " >" btn.Parent = holder Instance.new("UICorner", btn).CornerRadius = UDim.new(0,3) btn.MouseButton1Click:Connect(function() local idx = 1 for i,v in ipairs(options) do if v == C[key] then idx = i break end end idx = idx % #options + 1 C[key] = options[idx] btn.Text = " " .. tostring(C[key]) .. " >" end) end local function addButtonRow(parent, label, fn) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1,0,0,26) btn.BackgroundColor3 = BG1 btn.AutoButtonColor = true btn.Font = Enum.Font.GothamBold btn.TextSize = 11 btn.TextColor3 = TXT btn.Text = label btn.Parent = parent Instance.new("UICorner", btn).CornerRadius = UDim.new(0,3) btn.MouseButton1Click:Connect(function() pcall(fn) end) end local function addTextInputRow(parent, placeholder, fn) local box = Instance.new("TextBox") box.Size = UDim2.new(1,0,0,24) box.BackgroundColor3 = BG1 box.TextColor3 = TXT box.PlaceholderText = placeholder box.Text = "" box.Font = Enum.Font.Gotham box.TextSize = 12 box.Parent = parent Instance.new("UICorner", box).CornerRadius = UDim.new(0,3) box.FocusLost:Connect(function(enter) if enter then pcall(fn, box.Text) end end) end ---------------------------------------------------------------- -- NOTIFY POPUP ---------------------------------------------------------------- local NotifyHolder = Instance.new("Frame") NotifyHolder.Size = UDim2.new(0,260,0,120) NotifyHolder.Position = UDim2.new(1,-270,1,-130) NotifyHolder.BackgroundTransparency = 1 NotifyHolder.Parent = ScreenGui local NotifyList = Instance.new("UIListLayout", NotifyHolder) NotifyList.VerticalAlignment = Enum.VerticalAlignment.Bottom NotifyList.Padding = UDim.new(0,4) genv.SecretValobloxNotifyFn = function(msg) local f = Instance.new("Frame") f.Size = UDim2.new(1,0,0,30) f.BackgroundColor3 = BG2 f.Parent = NotifyHolder Instance.new("UICorner", f).CornerRadius = UDim.new(0,6) local t = Instance.new("TextLabel") t.BackgroundTransparency = 1 t.Size = UDim2.new(1,-10,1,0) t.Position = UDim2.new(0,5,0,0) t.Font = Enum.Font.Gotham t.TextSize = 12 t.TextColor3 = TXT t.TextWrapped = true t.Text = msg t.Parent = f task.delay(3, function() pcall(function() f:Destroy() end) end) end ---------------------------------------------------------------- -- BUILD PAGES ---------------------------------------------------------------- local AimbotPage = addTab("Aimbot") local VisualsPage = addTab("Visuals") local MiscPage = addTab("Miscellaneous") local SettingsPage = addTab("Settings") selectTab("Aimbot") -- AIMBOT PAGE do local left, right = makeTwoColumn(AimbotPage) local mainSec = createSection(left, "Main") addCheckRow(mainSec, "Aimbot Enabled", "AimEnabled") addCheckRow(mainSec, "Head Lock", "AimHead") addCheckRow(mainSec, "Wallcheck (Visible Only)", "AimVisibleOnly") local fovSec = createSection(left, "FOV / Smoothing") addSliderRow(fovSec, "FOV", "AimFov", 20, 500, 5) addSliderRow(fovSec, "Smoothing", "AimSmooth", 0.01, 1, 0.01) local localSec = createSection(left, "Local") addCheckRow(localSec, "Mouse FOV", "ShowMouseFov", "MouseFovColor") addCheckRow(localSec, "Silent FOV", "ShowSilentFov", "SilentFovColor") addCheckRow(localSec, "Crosshair", "Crosshair", "CrosshairColor") addCheckRow(localSec, "Crosshair Rotate", "CrosshairRotate") local silentSec = createSection(right, "Silent Aim (OP)") addCheckRow(silentSec, "Silent Aim Enabled", "SilentAimEnabled", nil, function(v) if not v then setCameraOverride(false) end end) addCheckRow(silentSec, "Unlimited FOV", "SilentAimUnlimitedFov") addCheckRow(silentSec, "Hold Mode (Full-Auto)", "SilentAimHoldMode") addSliderRow(silentSec, "Fire Rate", "SilentFireRateMs", 20, 500, 5, "ms") addSliderRow(silentSec, "Prediction", "SilentPredictionMs", 0, 150, 5, "ms") end -- VISUALS PAGE do local left, right = makeTwoColumn(VisualsPage) local mainSec = createSection(left, "Main") addCheckRow(mainSec, "ESP Enabled", "ESPEnabled") local distSec = createSection(left, "Distance") addSliderRow(distSec, "Max ESP Distance", "ESPMaxDistance", 100, 5000, 50) addDropdownRow(distSec, "Measurement", "DistanceUnit", {"Studs","Meters"}) local prefSec = createSection(left, "Preference") addDropdownRow(prefSec, "Box Style", "BoxStyle", {"None","2D","Corner"}) local playersSec = createSection(right, "Players") local boxColorRow = Instance.new("Frame") boxColorRow.BackgroundTransparency = 1 boxColorRow.Size = UDim2.new(1,0,0,20) boxColorRow.Parent = playersSec local boxLbl = Instance.new("TextLabel") boxLbl.BackgroundTransparency = 1 boxLbl.Size = UDim2.new(1,-50,1,0) boxLbl.Font = Enum.Font.Gotham boxLbl.TextSize = 12 boxLbl.TextColor3 = TXT boxLbl.TextXAlignment = Enum.TextXAlignment.Left boxLbl.Text = "Box Color" boxLbl.Parent = boxColorRow addColorSwatch(boxColorRow, "BoxColor") addCheckRow(playersSec, "Skeletons", "Skeleton", "SkeletonColor") addCheckRow(playersSec, "Health Bars", "HealthBar", "HealthBarColor") addCheckRow(playersSec, "Health Bar Text", "HealthText", "HealthTextColor") addCheckRow(playersSec, "Names", "NameEsp", "NameColor") addCheckRow(playersSec, "Weapon Name", "WeaponEsp", "WeaponColor") addCheckRow(playersSec, "Distance", "DistanceEsp", "DistanceColor") addCheckRow(playersSec, "Head Dot", "HeadDot", "HeadDotColor") addCheckRow(playersSec, "Out Of View Arrows", "OffscreenArrow", "ArrowColor") addSliderRow(playersSec, "Arrow Radius", "ArrowRadius", 30, 300, 5, "px") addCheckRow(playersSec, "View Tracer", "Tracer", "TracerColor") addSliderRow(playersSec, "Tracer Length", "TracerLength", 1, 50, 1, " studs") local chamsSec = createSection(left, "Chams") addCheckRow(chamsSec, "Chams Enabled", "Chams") local vRow = Instance.new("Frame"); vRow.BackgroundTransparency = 1; vRow.Size = UDim2.new(1,0,0,20); vRow.Parent = chamsSec local vLbl = Instance.new("TextLabel"); vLbl.BackgroundTransparency = 1; vLbl.Size = UDim2.new(1,-50,1,0) vLbl.Font = Enum.Font.Gotham; vLbl.TextSize = 12; vLbl.TextColor3 = TXT; vLbl.TextXAlignment = Enum.TextXAlignment.Left vLbl.Text = "Visible Chams"; vLbl.Parent = vRow addColorSwatch(vRow, "ChamsVisibleColor") local oRow = Instance.new("Frame"); oRow.BackgroundTransparency = 1; oRow.Size = UDim2.new(1,0,0,20); oRow.Parent = chamsSec local oLbl = Instance.new("TextLabel"); oLbl.BackgroundTransparency = 1; oLbl.Size = UDim2.new(1,-50,1,0) oLbl.Font = Enum.Font.Gotham; oLbl.TextSize = 12; oLbl.TextColor3 = TXT; oLbl.TextXAlignment = Enum.TextXAlignment.Left oLbl.Text = "Occluded Chams"; oLbl.Parent = oRow addColorSwatch(oRow, "ChamsOccludedColor") local outRow = Instance.new("Frame"); outRow.BackgroundTransparency = 1; outRow.Size = UDim2.new(1,0,0,20); outRow.Parent = chamsSec local outLbl = Instance.new("TextLabel"); outLbl.BackgroundTransparency = 1; outLbl.Size = UDim2.new(1,-50,1,0) outLbl.Font = Enum.Font.Gotham; outLbl.TextSize = 12; outLbl.TextColor3 = TXT; outLbl.TextXAlignment = Enum.TextXAlignment.Left outLbl.Text = "Outline Chams"; outLbl.Parent = outRow addColorSwatch(outRow, "ChamsOutlineColor") end -- MISCELLANEOUS PAGE do local left, right = makeTwoColumn(MiscPage) local trigSec = createSection(left, "Triggerbot") addCheckRow(trigSec, "Triggerbot Enabled", "TriggerEnabled") addCheckRow(trigSec, "Wallcheck (Visible Only)", "TriggerVisibleOnly") addSliderRow(trigSec, "Click Delay", "TriggerDelayMs", 0, 400, 10, "ms") local uiSec = createSection(right, "UI") addCheckRow(uiSec, "Notifications", "NotificationsEnabled") addCheckRow(uiSec, "Watermark", "WatermarkEnabled") local kb = Instance.new("TextLabel") kb.BackgroundTransparency = 1 kb.Size = UDim2.new(1,0,0,18) kb.Font = Enum.Font.Gotham kb.TextSize = 11 kb.TextColor3 = TXT kb.TextXAlignment = Enum.TextXAlignment.Left kb.Text = "Menu Keybind: RightShift" kb.Parent = uiSec end -- SETTINGS PAGE do local left, right = makeTwoColumn(SettingsPage) local teamSec = createSection(left, "Team") addTextInputRow(teamSec, "Manual Team Override (e.g. Red)", function(txt) TeamResolver.Override = (txt ~= "" and txt) or nil notify("Team override: " .. tostring(TeamResolver.Override)) end) addButtonRow(teamSec, "Run Team Diagnostic (F9)", function() TeamResolver.dump() notify("Team diagnostic printed to console.") end) addButtonRow(teamSec, "Run Wallcheck Test (F9)", function() for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then local hrp = plr.Character:FindFirstChild("HumanoidRootPart") if hrp then local dist = (hrp.Position - Camera.CFrame.Position).Magnitude local vis = isVisible(plr.Character, hrp.Position) print(string.format("[%s] distance=%.1f visible=%s", plr.Name, dist, tostring(vis))) end end end notify("Wallcheck test printed to console.") end) addButtonRow(teamSec, "ESP Mode: Enemy Only", function() genv.SecretValobloxSetMode("Enemy") notify("ESP mode: Enemy Only") end) addButtonRow(teamSec, "ESP Mode: Everyone (Debug)", function() genv.SecretValobloxSetMode("All") notify("ESP mode: Everyone (Debug)") end) local cfgSec = createSection(right, "Config File") addButtonRow(cfgSec, "Save Config", function() local ok, err = pcall(function() local data = {} for k, v in pairs(C) do if typeof(v) == "Color3" then data[k] = {v.R, v.G, v.B} else data[k] = v end end data["TeamOverride"] = TeamResolver.Override writefile(CONFIG_PATH, HttpService:JSONEncode(data)) end) notify(ok and "Config saved." or ("Save error: " .. tostring(err))) end) addButtonRow(cfgSec, "Load Config", function() local ok, err = pcall(function() local raw = readfile(CONFIG_PATH) local data = HttpService:JSONDecode(raw) for k, v in pairs(data) do if k == "TeamOverride" then TeamResolver.Override = v elseif typeof(C[k]) == "Color3" and typeof(v) == "table" then C[k] = Color3.new(v[1], v[2], v[3]) else C[k] = v end end end) notify(ok and "Config loaded." or ("Load error: " .. tostring(err))) end) end ---------------------------------------------------------------- -- ESP DRAWING OBJECTS ---------------------------------------------------------------- local EspObjects = {} local function newDrawing(class, props) local ok, obj = pcall(function() return Drawing.new(class) end) if not ok then return nil end for k, v in pairs(props) do pcall(function() obj[k] = v end) end return obj end local function createEspFor(plr) local o = {} o.Box = newDrawing("Square", {Thickness=1, Filled=false, Color=C.BoxColor, Visible=false}) o.Corners = {} for i=1,8 do o.Corners[i] = newDrawing("Line", {Thickness=1, Color=C.BoxColor, Visible=false}) end o.Skeleton = {} for i=1,14 do o.Skeleton[i] = newDrawing("Line", {Thickness=1, Color=C.SkeletonColor, Visible=false}) end o.HealthBG = newDrawing("Square", {Filled=true, Color=Color3.new(0,0,0), Visible=false}) o.HealthFG = newDrawing("Square", {Filled=true, Color=C.HealthBarColor, Visible=false}) o.Name = newDrawing("Text", {Size=14, Center=true, Outline=true, Color=C.NameColor, Visible=false}) o.HealthText = newDrawing("Text", {Size=12, Center=true, Outline=true, Color=C.HealthTextColor, Visible=false}) o.Distance = newDrawing("Text", {Size=12, Center=true, Outline=true, Color=C.DistanceColor, Visible=false}) o.Weapon = newDrawing("Text", {Size=12, Center=true, Outline=true, Color=C.WeaponColor, Visible=false}) o.HeadDot = newDrawing("Circle", {Radius=3, Filled=true, Color=C.HeadDotColor, Visible=false}) o.Tracer = newDrawing("Line", {Thickness=1, Color=C.TracerColor, Visible=false}) o.Arrow = {} for i=1,3 do o.Arrow[i] = newDrawing("Line", {Thickness=2, Color=C.ArrowColor, Visible=false}) end o.Highlight = Instance.new("Highlight") o.Highlight.FillColor = C.ChamsVisibleColor o.Highlight.OutlineColor = C.ChamsOutlineColor o.Highlight.FillTransparency = 0.4 o.Highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop o.Highlight.Enabled = false o.Highlight.Parent = ScreenGui EspObjects[plr] = o end local function hideAllFor(o) if not o then return end o.Box.Visible = false for _,l in ipairs(o.Corners) do l.Visible = false end for _,l in ipairs(o.Skeleton) do l.Visible = false end o.HealthBG.Visible = false o.HealthFG.Visible = false o.Name.Visible = false o.HealthText.Visible = false o.Distance.Visible = false o.Weapon.Visible = false o.HeadDot.Visible = false o.Tracer.Visible = false for _,l in ipairs(o.Arrow) do l.Visible = false end o.Highlight.Enabled = false o.Highlight.Adornee = nil end local function destroyEspFor(plr) local o = EspObjects[plr] if not o then return end pcall(function() o.Box:Remove() end) for _,l in ipairs(o.Corners) do pcall(function() l:Remove() end) end for _,l in ipairs(o.Skeleton) do pcall(function() l:Remove() end) end pcall(function() o.HealthBG:Remove() end) pcall(function() o.HealthFG:Remove() end) pcall(function() o.Name:Remove() end) pcall(function() o.HealthText:Remove() end) pcall(function() o.Distance:Remove() end) pcall(function() o.Weapon:Remove() end) pcall(function() o.HeadDot:Remove() end) pcall(function() o.Tracer:Remove() end) for _,l in ipairs(o.Arrow) do pcall(function() l:Remove() end) end pcall(function() o.Highlight:Destroy() end) EspObjects[plr] = nil end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer then createEspFor(plr) end end Players.PlayerAdded:Connect(function(plr) createEspFor(plr) end) Players.PlayerRemoving:Connect(function(plr) destroyEspFor(plr) end) ---------------------------------------------------------------- -- AIMBOT TARGETING ---------------------------------------------------------------- local function bestAimTarget() local bestPlr, bestPart local closestDist = C.AimFov local vp = Camera.ViewportSize local center = Vector2.new(vp.X/2, vp.Y/2) for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and enemy(plr) then local character = plr.Character if character then local hum = character:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then local part = C.AimHead and character:FindFirstChild("Head") or character:FindFirstChild("HumanoidRootPart") part = part or character:FindFirstChild("HumanoidRootPart") if part then local visible = (not C.AimVisibleOnly) or isVisible(character, part.Position) if visible then local sp, onScreen = Camera:WorldToViewportPoint(part.Position) if onScreen then local d = (Vector2.new(sp.X, sp.Y) - center).Magnitude if d < closestDist then closestDist = d bestPlr = plr bestPart = part end end end end end end end end return bestPlr, bestPart end local function getPredictedHeadPos(character) local head = character:FindFirstChild("Head") if not head then return nil end local hrp = character:FindFirstChild("HumanoidRootPart") local vel = Vector3.new() if hrp then local ok, v = pcall(function() return hrp.AssemblyLinearVelocity end) if ok and v then vel = v end end local t = (C.SilentPredictionMs or 0) / 1000 return head.Position + vel * t end local function bestSilentTarget(ignoreFov) local bestPlr, bestPredicted local closestDist = ignoreFov and math.huge or C.AimFov local vp = Camera.ViewportSize local center = Vector2.new(vp.X/2, vp.Y/2) for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and enemy(plr) then local character = plr.Character if character then local hum = character:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then local predicted = getPredictedHeadPos(character) if predicted then local visible = (not C.AimVisibleOnly) or isVisible(character, predicted) if visible then local sp, onScreen = Camera:WorldToViewportPoint(predicted) if onScreen then local d = (Vector2.new(sp.X, sp.Y) - center).Magnitude if d < closestDist then closestDist = d bestPlr = plr bestPredicted = predicted end end end end end end end end return bestPlr, bestPredicted end ---------------------------------------------------------------- -- SILENT AIM FIRE LOGIC ---------------------------------------------------------------- local SILENT_REVERT_DELAY = 0.12 local mouseHeld = false local function silentAimAt(predictedPos, fireClick) if not predictedPos then return end local originalCFrame = Camera.CFrame setCameraOverride(true) pcall(function() Camera.CFrame = CFrame.new(Camera.CFrame.Position, predictedPos) end) pcall(function() RunService.RenderStepped:Wait() end) if fireClick then click() end task.delay(SILENT_REVERT_DELAY, function() if not (C.SilentAimHoldMode and mouseHeld) then pcall(function() Camera.CFrame = originalCFrame end) setCameraOverride(false) end end) end local function silentSnapOnly(p) silentAimAt(p, false) end local function silentFireAuto(p) silentAimAt(p, true) end ---------------------------------------------------------------- -- CONNECTIONS ---------------------------------------------------------------- local Connections = {} Connections.AimRender = RunService.RenderStepped:Connect(function() if not (C.AimEnabled and localPlayerAlive()) then return end if C.SilentAimEnabled then return end local plr, part = bestAimTarget() if plr and part then setCameraOverride(true) pcall(function() local targetCFrame = CFrame.new(Camera.CFrame.Position, part.Position) Camera.CFrame = Camera.CFrame:Lerp(targetCFrame, math.clamp(C.AimSmooth, 0.01, 1)) end) else setCameraOverride(false) end end) local MouseFovCircle = newDrawing("Circle", {Thickness=1, Filled=false, Color=C.MouseFovColor, Visible=false, NumSides=48}) local SilentFovCircle = newDrawing("Circle", {Thickness=1, Filled=false, Color=C.SilentFovColor, Visible=false, NumSides=48}) local CrosshairLines = {} for i=1,4 do CrosshairLines[i] = newDrawing("Line", {Thickness=1, Color=C.CrosshairColor, Visible=false}) end Connections.SilentMouseDown = UserInputService.InputBegan:Connect(function(input, gpe) if input.UserInputType == Enum.UserInputType.MouseButton1 then mouseHeld = true if (not gpe) and C.SilentAimEnabled and (not C.TriggerEnabled) and localPlayerAlive() then local _, predicted = bestSilentTarget(C.SilentAimUnlimitedFov) if predicted then silentSnapOnly(predicted) end end end end) Connections.SilentMouseUp = UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then mouseHeld = false end end) task.spawn(function() while true do if C.SilentAimEnabled and C.SilentAimHoldMode and mouseHeld and localPlayerAlive() and (not C.TriggerEnabled) then local _, predicted = bestSilentTarget(C.SilentAimUnlimitedFov) if predicted then silentFireAuto(predicted) end task.wait(math.max(C.SilentFireRateMs, 20)/1000) else task.wait(0.05) end end end) task.spawn(function() while true do task.wait(0.01) if C.TriggerEnabled and localPlayerAlive() then pcall(function() local rp = RaycastParams.new() rp.FilterType = Enum.RaycastFilterType.Exclude rp.FilterDescendantsInstances = {LocalPlayer.Character} local origin = Camera.CFrame.Position local dir = Camera.CFrame.LookVector * 1000 local hit = Workspace:Raycast(origin, dir, rp) if hit and hit.Instance then local character = hit.Instance:FindFirstAncestorOfClass("Model") local plr = character and Players:GetPlayerFromCharacter(character) if plr and enemy(plr) then local visible = (not C.TriggerVisibleOnly) or isVisible(character, hit.Position) if visible then task.wait(math.max(C.TriggerDelayMs,0)/1000) if C.SilentAimEnabled then local _, predicted = bestSilentTarget(C.SilentAimUnlimitedFov) if predicted then silentFireAuto(predicted) else click() end else click() end end end end end) end end end) ---------------------------------------------------------------- -- ESP RENDER LOOP ---------------------------------------------------------------- local R15Pairs = { {"Head","UpperTorso"}, {"UpperTorso","LowerTorso"}, {"UpperTorso","LeftUpperArm"}, {"LeftUpperArm","LeftLowerArm"}, {"LeftLowerArm","LeftHand"}, {"UpperTorso","RightUpperArm"}, {"RightUpperArm","RightLowerArm"}, {"RightLowerArm","RightHand"}, {"LowerTorso","LeftUpperLeg"}, {"LeftUpperLeg","LeftLowerLeg"}, {"LeftLowerLeg","LeftFoot"}, {"LowerTorso","RightUpperLeg"}, {"RightUpperLeg","RightLowerLeg"}, {"RightLowerLeg","RightFoot"}, } local R6Pairs = { {"Head","Torso"}, {"Torso","Left Arm"}, {"Torso","Right Arm"}, {"Torso","Left Leg"}, {"Torso","Right Leg"}, } local crosshairAngle = 0 Connections.EspRender = RunService.RenderStepped:Connect(function() local vp = Camera.ViewportSize local center = Vector2.new(vp.X/2, vp.Y/2) if MouseFovCircle then MouseFovCircle.Visible = C.ShowMouseFov MouseFovCircle.Position = UserInputService:GetMouseLocation() MouseFovCircle.Radius = C.AimFov MouseFovCircle.Color = C.MouseFovColor end if SilentFovCircle then SilentFovCircle.Visible = C.ShowSilentFov SilentFovCircle.Position = UserInputService:GetMouseLocation() SilentFovCircle.Radius = C.SilentAimUnlimitedFov and math.min(vp.X,vp.Y)/2 or C.AimFov SilentFovCircle.Color = C.SilentFovColor end if C.Crosshair then if C.CrosshairRotate then crosshairAngle = crosshairAngle + 0.02 end local len = 6 local offsets = {0, math.pi/2, math.pi, 3*math.pi/2} for i, l in ipairs(CrosshairLines) do local a = crosshairAngle + offsets[i] local inner = Vector2.new(math.cos(a)*3, math.sin(a)*3) local outer = Vector2.new(math.cos(a)*(3+len), math.sin(a)*(3+len)) l.From = center + inner l.To = center + outer l.Color = C.CrosshairColor l.Visible = true end else for _, l in ipairs(CrosshairLines) do l.Visible = false end end for plr, o in pairs(EspObjects) do if not C.ESPEnabled then hideAllFor(o) else local show = enemy(plr) local character = plr.Character if not (show and character) then hideAllFor(o) else local hum = character:FindFirstChildOfClass("Humanoid") local hrp = character:FindFirstChild("HumanoidRootPart") local head = character:FindFirstChild("Head") if not (hum and hrp and head and hum.Health > 0) then hideAllFor(o) else local dist = (hrp.Position - Camera.CFrame.Position).Magnitude if dist > C.ESPMaxDistance then hideAllFor(o) else local rootPos, rootOn = Camera:WorldToViewportPoint(hrp.Position) local headPos, headOn = Camera:WorldToViewportPoint(head.Position) if not (rootOn or headOn) then hideAllFor(o) else local height = math.abs(headPos.Y - rootPos.Y) * 2.6 local width = height * 0.55 local cx, cy = rootPos.X, (headPos.Y+rootPos.Y)/2 if C.BoxStyle == "2D" then o.Box.Color = C.BoxColor o.Box.Size = Vector2.new(width, height) o.Box.Position = Vector2.new(cx-width/2, cy-height/2) o.Box.Visible = rootOn else o.Box.Visible = false end if C.BoxStyle == "Corner" then local x1,y1,x2,y2 = cx-width/2, cy-height/2, cx+width/2, cy+height/2 local segs = { {Vector2.new(x1,y1),Vector2.new(x1+width*0.25,y1)}, {Vector2.new(x1,y1),Vector2.new(x1,y1+height*0.25)}, {Vector2.new(x2,y1),Vector2.new(x2-width*0.25,y1)}, {Vector2.new(x2,y1),Vector2.new(x2,y1+height*0.25)}, {Vector2.new(x1,y2),Vector2.new(x1+width*0.25,y2)}, {Vector2.new(x1,y2),Vector2.new(x1,y2-height*0.25)}, {Vector2.new(x2,y2),Vector2.new(x2-width*0.25,y2)}, {Vector2.new(x2,y2),Vector2.new(x2,y2-height*0.25)}, } for i,l in ipairs(o.Corners) do l.Color = C.BoxColor l.From = segs[i][1]; l.To = segs[i][2] l.Visible = rootOn end else for _,l in ipairs(o.Corners) do l.Visible = false end end if C.Skeleton then local pairsTbl = character:FindFirstChild("UpperTorso") and R15Pairs or R6Pairs for i,l in ipairs(o.Skeleton) do local seg = pairsTbl[i] if seg then local p1 = character:FindFirstChild(seg[1]) local p2 = character:FindFirstChild(seg[2]) if p1 and p2 then local s1 = Camera:WorldToViewportPoint(p1.Position) local s2 = Camera:WorldToViewportPoint(p2.Position) l.Color = C.SkeletonColor l.From = Vector2.new(s1.X, s1.Y) l.To = Vector2.new(s2.X, s2.Y) l.Visible = true else l.Visible = false end else l.Visible = false end end else for _,l in ipairs(o.Skeleton) do l.Visible = false end end if C.Chams then local vis = isVisible(character, hrp.Position) o.Highlight.FillColor = vis and C.ChamsVisibleColor or C.ChamsOccludedColor o.Highlight.OutlineColor = C.ChamsOutlineColor o.Highlight.Adornee = character o.Highlight.Enabled = true else o.Highlight.Enabled = false end if C.NameEsp then o.Name.Color = C.NameColor o.Name.Text = plr.Name o.Name.Position = Vector2.new(cx, cy-height/2-16) o.Name.Visible = rootOn else o.Name.Visible = false end if C.HealthBar then local pct = math.clamp(hum.Health/hum.MaxHealth, 0, 1) local bw, bh = 4, height o.HealthBG.Size = Vector2.new(bw, bh) o.HealthBG.Position = Vector2.new(cx-width/2-10, cy-bh/2) o.HealthBG.Visible = rootOn o.HealthFG.Size = Vector2.new(bw, bh*pct) o.HealthFG.Position = Vector2.new(cx-width/2-10, cy-bh/2+bh*(1-pct)) o.HealthFG.Color = C.HealthBarColor:Lerp(Color3.fromRGB(235,70,70), 1-pct) o.HealthFG.Visible = rootOn else o.HealthBG.Visible = false o.HealthFG.Visible = false end if C.HealthText then o.HealthText.Color = C.HealthTextColor o.HealthText.Text = math.floor(hum.Health) .. " HP" o.HealthText.Position = Vector2.new(cx, cy+height/2+6) o.HealthText.Visible = rootOn else o.HealthText.Visible = false end if C.DistanceEsp then o.Distance.Color = C.DistanceColor if C.DistanceUnit == "Meters" then o.Distance.Text = string.format("%.0fm", dist/3.57) else o.Distance.Text = string.format("%.0f studs", dist) end o.Distance.Position = Vector2.new(cx, cy+height/2+20) o.Distance.Visible = rootOn else o.Distance.Visible = false end if C.WeaponEsp then local toolName = "Unknown" local tool = character:FindFirstChildOfClass("Tool") if tool then toolName = tool.Name end o.Weapon.Color = C.WeaponColor o.Weapon.Text = toolName o.Weapon.Position = Vector2.new(cx, cy+height/2+34) o.Weapon.Visible = rootOn else o.Weapon.Visible = false end if C.HeadDot then o.HeadDot.Color = C.HeadDotColor o.HeadDot.Position = Vector2.new(headPos.X, headPos.Y) o.HeadDot.Visible = headOn else o.HeadDot.Visible = false end if C.Tracer then o.Tracer.Color = C.TracerColor local vp2 = Camera.ViewportSize o.Tracer.From = Vector2.new(vp2.X/2, vp2.Y) o.Tracer.To = Vector2.new(cx, cy+height/2) o.Tracer.Visible = rootOn else o.Tracer.Visible = false end if C.OffscreenArrow and not rootOn then local vp2 = Camera.ViewportSize local center2 = Vector2.new(vp2.X/2, vp2.Y/2) local dirVec = (hrp.Position - Camera.CFrame.Position) local flat = Camera.CFrame:VectorToObjectSpace(dirVec) local angle = math.atan2(flat.X, -flat.Z) local radius = C.ArrowRadius local ax = center2.X + math.sin(angle)*radius local ay = center2.Y - math.cos(angle)*radius local tipX = ax + math.sin(angle)*14 local tipY = ay - math.cos(angle)*14 local leftX = ax + math.sin(angle+2.4)*8 local leftY = ay - math.cos(angle+2.4)*8 local rightX = ax + math.sin(angle-2.4)*8 local rightY = ay - math.cos(angle-2.4)*8 for _,l in ipairs(o.Arrow) do l.Color = C.ArrowColor end o.Arrow[1].From = Vector2.new(tipX,tipY); o.Arrow[1].To = Vector2.new(leftX,leftY) o.Arrow[2].From = Vector2.new(tipX,tipY); o.Arrow[2].To = Vector2.new(rightX,rightY) o.Arrow[3].From = Vector2.new(leftX,leftY); o.Arrow[3].To = Vector2.new(rightX,rightY) for _,l in ipairs(o.Arrow) do l.Visible = true end else for _,l in ipairs(o.Arrow) do l.Visible = false end end end end end end end end end) ---------------------------------------------------------------- -- MENU TOGGLE ---------------------------------------------------------------- Connections.KeyToggle = UserInputService.InputBegan:Connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.RightShift then Main.Visible = not Main.Visible elseif input.KeyCode == Enum.KeyCode.F9 then TeamResolver.dump() end end) ---------------------------------------------------------------- -- CLEANUP ---------------------------------------------------------------- local cleanedUp = false local function cleanup() if cleanedUp then return end cleanedUp = true for _, c in pairs(Connections) do pcall(function() c:Disconnect() end) end pcall(function() Camera.CameraType = Enum.CameraType.Custom end) for plr, _ in pairs(EspObjects) do destroyEspFor(plr) end pcall(function() if MouseFovCircle then MouseFovCircle:Remove() end end) pcall(function() if SilentFovCircle then SilentFovCircle:Remove() end end) for _, l in ipairs(CrosshairLines) do pcall(function() l:Remove() end) end pcall(function() ScreenGui:Destroy() end) end genv.SecretValobloxCleanup = cleanup LocalPlayer.AncestryChanged:Connect(function() if not LocalPlayer.Parent then cleanup() end end) notify("VALOBLOX INTERNAL loaded. RightShift = menu, F9 = team diagnostic.") print("[VALOBLOX] Discord: mrsans7 - script loaded.") end -- startMainScript ---------------------------------------------------------------- -- ENTRY POINT ---------------------------------------------------------------- startMainScript()