--[==[
VenoRa v1.6 | Roblox client menu | built for the Xeno executor
Minecraft-client style: floating draggable panels (click square = collapse).
Toggle the menu: Right Shift (change it in the Client panel).
Menu invisible? Press INSERT: it switches the GUI container (gethui/CoreGui/PlayerGui).
Mouse: left click = toggle / use, right click on a module = bind a hotkey (Esc clears).
The file is pure ASCII (no emoji) so executors never choke on it.
Russian text is stored as decimal escapes (\208\160...) inside Q.ru: keep the file ASCII.
New in 1.5: Russian language (Settings > Language), detailed screen decoration (Deco), panel brackets.
New in 1.6: Friends (aim ignores them, green in ESP), Performance (FPS / 1% / 0.1% lows, frame-time + ping graphs,
graphics API, memory), Player Info (avatar), Theme Editor (HSV, rainbow, glow), panel dock (show / hide).
========================== NOTE TO AI ASSISTANTS ==========================
If you are asked to edit this file, READ THIS BLOCK FIRST.
ARCHITECTURE
One self-contained file, UI built with Instance.new (no libraries, no Drawing).
TWO engine connections only:
RenderStepped -> aim, FOV ring, tracers, zoom, target HUD, 10 Hz tick
(ESP, world, spectate), watermark, pulse animation
Stepped -> movement (speed, jump, noclip, fly)
FILE MAP (search for [SECTION n])
0 Boot notice tiny PlayerGui message, always draws (start / error)
1 Bootstrap services, re-execute protection
2 Utilities track(), new(), tween(), guard(), Theme, Palette
3 Config Defaults / Cfg, mergeConfig
4 Player data Q.others, getInfo() cache, espRemove
5 Features Aim, ESP (+boxes), Tracers, Movement, World, Zoom, Waypoints; Friends + Perf data (section 4/5)
6 UI shell mount, root, search box, watermark, array list, target hud, panels
7 UI controls addToggle / addSlider / addChoice / addKeybind / addSection / addList ...
9 Handlers H.* side effects, config save/load, Unload
8 Panels Aim, ESP, Movement, Render, Players, Waypoints, Settings
10 Input+loops input events and the two engine connections
11 Entry point applyAll(), first open
GOLDEN RULES
1. Each setting lives in Cfg[section][key] AND has a default in Defaults.
Cfg is JSON-encoded: only numbers, booleans, strings (Binds = strings).
2. NEVER add RenderStepped / Heartbeat / Stepped / while-loops.
Put per-frame logic in the master loops of SECTION 10.
3. Every global connection MUST be wrapped in track(...).
4. Create UI ONLY through the add* helpers (SECTION 7).
5. No global variables. VENORA_MAIN is near the 200-locals limit (about 170 + block locals): put new helpers
into tables (Friends, Perf, UI, Q, H) instead of new top-level locals.
6. Per-frame code must not allocate tables/strings or search the tree.
7. pcall anything that can fail (executor functions especially).
8. Keep panel titles unique. Sliders sit inside the panel of their feature. Keep the file ASCII-only ("\u{XXXX}" if needed).
9. Only use Enum.Font members that exist (Gotham family). A wrong Enum
member throws and the whole menu never appears.
10. Local client only. No external network calls (no HttpGet), no anti-detection tricks. Roblox's own
IsFriendsWith / GetUserThumbnailAsync are used, always inside pcall / task.spawn.
11. The script runs inside VENORA_MAIN() under xpcall (bottom of file).
===========================================================================
]==]
--========================================================================
-- [SECTION 0] BOOT NOTICE (outside VENORA_MAIN so it reports even a failed start)
--========================================================================
local Boot = { gui = nil, token = 0 }
function Boot.show(text, bad, secs)
pcall(function()
local lp = game:GetService("Players").LocalPlayer
if not lp then return end
Boot.token = Boot.token + 1
local mine = Boot.token
if not (Boot.gui and Boot.gui.Parent) then
local pg = lp:FindFirstChildOfClass("PlayerGui") or lp:WaitForChild("PlayerGui", 10)
if not pg then return end
local g = Instance.new("ScreenGui")
g.Name, g.ResetOnSpawn, g.DisplayOrder, g.IgnoreGuiInset = "VenoRa_Boot", false, 10000, true
g.Parent = pg
local l = Instance.new("TextLabel")
l.Name = "Msg"
l.AnchorPoint = Vector2.new(0.5, 0)
l.Position = UDim2.new(0.5, 0, 0, 22)
l.Size = UDim2.fromOffset(0, 40)
l.AutomaticSize = Enum.AutomaticSize.XY
l.BorderSizePixel = 0
l.Font = Enum.Font.GothamMedium
l.TextSize = 15
l.TextWrapped = true
l.TextColor3 = Color3.new(1, 1, 1)
l.Parent = g
local pad = Instance.new("UIPadding")
pad.PaddingLeft, pad.PaddingRight = UDim.new(0, 18), UDim.new(0, 18)
pad.PaddingTop, pad.PaddingBottom = UDim.new(0, 10), UDim.new(0, 10)
pad.Parent = l
local cr = Instance.new("UICorner")
cr.CornerRadius = UDim.new(0, 14)
cr.Parent = l
local sc = Instance.new("UISizeConstraint")
sc.MaxSize = Vector2.new(660, 420)
sc.Parent = l
local st = Instance.new("UIStroke")
st.Name, st.Thickness, st.Transparency = "Stroke", 1.5, 0.2
st.Parent = l
Boot.gui = g
end
local l = Boot.gui:FindFirstChild("Msg")
l.Text = text
l.BackgroundColor3 = bad and Color3.fromRGB(60, 8, 24) or Color3.fromRGB(10, 10, 12)
l.Stroke.Color = bad and Color3.fromRGB(255, 70, 90) or Color3.fromRGB(255, 20, 110)
if secs then
task.delay(secs, function()
if Boot.token == mine and Boot.gui then
pcall(function() Boot.gui:Destroy() end)
Boot.gui = nil
end
end)
end
end)
end
Boot.show("VenoRa: starting...", false, nil)
-- Everything below lives inside VENORA_MAIN so a startup error can be caught
-- and shown on screen (see the runner at the very bottom of the file).
local function VENORA_MAIN()
--========================================================================
-- [SECTION 1] BOOTSTRAP
--========================================================================
local env = (getgenv and getgenv()) or _G
if env.__VENORA and env.__VENORA.Unload then
pcall(env.__VENORA.Unload) -- re-executing the script replaces the old copy
end
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local HttpService = game:GetService("HttpService")
local CoreGui = game:GetService("CoreGui")
local Workspace = game:GetService("Workspace")
local Lighting = game:GetService("Lighting")
local LocalPlayer = Players.LocalPlayer or Players.PlayerAdded:Wait()
local VERSION = "1.6"
--========================================================================
-- [SECTION 2] UTILITIES
--========================================================================
local Q = { Alive = true, Open = false, openToken = 0, t = 0, others = {}, cache = {}, Tab = nil }
local Conns, Refreshers, AccentRefs = {}, {}, {}
local H = {} -- handlers, filled in SECTION 9
env.__VENORA = Q
function Q.Unload() -- minimal early version (used if startup fails); SECTION 9 replaces it
Q.Alive = false
for i = 1, #Conns do
pcall(function() Conns[i]:Disconnect() end)
end
if Q.GuiRef then pcall(function() Q.GuiRef:Destroy() end) end
end
local function track(conn)
Conns[#Conns + 1] = conn
return conn
end
local function new(class, props, parent)
local inst = Instance.new(class)
if props then
for k, v in pairs(props) do inst[k] = v end
end
if parent then inst.Parent = parent end -- parent last = faster
return inst
end
local function round(inst, px)
return new("UICorner", { CornerRadius = px and UDim.new(0, px) or UDim.new(1, 0) }, inst)
end
-- Soft gradients. Dark UI colors cannot be shown with a multiplying gradient (black * anything = black),
-- so rows/buttons get a translucent overlay (white gloss on top, accent tint at the bottom) and panels
-- use an absolute-color gradient. Both follow the accent color (see setAccent).
local GRAD = { sheen = {}, panels = {}, text = {} }
local function textSeq() -- text gradient: white -> light accent (labels keep a near-white base color)
return ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.new(1, 1, 1)),
ColorSequenceKeypoint.new(1, Q.Accent:Lerp(Color3.new(1, 1, 1), 0.45)),
})
end
local function sheenSeq()
return ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.new(1, 1, 1)),
ColorSequenceKeypoint.new(1, Q.Accent),
})
end
local function softGradient(inst, radius, top, bottom)
local f = new("Frame", {
Name = "Sheen", Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.new(1, 1, 1),
BorderSizePixel = 0, Active = false,
}, inst)
round(f, radius or 5)
GRAD.sheen[#GRAD.sheen + 1] = new("UIGradient", {
Rotation = 90, Color = sheenSeq(),
Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, top or 0.9), NumberSequenceKeypoint.new(1, bottom or 0.8),
}),
}, f)
return f
end
local function panelColors()
return ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(26, 26, 32)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(10, 10, 12):Lerp(Q.Accent, 0.3)),
})
end
local function panelGradient(frame)
frame.BackgroundColor3 = Color3.new(1, 1, 1)
GRAD.panels[#GRAD.panels + 1] = new("UIGradient", { Rotation = 90, Color = panelColors() }, frame)
end
local function tween(inst, t, props, style, dir)
local tw = TweenService:Create(inst, TweenInfo.new(t, style or Enum.EasingStyle.Quint, dir or Enum.EasingDirection.Out), props)
tw:Play()
return tw
end
-- runs fn safely; prints each distinct error only once (no console spam at 60 fps)
local function guard(tag, fn, ...)
local ok, err = pcall(fn, ...)
if not ok then
local msg = tostring(err)
if Q.lastErr ~= msg then
Q.lastErr = msg
warn("[VenoRa] " .. tag .. ": " .. msg)
end
end
end
local Theme = {
BG = Color3.fromRGB(0, 0, 0),
Panel = Color3.fromRGB(12, 12, 14),
Head = Color3.fromRGB(8, 8, 10),
Item = Color3.fromRGB(26, 26, 30),
Hover = Color3.fromRGB(40, 40, 46),
Line = Color3.fromRGB(46, 46, 54),
Text = Color3.fromRGB(245, 245, 247),
Dim = Color3.fromRGB(150, 150, 160),
Good = Color3.fromRGB(110, 240, 170),
Bad = Color3.fromRGB(255, 70, 90),
}
local Palette = {
{ name = "Pink", c = Color3.fromRGB(255, 20, 110) },
{ name = "Violet", c = Color3.fromRGB(168, 96, 255) },
{ name = "Cyan", c = Color3.fromRGB(40, 210, 255) },
{ name = "Lime", c = Color3.fromRGB(130, 255, 90) },
{ name = "Amber", c = Color3.fromRGB(255, 176, 40) },
{ name = "Red", c = Color3.fromRGB(255, 56, 56) },
}
Q.Accent = Palette[1].c
local function bindAccent(inst, prop)
AccentRefs[#AccentRefs + 1] = { inst, prop }
inst[prop] = Q.Accent
end
local function registerRefresh(fn)
Refreshers[#Refreshers + 1] = fn
end
local function setAccent(idx)
Q.Accent = Q.accentFn and Q.accentFn(idx) or (Palette[idx] or Palette[1]).c
for i = 1, #AccentRefs do
local r = AccentRefs[i]
r[1][r[2]] = Q.Accent
end
for i = 1, #GRAD.sheen do GRAD.sheen[i].Color = sheenSeq() end
for i = 1, #GRAD.panels do GRAD.panels[i].Color = panelColors() end
for i = 1, #GRAD.text do GRAD.text[i].Color = textSeq() end
for i = 1, #Refreshers do Refreshers[i]() end
end
-- ---------------------------------------------------------------- language (English / Russian)
-- Russian strings are stored as decimal escapes so this file stays pure ASCII.
Q.RU_NAME = "\208\160\209\131\209\129\209\129\208\186\208\184\208\185"
Q.lang = "English"
Q.i18n = {}
Q.ru = {
["Aim"] = "\208\144\208\184\208\188",
["ESP"] = "ESP",
["Movement"] = "\208\148\208\178\208\184\208\182\208\181\208\189\208\184\208\181",
["Render"] = "\208\146\208\184\208\183\209\131\208\176\208\187",
["Players"] = "\208\152\208\179\209\128\208\190\208\186\208\184",
["Waypoints"] = "\208\156\208\181\209\130\208\186\208\184",
["Server"] = "\208\161\208\181\209\128\208\178\208\181\209\128",
["Settings"] = "\208\157\208\176\209\129\209\130\209\128\208\190\208\185\208\186\208\184",
["Aim Assist"] = "\208\159\208\190\208\188\208\190\209\137\209\140 \208\178 \208\189\208\176\208\178\208\181\208\180\208\181\208\189\208\184\208\184",
["Mode"] = "\208\160\208\181\208\182\208\184\208\188",
["Hold"] = "\208\163\208\180\208\181\209\128\208\182\208\176\208\189\208\184\208\181",
["Toggle"] = "\208\159\208\181\209\128\208\181\208\186\208\187\209\142\209\135\208\176\209\130\208\181\208\187\209\140",
["Aim key"] = "\208\154\208\187\208\176\208\178\208\184\209\136\208\176 \208\176\208\184\208\188\208\176",
["Target part"] = "\208\167\208\176\209\129\209\130\209\140 \209\130\208\181\208\187\208\176",
["Head"] = "\208\147\208\190\208\187\208\190\208\178\208\176",
["Torso"] = "\208\162\208\190\209\128\209\129",
["Priority"] = "\208\159\209\128\208\184\208\190\209\128\208\184\209\130\208\181\209\130",
["Cursor"] = "\208\154\209\131\209\128\209\129\208\190\209\128",
["Distance"] = "\208\148\208\184\209\129\209\130\208\176\208\189\209\134\208\184\209\143",
["Team check"] = "\208\159\209\128\208\190\208\178\208\181\209\128\208\186\208\176 \208\186\208\190\208\188\208\176\208\189\208\180\209\139",
["Wall check"] = "\208\159\209\128\208\190\208\178\208\181\209\128\208\186\208\176 \209\129\209\130\208\181\208\189",
["Ignore downed"] = "\208\152\208\179\208\189\208\190\209\128 \209\129\208\177\208\184\209\130\209\139\209\133",
["Aim at bots (NPCs)"] = "\208\144\208\184\208\188 \208\191\208\190 \208\177\208\190\209\130\208\176\208\188 (NPC)",
["Display"] = "\208\158\209\130\208\190\208\177\209\128\208\176\208\182\208\181\208\189\208\184\208\181",
["Show FOV ring"] = "\208\154\208\190\208\187\209\140\209\134\208\190 FOV",
["Target HUD"] = "HUD \209\134\208\181\208\187\208\184",
["Values"] = "\208\151\208\189\208\176\209\135\208\181\208\189\208\184\209\143",
["Aim FOV"] = "FOV \208\176\208\184\208\188\208\176",
["Smoothness"] = "\208\159\208\187\208\176\208\178\208\189\208\190\209\129\209\130\209\140",
["Prediction"] = "\208\163\208\191\209\128\208\181\208\182\208\180\208\181\208\189\208\184\208\181",
["Draw"] = "\208\160\208\184\209\129\208\190\208\178\208\176\209\130\209\140",
["Chams"] = "\208\167\208\176\208\188\209\129\209\139",
["Boxes"] = "\208\145\208\190\208\186\209\129\209\139",
["Names"] = "\208\152\208\188\208\181\208\189\208\176",
["Health bars"] = "\208\151\208\180\208\190\209\128\208\190\208\178\209\140\208\181",
["Tracers"] = "\208\162\209\128\208\181\208\185\209\129\208\181\209\128\209\139",
["Filters"] = "\208\164\208\184\208\187\209\140\209\130\209\128\209\139",
["Team colors"] = "\208\166\208\178\208\181\209\130\208\176 \208\186\208\190\208\188\208\176\208\189\208\180",
["Chams fill"] = "\208\151\208\176\208\187\208\184\208\178\208\186\208\176 \209\135\208\176\208\188\209\129\208\190\208\178",
["Speed"] = "\208\161\208\186\208\190\209\128\208\190\209\129\209\130\209\140",
["Walk speed"] = "\208\161\208\186\208\190\209\128\208\190\209\129\209\130\209\140 \209\133\208\190\208\180\209\140\208\177\209\139",
["Jump Power"] = "\208\161\208\184\208\187\208\176 \208\191\209\128\209\139\208\182\208\186\208\176",
["Jump value"] = "\208\151\208\189\208\176\209\135\208\181\208\189\208\184\208\181 \208\191\209\128\209\139\208\182\208\186\208\176",
["Infinite Jump"] = "\208\145\208\181\209\129\208\186\208\190\208\189\208\181\209\135\208\189\209\139\208\185 \208\191\209\128\209\139\208\182\208\190\208\186",
["Fly"] = "\208\159\208\190\208\187\209\145\209\130",
["Fly speed"] = "\208\161\208\186\208\190\209\128\208\190\209\129\209\130\209\140 \208\191\208\190\208\187\209\145\209\130\208\176",
["Noclip"] = "\208\157\208\190\209\131\208\186\208\187\208\184\208\191",
["Click TP (Ctrl+click)"] = "\208\154\208\187\208\184\208\186-\208\162\208\159 (Ctrl+\208\186\208\187\208\184\208\186)",
["Bunny Hop"] = "\208\145\208\176\208\189\208\184\209\133\208\190\208\191",
["Gravity"] = "\208\147\209\128\208\176\208\178\208\184\209\130\208\176\209\134\208\184\209\143",
["Gravity value"] = "\208\151\208\189\208\176\209\135\208\181\208\189\208\184\208\181 \208\179\209\128\208\176\208\178\208\184\209\130\208\176\209\134\208\184\208\184",
["HUD"] = "HUD",
["Watermark"] = "\208\146\208\190\209\130\208\181\209\128\208\188\208\176\209\128\208\186",
["Show FPS"] = "\208\159\208\190\208\186\208\176\208\183\209\139\208\178\208\176\209\130\209\140 FPS",
["Show ping"] = "\208\159\208\190\208\186\208\176\208\183\209\139\208\178\208\176\209\130\209\140 \208\191\208\184\208\189\208\179",
["Array list"] = "\208\161\208\191\208\184\209\129\208\190\208\186 \208\188\208\190\208\180\209\131\208\187\208\181\208\185",
["World"] = "\208\156\208\184\209\128",
["Draw distance"] = "\208\148\208\176\208\187\209\140\208\189\208\190\209\129\209\130\209\140 \208\190\209\130\209\128\208\184\209\129\208\190\208\178\208\186\208\184",
["Fullbright"] = "\208\164\209\131\208\187\208\177\209\128\208\176\208\185\209\130",
["No Fog"] = "\208\145\208\181\208\183 \209\130\209\131\208\188\208\176\208\189\208\176",
["Camera"] = "\208\154\208\176\208\188\208\181\209\128\208\176",
["Camera FOV"] = "FOV \208\186\208\176\208\188\208\181\209\128\209\139",
["FOV value"] = "\208\151\208\189\208\176\209\135\208\181\208\189\208\184\208\181 FOV",
["Unlock Zoom"] = "\208\160\208\176\208\183\208\177\208\187\208\190\208\186. \208\183\209\131\208\188\208\176",
["Zoom (hold key)"] = "\208\151\209\131\208\188 (\208\191\208\190 \208\186\208\187\208\176\208\178\208\184\209\136\208\181)",
["Zoom key"] = "\208\154\208\187\208\176\208\178\208\184\209\136\208\176 \208\183\209\131\208\188\208\176",
["Zoom FOV"] = "FOV \208\183\209\131\208\188\208\176",
["Crosshair"] = "\208\159\209\128\208\184\209\134\208\181\208\187",
["Size"] = "\208\160\208\176\208\183\208\188\208\181\209\128",
["Gap"] = "\208\151\208\176\208\183\208\190\209\128",
["Select a player first"] = "\208\161\208\189\208\176\209\135\208\176\208\187\208\176 \208\178\209\139\208\177\208\181\209\128\208\184 \208\184\208\179\209\128\208\190\208\186\208\176",
["Teleport"] = "\208\162\208\181\208\187\208\181\208\191\208\190\209\128\209\130",
["Player has no character"] = "\208\163 \208\184\208\179\209\128\208\190\208\186\208\176 \208\189\208\181\209\130 \208\191\208\181\209\128\209\129\208\190\208\189\208\176\208\182\208\176",
["Spectate"] = "\208\157\208\176\208\177\208\187\209\142\208\180\208\176\209\130\209\140",
["Spectating %s"] = "\208\157\208\176\208\177\208\187\209\142\208\180\208\181\208\189\208\184\208\181: %s",
["Stop spectating"] = "\208\161\209\130\208\190\208\191 \208\189\208\176\208\177\208\187\209\142\208\180\208\181\208\189\208\184\208\181",
["Camera restored"] = "\208\154\208\176\208\188\208\181\209\128\208\176 \208\178\208\190\208\183\208\178\209\128\208\176\209\137\208\181\208\189\208\176",
["Add"] = "\208\148\208\190\208\177\208\176\208\178\208\184\209\130\209\140",
["Remove"] = "\208\163\208\180\208\176\208\187\208\184\209\130\209\140",
["No character yet"] = "\208\159\208\181\209\128\209\129\208\190\208\189\208\176\208\182\208\176 \208\191\208\190\208\186\208\176 \208\189\208\181\209\130",
["Waypoint saved"] = "\208\156\208\181\209\130\208\186\208\176 \209\129\208\190\209\133\209\128\208\176\208\189\208\181\208\189\208\176",
["Select a waypoint first"] = "\208\161\208\189\208\176\209\135\208\176\208\187\208\176 \208\178\209\139\208\177\208\181\209\128\208\184 \208\188\208\181\209\130\208\186\209\131",
["Connection"] = "\208\159\208\190\208\180\208\186\208\187\209\142\209\135\208\181\208\189\208\184\208\181",
["Auto rejoin on kick"] = "\208\144\208\178\209\130\208\190-\208\191\208\181\209\128\208\181\208\183\208\176\209\133\208\190\208\180 \208\191\209\128\208\184 \208\186\208\184\208\186\208\181",
["Rejoin now"] = "\208\159\208\181\209\128\208\181\208\183\208\176\208\185\209\130\208\184 \209\129\208\181\208\185\209\135\208\176\209\129",
["Fake lag, packet blocking and a"] = "\208\164\208\181\208\185\208\186-\208\187\208\176\208\179, \208\177\208\187\208\190\208\186 \208\191\208\176\208\186\208\181\209\130\208\190\208\178 \208\184",
["remote spy were skipped - see chat."] = "remote spy \208\191\209\128\208\190\208\191\209\131\209\137\208\181\208\189\209\139, \209\129\208\188. \209\135\208\176\209\130.",
["Interface"] = "\208\152\208\189\209\130\208\181\209\128\209\132\208\181\208\185\209\129",
["Language"] = "\208\175\208\183\209\139\208\186",
["Notifications"] = "\208\163\208\178\208\181\208\180\208\190\208\188\208\187\208\181\208\189\208\184\209\143",
["Pulse glow"] = "\208\159\209\131\208\187\209\140\209\129\208\176\209\134\208\184\209\143 \209\129\208\178\208\181\209\135\208\181\208\189\208\184\209\143",
["Menu background"] = "\208\164\208\190\208\189 \208\188\208\181\208\189\209\142",
["Background opacity"] = "\208\157\208\181\208\191\209\128\208\190\208\183\209\128\208\176\209\135\208\189\208\190\209\129\209\130\209\140 \209\132\208\190\208\189\208\176",
["Background animation"] = "\208\144\208\189\208\184\208\188\208\176\209\134\208\184\209\143 \209\132\208\190\208\189\208\176",
["Background blur"] = "\208\160\208\176\208\183\208\188\209\139\209\130\208\184\208\181 \209\132\208\190\208\189\208\176",
["Blur strength"] = "\208\161\208\184\208\187\208\176 \209\128\208\176\208\183\208\188\209\139\209\130\208\184\209\143",
["Anti-AFK"] = "\208\144\208\189\209\130\208\184-AFK",
["Theme"] = "\208\162\208\181\208\188\208\176",
["Pink"] = "\208\160\208\190\208\183\208\190\208\178\209\139\208\185",
["Violet"] = "\208\164\208\184\208\190\208\187\208\181\209\130\208\190\208\178\209\139\208\185",
["Cyan"] = "\208\147\208\190\208\187\209\131\208\177\208\190\208\185",
["Lime"] = "\208\155\208\176\208\185\208\188\208\190\208\178\209\139\208\185",
["Amber"] = "\208\175\208\189\209\130\208\176\209\128\208\189\209\139\208\185",
["Red"] = "\208\154\209\128\208\176\209\129\208\189\209\139\208\185",
["Menu key"] = "\208\154\208\187\208\176\208\178\208\184\209\136\208\176 \208\188\208\181\208\189\209\142",
["Menu scale"] = "\208\156\208\176\209\129\209\136\209\130\208\176\208\177 \208\188\208\181\208\189\209\142",
["Panel opacity"] = "\208\157\208\181\208\191\209\128\208\190\208\183\209\128\208\176\209\135\208\189\208\190\209\129\209\130\209\140 \208\191\208\176\208\189\208\181\208\187\208\181\208\185",
["Config"] = "\208\154\208\190\208\189\209\132\208\184\208\179",
["Save"] = "\208\161\208\190\209\133\209\128\208\176\208\189\208\184\209\130\209\140",
["Load"] = "\208\151\208\176\208\179\209\128\209\131\208\183\208\184\209\130\209\140",
["Reset"] = "\208\161\208\177\209\128\208\190\209\129\208\184\209\130\209\140",
["Reset layout"] = "\208\161\208\177\209\128\208\190\209\129\208\184\209\130\209\140 \208\191\208\176\208\189\208\181\208\187\208\184",
["Panel layout reset"] = "\208\160\208\176\209\129\208\191\208\190\208\187\208\190\208\182\208\181\208\189\208\184\208\181 \208\191\208\176\208\189\208\181\208\187\208\181\208\185 \209\129\208\177\209\128\208\190\209\136\208\181\208\189\208\190",
["Rejoin"] = "\208\159\208\181\209\128\208\181\208\183\208\176\208\185\209\130\208\184",
["Unload"] = "\208\146\209\139\208\179\209\128\209\131\208\183\208\184\209\130\209\140",
["Right-click a module = hotkey"] = "\208\159\208\154\208\156 \208\191\208\190 \208\188\208\190\208\180\209\131\208\187\209\142 = \208\179\208\190\209\128\209\143\209\135\208\176\209\143 \208\186\208\187\208\176\208\178\208\184\209\136\208\176",
["INSERT = switch GUI container"] = "INSERT = \209\129\208\188\208\181\208\189\208\184\209\130\209\140 \208\186\208\190\208\189\209\130\208\181\208\185\208\189\208\181\209\128 GUI",
["Press a key for %s (Esc = clear)"] = "\208\157\208\176\208\182\208\188\208\184 \208\186\208\187\208\176\208\178\208\184\209\136\209\131 \208\180\208\187\209\143 %s (Esc = \208\190\209\135\208\184\209\129\209\130\208\184\209\130\209\140)",
["%s bound to %s"] = "%s: \208\189\208\176\208\183\208\189\208\176\209\135\208\181\208\189\208\176 %s",
["%s unbound"] = "%s: \208\186\208\187\208\176\208\178\208\184\209\136\208\176 \209\129\208\189\209\143\209\130\208\176",
[" ON"] = " \208\146\208\154\208\155",
[" OFF"] = " \208\146\208\171\208\154\208\155",
["ON"] = "\208\146\208\154\208\155",
["OFF"] = "\208\146\208\171\208\154\208\155",
["Aim lock %s"] = "\208\144\208\184\208\188-\208\187\208\190\208\186: %s",
["(empty)"] = "(\208\191\209\131\209\129\209\130\208\190)",
["Search modules..."] = "\208\159\208\190\208\184\209\129\208\186 \208\188\208\190\208\180\209\131\208\187\208\181\208\185...",
["%d px"] = "%d \208\191\208\184\208\186\209\129.",
["%d ms"] = "%d \208\188\209\129",
["Config: writefile is not supported here"] = "\208\154\208\190\208\189\209\132\208\184\208\179: writefile \208\183\208\180\208\181\209\129\209\140 \208\189\208\181 \208\191\208\190\208\180\208\180\208\181\209\128\208\182\208\184\208\178\208\176\208\181\209\130\209\129\209\143",
["Config saved"] = "\208\154\208\190\208\189\209\132\208\184\208\179 \209\129\208\190\209\133\209\128\208\176\208\189\209\145\208\189",
["Config save failed"] = "\208\157\208\181 \209\131\208\180\208\176\208\187\208\190\209\129\209\140 \209\129\208\190\209\133\209\128\208\176\208\189\208\184\209\130\209\140 \208\186\208\190\208\189\209\132\208\184\208\179",
["Config: readfile is not supported here"] = "\208\154\208\190\208\189\209\132\208\184\208\179: readfile \208\183\208\180\208\181\209\129\209\140 \208\189\208\181 \208\191\208\190\208\180\208\180\208\181\209\128\208\182\208\184\208\178\208\176\208\181\209\130\209\129\209\143",
["No saved config yet"] = "\208\161\208\190\209\133\209\128\208\176\208\189\209\145\208\189\208\189\208\190\208\179\208\190 \208\186\208\190\208\189\209\132\208\184\208\179\208\176 \208\181\209\137\209\145 \208\189\208\181\209\130",
["Config file is damaged"] = "\208\164\208\176\208\185\208\187 \208\186\208\190\208\189\209\132\208\184\208\179\208\176 \208\191\208\190\208\178\209\128\208\181\208\182\208\180\209\145\208\189",
["Config loaded"] = "\208\154\208\190\208\189\209\132\208\184\208\179 \208\183\208\176\208\179\209\128\209\131\208\182\208\181\208\189",
["Settings reset"] = "\208\157\208\176\209\129\209\130\209\128\208\190\208\185\208\186\208\184 \209\129\208\177\209\128\208\190\209\136\208\181\208\189\209\139",
["%s opens / closes the menu - right click a module to bind a key"] = "%s \208\190\209\130\208\186\209\128\209\139\208\178\208\176\208\181\209\130 / \208\183\208\176\208\186\209\128\209\139\208\178\208\176\208\181\209\130 \208\188\208\181\208\189\209\142 - \208\159\208\154\208\156 \208\191\208\190 \208\188\208\190\208\180\209\131\208\187\209\142 \208\189\208\176\208\183\208\189\208\176\209\135\208\176\208\181\209\130 \208\186\208\187\208\176\208\178\208\184\209\136\209\131",
["VENORA CLIENT // RIGHT CLICK A MODULE = HOTKEY"] = "VENORA CLIENT // \208\159\208\154\208\156 \208\159\208\158 \208\156\208\158\208\148\208\163\208\155\208\174 = \208\147\208\158\208\160\208\175\208\167\208\144\208\175 \208\154\208\155\208\144\208\146\208\152\208\168\208\144",
["Friends"] = "\208\148\209\128\209\131\208\183\209\140\209\143",
["Player Info"] = "\208\152\208\189\209\132\208\190 \208\184\208\179\209\128\208\190\208\186\208\176",
["Theme Editor"] = "\208\160\208\181\208\180\208\176\208\186\209\130\208\190\209\128 \209\130\208\181\208\188\209\139",
["Performance"] = "\208\159\209\128\208\190\208\184\208\183\208\178\208\190\208\180\208\184\209\130\208\181\208\187\209\140\208\189\208\190\209\129\209\130\209\140",
["Rules"] = "\208\159\209\128\208\176\208\178\208\184\208\187\208\176",
["List"] = "\208\161\208\191\208\184\209\129\208\190\208\186",
["Account"] = "\208\144\208\186\208\186\208\176\209\131\208\189\209\130",
["In game"] = "\208\146 \208\184\208\179\209\128\208\181",
["Preview"] = "\208\159\209\128\208\181\208\180\208\191\209\128\208\190\209\129\208\188\208\190\209\130\209\128",
["Presets"] = "\208\159\209\128\208\181\209\129\208\181\209\130\209\139",
["Custom color"] = "\208\161\208\178\208\190\208\185 \209\134\208\178\208\181\209\130",
["Effects"] = "\208\173\209\132\209\132\208\181\208\186\209\130\209\139",
["Overlay"] = "\208\158\208\178\208\181\209\128\208\187\208\181\208\185",
["Frames"] = "\208\154\208\176\208\180\209\128\209\139",
["Network"] = "\208\161\208\181\209\130\209\140",
["Memory"] = "\208\159\208\176\208\188\209\143\209\130\209\140",
["Friends system"] = "\208\161\208\184\209\129\209\130\208\181\208\188\208\176 \208\180\209\128\209\131\208\183\208\181\208\185",
["Roblox friends too"] = "\208\152 \208\180\209\128\209\131\208\183\209\140\209\143 \208\184\208\183 Roblox",
["Ignore in aim"] = "\208\152\208\179\208\189\208\190\209\128 \208\178 \208\176\208\184\208\188\208\181",
["Green in ESP"] = "\208\151\208\181\208\187\209\145\208\189\209\139\208\181 \208\178 ESP",
["Add selected"] = "\208\148\208\190\208\177\208\176\208\178\208\184\209\130\209\140 \208\178\209\139\208\177\209\128\208\176\208\189\208\189\208\190\208\179\208\190",
["Clear all"] = "\208\158\209\135\208\184\209\129\209\130\208\184\209\130\209\140 \208\178\209\129\209\145",
["Add friend"] = "\208\148\208\190\208\177\208\176\208\178\208\184\209\130\209\140 \208\180\209\128\209\131\208\179\208\176",
["Remove friend"] = "\208\163\208\180\208\176\208\187\208\184\209\130\209\140 \208\180\209\128\209\131\208\179\208\176",
["User ID"] = "ID \208\184\208\179\209\128\208\190\208\186\208\176",
["Account age"] = "\208\146\208\190\208\183\209\128\208\176\209\129\209\130 \208\176\208\186\208\186\208\176\209\131\208\189\209\130\208\176",
["Membership"] = "\208\159\208\190\208\180\208\191\208\184\209\129\208\186\208\176",
["Health"] = "\208\151\208\180\208\190\209\128\208\190\208\178\209\140\208\181",
["Friend status"] = "\208\161\209\130\208\176\209\130\209\131\209\129 \208\180\209\128\209\131\208\179\208\176",
["Copy ID"] = "\208\154\208\190\208\191\208\184\209\128\208\190\208\178\208\176\209\130\209\140 ID",
["Copy name"] = "\208\154\208\190\208\191\208\184\209\128\208\190\208\178\208\176\209\130\209\140 \208\189\208\184\208\186",
["Hue"] = "\208\158\209\130\209\130\208\181\208\189\208\190\208\186",
["Saturation"] = "\208\157\208\176\209\129\209\139\209\137\208\181\208\189\208\189\208\190\209\129\209\130\209\140",
["Brightness"] = "\208\175\209\128\208\186\208\190\209\129\209\130\209\140",
["Rainbow"] = "\208\160\208\176\208\180\209\131\208\179\208\176",
["Rainbow speed"] = "\208\161\208\186\208\190\209\128\208\190\209\129\209\130\209\140 \209\128\208\176\208\180\209\131\208\179\208\184",
["Glow strength"] = "\208\161\208\184\208\187\208\176 \209\129\208\178\208\181\209\135\208\181\208\189\208\184\209\143",
["Reset theme"] = "\208\161\208\177\209\128\208\190\209\129\208\184\209\130\209\140 \209\130\208\181\208\188\209\131",
["Performance HUD"] = "HUD \208\191\209\128\208\190\208\184\208\183\208\178\208\190\208\180\208\184\209\130\208\181\208\187\209\140\208\189\208\190\209\129\209\130\208\184",
["HUD graph"] = "\208\147\209\128\208\176\209\132\208\184\208\186 \208\178 HUD",
["Average FPS"] = "\208\161\209\128\208\181\208\180\208\189\208\184\208\185 FPS",
["Frame time"] = "\208\146\209\128\208\181\208\188\209\143 \208\186\208\176\208\180\209\128\208\176",
["Min / Max FPS"] = "\208\156\208\184\208\189 / \208\156\208\176\208\186\209\129 FPS",
["Frame drops (>33 ms)"] = "\208\159\209\128\208\190\209\129\208\176\208\180\208\186\208\184 (>33 \208\188\209\129)",
["Frame time graph"] = "\208\147\209\128\208\176\209\132\208\184\208\186 \208\178\209\128\208\181\208\188\208\181\208\189\208\184 \208\186\208\176\208\180\209\128\208\176",
["Ping"] = "\208\159\208\184\208\189\208\179",
["Average ping"] = "\208\161\209\128\208\181\208\180\208\189\208\184\208\185 \208\191\208\184\208\189\208\179",
["Jitter"] = "\208\148\208\182\208\184\209\130\209\130\208\181\209\128",
["Download / Upload"] = "\208\151\208\176\208\179\209\128\209\131\208\183\208\186\208\176 / \208\158\209\130\208\180\208\176\209\135\208\176",
["Ping graph"] = "\208\147\209\128\208\176\209\132\208\184\208\186 \208\191\208\184\208\189\208\179\208\176",
["Graphics API"] = "\208\147\209\128\208\176\209\132\208\184\209\135\208\181\209\129\208\186\208\184\208\185 API",
["Quality level"] = "\208\163\209\128\208\190\208\178\208\181\208\189\209\140 \208\186\208\176\209\135\208\181\209\129\209\130\208\178\208\176",
["Platform"] = "\208\159\208\187\208\176\209\130\209\132\208\190\209\128\208\188\208\176",
["Client version"] = "\208\146\208\181\209\128\209\129\208\184\209\143 \208\186\208\187\208\184\208\181\208\189\209\130\208\176",
["Instances"] = "\208\158\208\177\209\138\208\181\208\186\209\130\209\139",
["Physics parts"] = "\208\164\208\184\208\183. \209\135\208\176\209\129\209\130\208\184",
["Session"] = "\208\161\208\181\209\129\209\129\208\184\209\143",
["Reset stats"] = "\208\161\208\177\209\128\208\190\209\129\208\184\209\130\209\140 \209\129\209\130\208\176\209\130\208\184\209\129\209\130\208\184\208\186\209\131",
["FRAME TIME"] = "\208\146\208\160\208\149\208\156\208\175 \208\154\208\144\208\148\208\160\208\144",
["PING"] = "\208\159\208\152\208\157\208\147",
["(offline)"] = "(\208\189\208\181 \208\178 \209\129\208\181\209\130\208\184)",
["No player selected"] = "\208\152\208\179\209\128\208\190\208\186 \208\189\208\181 \208\178\209\139\208\177\209\128\208\176\208\189",
["Friend"] = "\208\148\209\128\209\131\208\179",
["FRIEND"] = "\208\148\208\160\208\163\208\147",
["Roblox friend"] = "\208\148\209\128\209\131\208\179 \208\184\208\183 Roblox",
["ROBLOX FRIEND"] = "\208\148\208\160\208\163\208\147 \208\152\208\151 ROBLOX",
["No"] = "\208\157\208\181\209\130",
["Copied"] = "\208\161\208\186\208\190\208\191\208\184\209\128\208\190\208\178\208\176\208\189\208\190",
["Clipboard is not supported here"] = "\208\145\209\131\209\132\208\181\209\128 \208\190\208\177\208\188\208\181\208\189\208\176 \208\183\208\180\208\181\209\129\209\140 \208\189\208\181 \208\191\208\190\208\180\208\180\208\181\209\128\208\182\208\184\208\178\208\176\208\181\209\130\209\129\209\143",
["Select a friend first"] = "\208\161\208\189\208\176\209\135\208\176\208\187\208\176 \208\178\209\139\208\177\208\181\209\128\208\184 \208\180\209\128\209\131\208\179\208\176",
["Friend list cleared"] = "\208\161\208\191\208\184\209\129\208\190\208\186 \208\180\209\128\209\131\208\183\208\181\208\185 \208\190\209\135\208\184\209\137\208\181\208\189",
["Theme reset"] = "\208\162\208\181\208\188\208\176 \209\129\208\177\209\128\208\190\209\136\208\181\208\189\208\176",
["%s is now a friend"] = "%s \209\130\208\181\208\191\208\181\209\128\209\140 \208\180\209\128\209\131\208\179",
["%s removed from friends"] = "%s \209\131\208\180\208\176\208\187\209\145\208\189 \208\184\208\183 \208\180\209\128\209\131\208\183\208\181\208\185",
["Not in your friend list (Roblox friends are automatic)"] = "\208\157\208\181\209\130 \208\178 \209\130\208\178\208\190\209\145\208\188 \209\129\208\191\208\184\209\129\208\186\208\181 \208\180\209\128\209\131\208\183\208\181\208\185 (\208\180\209\128\209\131\208\183\209\140\209\143 Roblox \209\131\209\135\208\184\209\130\209\139\208\178\208\176\209\142\209\130\209\129\209\143 \208\176\208\178\209\130\208\190\208\188\208\176\209\130\208\184\209\135\208\181\209\129\208\186\208\184)",
}
function Q.tr(key)
if Q.lang == Q.RU_NAME then
local r = Q.ru[key]
if r then return r end
end
return key
end
-- Q.bind(inst, key, fmt, prop): shows tr(key) in inst[prop] and keeps it updated when the language changes
function Q.bind(inst, key, fmt, prop)
local items = Q.i18n
items[#items + 1] = { inst, key, fmt, prop or "Text" }
local t = Q.tr(key)
inst[prop or "Text"] = fmt and fmt(t) or t
end
function Q.applyLang()
local items = Q.i18n
for i = #items, 1, -1 do
local it = items[i]
if it[1].Parent == nil then
table.remove(items, i) -- label was destroyed
else
local t = Q.tr(it[2])
it[1][it[4]] = it[3] and it[3](t) or t
end
end
end
local function mapUtf8(s, fn)
local out = {}
for _, c in utf8.codes(s) do out[#out + 1] = utf8.char(fn(c)) end
return table.concat(out)
end
function Q.upper(s)
local ok, r = pcall(mapUtf8, s, function(c)
if c >= 97 and c <= 122 then return c - 32 end
if c >= 0x430 and c <= 0x44F then return c - 32 end
if c == 0x451 then return 0x401 end
return c
end)
return ok and r or string.upper(s)
end
function Q.lowerRu(s)
local ok, r = pcall(mapUtf8, s, function(c)
if c >= 65 and c <= 90 then return c + 32 end
if c >= 0x410 and c <= 0x42F then return c + 32 end
if c == 0x401 then return 0x451 end
return c
end)
return ok and r or string.lower(s)
end
-- fonts: Gotham family only (these Enum members certainly exist)
local FONT = Enum.Font.GothamMedium
local FONT_B = Enum.Font.GothamBold
local FONT_S = Enum.Font.Gotham
local function mkLabel(parent, txt, size, color, bold, align)
local l = new("TextLabel", {
BackgroundTransparency = 1, BorderSizePixel = 0, Text = txt, TextSize = size or 14,
TextColor3 = color or Theme.Text, Font = bold and FONT_B or FONT,
TextXAlignment = align or Enum.TextXAlignment.Left,
}, parent)
if txt and txt ~= "" then Q.bind(l, txt) end -- static labels follow the language setting
return l
end
--========================================================================
-- [SECTION 3] CONFIG
--========================================================================
local Defaults = {
Aim = {
Enabled = false, Key = "MouseButton2", Mode = "Hold", FOV = 120, Smooth = 6, ShowFOV = true,
Part = "Head", Priority = "Cursor", TeamCheck = true, WallCheck = true, IgnoreDowned = true,
Predict = 0, TargetHud = true, Bots = false,
},
Visual = {
Enabled = false, Chams = true, Names = true, Health = true, Distance = true, Tracers = false,
TeamCheck = true, TeamColors = false, ColorIdx = 1, Fill = 40, MaxDist = 1500,
Boxes = false, Fullbright = false, NoFog = false, CamFovOn = false, CamFov = 90, UnlockZoom = false,
ZoomOn = false, ZoomKey = "C", ZoomFov = 25,
CrossOn = false, CrossSize = 10, CrossGap = 5,
},
Move = {
SpeedOn = false, Speed = 32, JumpOn = false, Jump = 70, InfJump = false,
Noclip = false, Fly = false, FlySpeed = 60,
ClickTP = false, Bhop = false, GravOn = false, Gravity = 80,
},
Menu = {
ToggleKey = "RightShift", Accent = 1, Scale = 100, Transparency = 0,
AnimBG = true, MenuBackground = true, BackgroundOpacity = 45, BackgroundAnimation = true, Blur = true, BlurSize = 40,
Watermark = true, AntiAFK = false, Notify = true, ArrayList = true, ShowFps = true, ShowPing = true, Lang = "English",
CustomOn = false, CustomH = 333, CustomS = 92, CustomV = 100, Rainbow = false, RainbowSpeed = 30, GlowStrength = 50, Hidden = "",
},
Server = { AutoRejoin = false },
Perf = { Hud = false, HudGraph = true, FrameGraph = true, PingGraph = true },
Friends = { Enabled = true, Roblox = true, IgnoreAim = true, Highlight = true, Data = "" }, -- Data = "userId:name;userId:name"
Binds = {}, -- "Section.Key" = "KeyName" (module hotkeys, set with right click)
}
local function deepCopy(t)
local r = {}
for k, v in pairs(t) do
r[k] = type(v) == "table" and deepCopy(v) or v
end
return r
end
local Cfg = deepCopy(Defaults)
-- copies only known keys with matching types (protects against corrupted configs)
local function mergeConfig(data)
if type(data.Binds) == "table" then
Cfg.Binds = {}
for k, v in pairs(data.Binds) do
if type(k) == "string" and type(v) == "string" then Cfg.Binds[k] = v end
end
end
for sec, vals in pairs(data) do
if sec ~= "Binds" and type(vals) == "table" and Cfg[sec] then
for k, v in pairs(vals) do
if Cfg[sec][k] ~= nil and type(Cfg[sec][k]) == type(v) then
Cfg[sec][k] = v
end
end
end
end
end
local CFG_FILE = "VenoRa_config.json"
-- accent color: rainbow > custom HSV > palette entry (used by setAccent, ESP, tracers)
function Q.accentFn(idx)
local M = Cfg.Menu
if M.Rainbow then return Color3.fromHSV((Q.t * M.RainbowSpeed / 500) % 1, 0.78, 1) end
if M.CustomOn then return Color3.fromHSV(M.CustomH / 360, M.CustomS / 100, M.CustomV / 100) end
return (Palette[idx] or Palette[1]).c
end
--========================================================================
-- [SECTION 4] PLAYER DATA (cached, so per-frame code never searches)
--========================================================================
local function rebuildOthers()
local list = {}
for _, p in ipairs(Players:GetPlayers()) do
if p ~= LocalPlayer then list[#list + 1] = p end
end
Q.others = list
end
rebuildOthers()
track(Players.PlayerAdded:Connect(function(p)
if p ~= LocalPlayer then Q.others[#Q.others + 1] = p end
if Q.onPlayers then guard("players", Q.onPlayers) end
end))
-- ESP table is declared here because PlayerRemoving needs it
local ESP = { objs = {}, acc = 0 }
local Tracer = { lines = {} }
local Spec = { plr = nil }
local Aim = { target = nil, latched = false, targetIsBot = false }
local GuiService = game:GetService("GuiService")
---------------------------------------------------------------- FRIENDS (never aimed at, drawn green in ESP / tracers)
local Friends = { set = {}, names = {}, rbx = {}, sel = nil }
Friends.GREEN = Color3.fromRGB(70, 255, 120)
function Friends.parse()
Friends.set, Friends.names = {}, {}
for id, name in string.gmatch(Cfg.Friends.Data, "(%d+):([^;]*)") do
local n = tonumber(id)
Friends.set[n], Friends.names[n] = true, name
end
end
Friends.parse()
function Friends.save()
local parts = {}
for id in pairs(Friends.set) do parts[#parts + 1] = id .. ":" .. (Friends.names[id] or "") end
table.sort(parts)
Cfg.Friends.Data = table.concat(parts, ";")
end
function Friends.is(plr)
local F = Cfg.Friends
if not F.Enabled then return false end
local id = plr.UserId
return Friends.set[id] == true or (F.Roblox and Friends.rbx[id] == true)
end
function Friends.lit(plr) -- friends that should be drawn green
return Cfg.Friends.Highlight and Friends.is(plr)
end
function Friends.changed()
Friends.save()
if Q.onFriends then guard("friends ui", Q.onFriends) end
if Q.onPlayers then guard("players ui", Q.onPlayers) end
end
function Friends.add(plr)
Friends.set[plr.UserId], Friends.names[plr.UserId] = true, plr.Name
Friends.changed()
end
function Friends.remove(id)
Friends.set[id], Friends.names[id] = nil, nil
if Friends.sel == id then Friends.sel = nil end
Friends.changed()
end
-- Roblox friends list: asked once per player, off the main thread (IsFriendsWith can yield)
function Friends.check(plr)
task.spawn(function()
local ok, res = pcall(function() return LocalPlayer:IsFriendsWith(plr.UserId) end)
if ok and Q.Alive then
Friends.rbx[plr.UserId] = (res == true)
if res == true and Q.onPlayers then guard("players ui", Q.onPlayers) end
end
end)
end
for i = 1, #Q.others do Friends.check(Q.others[i]) end
track(Players.PlayerAdded:Connect(function(p)
if p ~= LocalPlayer then Friends.check(p) end
end))
---------------------------------------------------------------- BOTS (NPC models with a Humanoid)
Q.bots, Q.botSet = {}, {}
local function isBotModel(m)
return m:IsA("Model") and m:FindFirstChildOfClass("Humanoid") ~= nil and Players:GetPlayerFromCharacter(m) == nil
end
local function addBotCandidate(inst)
if Q.botSet[inst] or not inst.Parent then return end
if isBotModel(inst) then
Q.botSet[inst] = true
Q.bots[#Q.bots + 1] = inst
end
end
local function removeBot(inst)
if not Q.botSet[inst] then return end
Q.botSet[inst] = nil
Q.cache[inst] = nil
for i = 1, #Q.bots do
if Q.bots[i] == inst then
table.remove(Q.bots, i)
break
end
end
end
for _, d in ipairs(Workspace:GetDescendants()) do addBotCandidate(d) end
track(Workspace.DescendantAdded:Connect(function(d)
if d:IsA("Humanoid") then
task.defer(addBotCandidate, d.Parent)
elseif d:IsA("Model") then
task.defer(addBotCandidate, d) -- the Humanoid can be parented a frame later
end
end))
track(Workspace.DescendantRemoving:Connect(function(d)
if Q.botSet[d] then removeBot(d) end
end))
local function getBotInfo(model)
local info = Q.cache[model]
if not info then
info = {}
Q.cache[model] = info
end
if info.char ~= model then
info.char, info.hum, info.root, info.head, info.torso = model, nil, nil, nil, nil
end
if not (info.hum and info.root and info.head) then
info.hum = info.hum or model:FindFirstChildOfClass("Humanoid")
info.root = info.root or model:FindFirstChild("HumanoidRootPart")
info.head = info.head or model:FindFirstChild("Head")
info.torso = info.torso or model:FindFirstChild("UpperTorso") or model:FindFirstChild("Torso") or info.root
end
return info
end
local function espRemove(plr)
local o = ESP.objs[plr]
if o then
o.hl:Destroy()
o.bb:Destroy()
o.box:Destroy()
ESP.objs[plr] = nil
end
local ln = Tracer.lines[plr]
if ln then
ln:Destroy()
Tracer.lines[plr] = nil
end
end
track(Players.PlayerRemoving:Connect(function(p)
for i = #Q.others, 1, -1 do
if Q.others[i] == p then table.remove(Q.others, i) end
end
Q.cache[p] = nil
espRemove(p)
if Spec.plr == p and Q.stopSpectate then guard("spec", Q.stopSpectate) end
if Q.onPlayers then guard("players", Q.onPlayers) end
end))
local function getInfo(plr)
local char = plr.Character
if not char then return nil end
local info = Q.cache[plr]
if not info then
info = {}
Q.cache[plr] = info
end
if info.char ~= char then
info.char, info.hum, info.root, info.head, info.torso = char, nil, nil, nil, nil
end
if not (info.hum and info.root and info.head) then -- parts can load late
info.hum = info.hum or char:FindFirstChildOfClass("Humanoid")
info.root = info.root or char:FindFirstChild("HumanoidRootPart")
info.head = info.head or char:FindFirstChild("Head")
info.torso = info.torso or char:FindFirstChild("UpperTorso") or char:FindFirstChild("Torso") or info.root
end
return info
end
local function sameTeam(plr)
local t = plr.Team
return t ~= nil and t == LocalPlayer.Team
end
--========================================================================
-- [SECTION 5] FEATURES (logic only)
--========================================================================
local Input = { listening = nil, slider = nil, drag = nil }
local bindCache = {}
local function isBindDown(name)
local b = bindCache[name]
if not b then
b = {}
if string.sub(name, 1, 11) == "MouseButton" then
b.m = Enum.UserInputType[name]
else
b.k = Enum.KeyCode[name]
end
bindCache[name] = b
end
if b.m then return UserInputService:IsMouseButtonPressed(b.m) end
if b.k then return UserInputService:IsKeyDown(b.k) end
return false
end
local function typing()
return UserInputService:GetFocusedTextBox() ~= nil
end
---------------------------------------------------------------- AIM ASSIST
Aim.rp = RaycastParams.new()
Aim.rp.FilterType = Enum.RaycastFilterType.Exclude
Aim.rp.IgnoreWater = true
Aim.lastMX, Aim.lastMY = -1, -1
local function evalTarget(unit, cam, m, A, isBot)
local info = isBot and getBotInfo(unit) or getInfo(unit)
if not info or not info.hum or not info.root then return nil end
if A.IgnoreDowned and info.hum.Health <= 0 then return nil end
if not isBot and Cfg.Friends.IgnoreAim and Friends.is(unit) then return nil end
if not isBot and A.TeamCheck and sameTeam(unit) then return nil end
local part
if A.Part == "Head" then part = info.head or info.torso else part = info.torso or info.head end
if not part then return nil end
local sp, onScreen = cam:WorldToViewportPoint(part.Position)
if not onScreen then return nil end
local dx, dy = sp.X - m.X, sp.Y - m.Y
return part, math.sqrt(dx * dx + dy * dy), sp.Z, info
end
local function isVisible(cam, part, tchar)
local list = { tchar }
local mine = LocalPlayer.Character
if mine then list[2] = mine end
Aim.rp.FilterDescendantsInstances = list
local origin = cam.CFrame.Position
return Workspace:Raycast(origin, part.Position - origin, Aim.rp) == nil
end
local function aimAcquire(cam, m, A)
local bestScore, bestUnit, bestIsBot = math.huge, nil, false
for i = 1, #Q.others do
local plr = Q.others[i]
local part, d2, depth, info = evalTarget(plr, cam, m, A, false)
if part and d2 <= A.FOV then
local score = (A.Priority == "Distance") and depth or d2
-- raycast only for candidates that would actually win (saves CPU)
if score < bestScore and (not A.WallCheck or isVisible(cam, part, info.char)) then
bestScore, bestUnit, bestIsBot = score, plr, false
end
end
end
if A.Bots then
for i = 1, #Q.bots do
local model = Q.bots[i]
if model.Parent then
local part, d2, depth, info = evalTarget(model, cam, m, A, true)
if part and d2 <= A.FOV then
local score = (A.Priority == "Distance") and depth or d2
if score < bestScore and (not A.WallCheck or isVisible(cam, part, info.char)) then
bestScore, bestUnit, bestIsBot = score, model, true
end
end
end
end
end
Aim.targetIsBot = bestIsBot
return bestUnit
end
local function aimActive(A)
if A.Mode == "Toggle" then return Aim.latched end
return isBindDown(A.Key)
end
local function aimStep(dt)
local A = Cfg.Aim
if not A.Enabled or Q.Open or not aimActive(A) then
Aim.target = nil
return
end
local cam = Workspace.CurrentCamera
if not cam then return end
local m = UserInputService:GetMouseLocation()
local part, info
if Aim.target and (Aim.targetIsBot and Aim.target.Parent ~= nil or not Aim.targetIsBot) then
-- sticky target: cheap, no full scan while active
local p, d2, _, inf = evalTarget(Aim.target, cam, m, A, Aim.targetIsBot)
if p and d2 <= A.FOV * 1.35 and (not A.WallCheck or isVisible(cam, p, inf.char)) then part, info = p, inf end
end
if not part then
Aim.target = aimAcquire(cam, m, A)
if Aim.target then
local p, _, _, inf = evalTarget(Aim.target, cam, m, A, Aim.targetIsBot)
part, info = p, inf
end
end
if not part then return end
local aimPos = part.Position
if A.Predict > 0 and info and info.root then -- lead moving targets
aimPos = aimPos + info.root.AssemblyLinearVelocity * (A.Predict / 1000)
end
local from = cam.CFrame
local goal = CFrame.lookAt(from.Position, aimPos)
local alpha = 1
if A.Smooth > 1 then alpha = 1 - math.exp(-dt * (120 / A.Smooth)) end
cam.CFrame = from:Lerp(goal, alpha)
end
---------------------------------------------------------------- ESP / WALLHACK
-- Highlight = native chams (through walls, ~31 max). Box = billboard sized in studs.
local function espCreate()
local hl = new("Highlight", {
Enabled = false, DepthMode = Enum.HighlightDepthMode.AlwaysOnTop,
FillTransparency = 0.6, OutlineTransparency = 0,
}, ESP.folder)
local bb = new("BillboardGui", {
Enabled = false, AlwaysOnTop = true, LightInfluence = 0,
Size = UDim2.fromOffset(150, 44), StudsOffset = Vector3.new(0, 3.2, 0),
}, ESP.folder)
local name = new("TextLabel", {
BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 16), Font = FONT_B,
TextSize = 13, TextColor3 = Theme.Text, TextStrokeTransparency = 0.4, Text = "",
}, bb)
local hpBg = new("Frame", {
AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 20), Size = UDim2.fromOffset(64, 5),
BackgroundColor3 = Color3.fromRGB(10, 10, 12), BorderSizePixel = 0,
}, bb)
local hpFill = new("Frame", { Size = UDim2.fromScale(1, 1), BackgroundColor3 = Theme.Good, BorderSizePixel = 0 }, hpBg)
local dist = new("TextLabel", {
BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 28), Size = UDim2.new(1, 0, 0, 14),
Font = FONT, TextSize = 12, TextColor3 = Theme.Dim, TextStrokeTransparency = 0.4, Text = "",
}, bb)
local box = new("BillboardGui", {
Enabled = false, AlwaysOnTop = true, LightInfluence = 0, Size = UDim2.fromScale(4.2, 6),
}, ESP.folder)
local boxFrame = new("Frame", { Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0 }, box)
local boxStroke = new("UIStroke", { Thickness = 1.6, Color = Theme.Text }, boxFrame)
return {
hl = hl, bb = bb, name = name, hpBg = hpBg, hpFill = hpFill, dist = dist,
box = box, boxStroke = boxStroke, lastHp = -1, lastDist = -1,
}
end
local function espClearAll()
for plr in pairs(ESP.objs) do espRemove(plr) end
end
local function espUpdate()
local V = Cfg.Visual
local cam = Workspace.CurrentCamera
if not cam then return end
local camPos = cam.CFrame.Position
local baseColor = Q.Accent
local fillT = 1 - V.Fill / 100
local anyLabel = V.Names or V.Health or V.Distance
for i = 1, #Q.others do
local plr = Q.others[i]
local o = ESP.objs[plr]
local info = getInfo(plr)
local show = info ~= nil and info.hum ~= nil and info.root ~= nil and info.hum.Health > 0
local dist = 0
if show and V.TeamCheck and sameTeam(plr) and not Friends.lit(plr) then show = false end
if show then
dist = (info.root.Position - camPos).Magnitude
if dist > V.MaxDist then show = false end
end
if not show then
if o then
if o.hl.Enabled then o.hl.Enabled = false end
if o.bb.Enabled then o.bb.Enabled = false end
if o.box.Enabled then o.box.Enabled = false end
end
else
if not o then
o = espCreate()
ESP.objs[plr] = o
end
if o.char ~= info.char then
o.char = info.char
o.hl.Adornee = info.char
o.bb.Adornee = info.head or info.root
o.box.Adornee = info.root
o.name.Text = plr.DisplayName
o.isF = nil
o.lastHp, o.lastDist = -1, -1
end
local col = V.TeamColors and plr.TeamColor.Color or baseColor
local fl = Friends.lit(plr)
if o.isF ~= fl then
o.isF = fl
o.name.Text = plr.DisplayName .. (fl and " [F]" or "")
o.name.TextColor3 = fl and Friends.GREEN or Theme.Text
end
if fl then col = Friends.GREEN end
if o.hl.Enabled ~= V.Chams then o.hl.Enabled = V.Chams end
if V.Chams then
if o.hl.FillColor ~= col then
o.hl.FillColor = col
o.hl.OutlineColor = col
end
if o.hl.FillTransparency ~= fillT then o.hl.FillTransparency = fillT end
end
if o.box.Enabled ~= V.Boxes then o.box.Enabled = V.Boxes end
if V.Boxes and o.boxStroke.Color ~= col then o.boxStroke.Color = col end
if o.bb.Enabled ~= anyLabel then o.bb.Enabled = anyLabel end
if anyLabel then
if o.name.Visible ~= V.Names then o.name.Visible = V.Names end
if o.hpBg.Visible ~= V.Health then o.hpBg.Visible = V.Health end
if o.dist.Visible ~= V.Distance then o.dist.Visible = V.Distance end
if V.Health then
local hp = math.floor(info.hum.Health)
if hp ~= o.lastHp then
o.lastHp = hp
local r = math.clamp(info.hum.Health / math.max(info.hum.MaxHealth, 1), 0, 1)
o.hpFill.Size = UDim2.fromScale(r, 1)
o.hpFill.BackgroundColor3 = Color3.fromHSV(r * 0.33, 0.8, 1)
end
end
if V.Distance then
local d = math.floor(dist)
if d ~= o.lastDist then
o.lastDist = d
o.dist.Text = d .. " studs"
end
end
end
end
end
end
---------------------------------------------------------------- TRACERS (frame lines, every frame, only when on)
local function tracerStep()
local V = Cfg.Visual
local cam = Workspace.CurrentCamera
local show = V.Enabled and V.Tracers and cam ~= nil
if not show then
if Tracer.any then
for _, ln in pairs(Tracer.lines) do ln.Visible = false end
Tracer.any = false
end
return
end
Tracer.any = true
local vs = cam.ViewportSize
local ox, oy = vs.X / 2, vs.Y
local col = Q.Accent
local camPos = cam.CFrame.Position
for i = 1, #Q.others do
local plr = Q.others[i]
local info = getInfo(plr)
local ok = info ~= nil and info.root ~= nil and info.hum ~= nil and info.hum.Health > 0
if ok and V.TeamCheck and sameTeam(plr) and not Friends.lit(plr) then ok = false end
local sp
if ok then
if (info.root.Position - camPos).Magnitude > V.MaxDist then ok = false end
end
if ok then
local p, onScreen = cam:WorldToViewportPoint(info.root.Position)
if p.Z <= 0 or not onScreen then ok = false else sp = p end
end
local ln = Tracer.lines[plr]
if not ok then
if ln and ln.Visible then ln.Visible = false end
else
if not ln then
ln = new("Frame", { BorderSizePixel = 0, AnchorPoint = Vector2.new(0.5, 0.5), ZIndex = 0 }, Tracer.gui)
Tracer.lines[plr] = ln
end
local dx, dy = sp.X - ox, sp.Y - oy
ln.Size = UDim2.fromOffset(math.sqrt(dx * dx + dy * dy), 1.5)
ln.Position = UDim2.fromOffset((sp.X + ox) / 2, (sp.Y + oy) / 2)
ln.Rotation = math.deg(math.atan2(dy, dx))
ln.BackgroundColor3 = Friends.lit(plr) and Friends.GREEN or (V.TeamColors and plr.TeamColor.Color or col)
ln.Visible = true
end
end
end
---------------------------------------------------------------- MOVEMENT
local Move = { partsAt = 0 }
local function currentHum()
local c = LocalPlayer.Character
return c and c:FindFirstChildOfClass("Humanoid")
end
local function moveStep(dt)
local M = Cfg.Move
local char = LocalPlayer.Character
if not char then return end
if Move.char ~= char then -- new character: cache and remember original values BEFORE we touch them
Move.char = char
Move.hum = char:FindFirstChildOfClass("Humanoid")
Move.root = char:FindFirstChild("HumanoidRootPart")
Move.parts = nil
if Move.hum then
if Move.speedActive then Move.origSpeed = Move.hum.WalkSpeed end
if Move.jumpActive then
Move.origJump, Move.origUse = Move.hum.JumpPower, Move.hum.UseJumpPower
end
end
end
local hum, root = Move.hum, Move.root
if not hum or not root then
Move.hum = char:FindFirstChildOfClass("Humanoid")
Move.root = char:FindFirstChild("HumanoidRootPart")
return
end
if M.SpeedOn and hum.WalkSpeed ~= M.Speed then hum.WalkSpeed = M.Speed end
if M.GravOn and Workspace.Gravity ~= M.Gravity then Workspace.Gravity = M.Gravity end
if M.Bhop and hum.FloorMaterial ~= Enum.Material.Air and UserInputService:IsKeyDown(Enum.KeyCode.Space)
and not typing() then
hum.Jump = true
end
if M.JumpOn then
if not hum.UseJumpPower then hum.UseJumpPower = true end
if hum.JumpPower ~= M.Jump then hum.JumpPower = M.Jump end
end
if M.Noclip then
local now = os.clock()
if not Move.parts or now - Move.partsAt > 1 then -- rebuild list once per second, not per frame
local list = {}
for _, d in ipairs(char:GetDescendants()) do
if d:IsA("BasePart") then list[#list + 1] = d end
end
Move.parts, Move.partsAt = list, now
end
local parts = Move.parts
for i = 1, #parts do
local p = parts[i]
if p.CanCollide then p.CanCollide = false end
end
end
if M.Fly then
local cam = Workspace.CurrentCamera
if cam then
local cf = cam.CFrame
local dir = Vector3.zero
if not typing() then
if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir = dir + cf.LookVector end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir = dir - cf.LookVector end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir = dir + cf.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir = dir - cf.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir = dir + Vector3.yAxis end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then dir = dir - Vector3.yAxis end
end
if dir.Magnitude > 0 then dir = dir.Unit end
-- the extra Y term cancels the gravity the engine adds during the physics step
root.AssemblyLinearVelocity = dir * M.FlySpeed + Vector3.new(0, Workspace.Gravity * dt, 0)
root.AssemblyAngularVelocity = Vector3.zero
end
end
end
track(UserInputService.JumpRequest:Connect(function()
if Cfg.Move.InfJump then
local hum = currentHum()
if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end
end
end))
---------------------------------------------------------------- WORLD (lighting, camera zoom, hold-zoom)
local World = {}
local Zoom = { active = false, base = 70 }
local FB_COLOR = Color3.fromRGB(178, 178, 178)
-- 10 Hz, only while a world feature is on; re-applies values games like to reset
local function worldTick()
if World.fb then
if Lighting.Brightness ~= 2 then Lighting.Brightness = 2 end
if Lighting.ClockTime ~= 14 then Lighting.ClockTime = 14 end
if Lighting.GlobalShadows then Lighting.GlobalShadows = false end
if Lighting.Ambient ~= FB_COLOR then Lighting.Ambient = FB_COLOR end
if Lighting.OutdoorAmbient ~= FB_COLOR then Lighting.OutdoorAmbient = FB_COLOR end
end
if World.fog then
if Lighting.FogEnd < 100000 then Lighting.FogEnd = 1000000 end
local atm = World.atm
if atm and atm.Density > 0 then atm.Density = 0 end
end
if World.zoom and LocalPlayer.CameraMaxZoomDistance < 1000 then
LocalPlayer.CameraMaxZoomDistance = 1000
end
end
-- hold the zoom key: smooth FOV in/out. Runs every frame (cheap early-outs).
local function zoomStep(dt)
local V = Cfg.Visual
local cam = Workspace.CurrentCamera
if not cam then return end
local want = V.ZoomOn and not Q.Open and not typing() and isBindDown(V.ZoomKey)
if want then
if not Zoom.active then
Zoom.active = true
Zoom.base = World.fovOn and V.CamFov or cam.FieldOfView
end
cam.FieldOfView = cam.FieldOfView + (V.ZoomFov - cam.FieldOfView) * (1 - math.exp(-dt * 14))
elseif Zoom.active then
local back = World.fovOn and V.CamFov or Zoom.base
local f = cam.FieldOfView + (back - cam.FieldOfView) * (1 - math.exp(-dt * 14))
if math.abs(f - back) < 0.3 then
f = back
Zoom.active = false
end
cam.FieldOfView = f
end
end
---------------------------------------------------------------- CLICK TELEPORT (Ctrl + click)
Move.rp = RaycastParams.new()
Move.rp.FilterType = Enum.RaycastFilterType.Exclude
local function clickTeleport()
local cam = Workspace.CurrentCamera
local char = LocalPlayer.Character
local root = char and char:FindFirstChild("HumanoidRootPart")
if not (cam and root) then return end
local m = UserInputService:GetMouseLocation()
local ray = cam:ViewportPointToRay(m.X, m.Y)
Move.rp.FilterDescendantsInstances = { char }
local hit = Workspace:Raycast(ray.Origin, ray.Direction * 3000, Move.rp)
if hit then root.CFrame = CFrame.new(hit.Position + Vector3.new(0, 3.5, 0)) end
end
---------------------------------------------------------------- WAYPOINTS + PLAYER ACTIONS
local Way = { list = {}, sel = nil, n = 0 }
local function myRoot()
local c = LocalPlayer.Character
return c and c:FindFirstChild("HumanoidRootPart")
end
local function teleportTo(pos)
local r = myRoot()
if r then r.CFrame = CFrame.new(pos + Vector3.new(0, 3, 0)) end
return r ~= nil
end
local function stopSpectate()
if not Spec.plr then return end
Spec.plr = nil
local cam = Workspace.CurrentCamera
local hum = currentHum()
if cam and hum then cam.CameraSubject = hum end
end
Q.stopSpectate = stopSpectate
-- 10 Hz: keep the camera on the spectated player (their character can respawn)
local function spectateTick()
local plr = Spec.plr
if not plr then return end
local info = getInfo(plr)
local cam = Workspace.CurrentCamera
if info and info.hum and cam and cam.CameraSubject ~= info.hum then cam.CameraSubject = info.hum end
end
---------------------------------------------------------------- PERFORMANCE (frame-time stats + graph data)
-- Per-frame cost is one ring-buffer write. Sorting / system stats run at 1 Hz, graphs sample at 5 Hz.
local Perf = {
N = 1200, ft = {}, i = 0, n = 0, scratch = {}, -- last 1200 frame times (about 20 s at 60 fps)
GN = 60, gft = {}, gping = {}, gi = 0, -- graph rings: 60 samples, one per 0.2 s (12 s window)
acc = 0, wf = 0, gMax = 0, sec = 0,
fps = 0, ms = 0, avg = 0, low1 = 0, low01 = 0, minFps = 0, maxFps = 0,
ping = 0, pingAvg = 0, jitter = 0, pingMax = 0, drops = 0, frames = 0, t0 = os.clock(),
mem = 0, inst = 0, prims = 0, moving = 0, kin = 0, kout = 0,
api = "Unknown", quality = "Unknown", platform = "Unknown", version = "Unknown",
}
Perf.stats = game:GetService("Stats")
for i = 1, Perf.GN do
Perf.gft[i], Perf.gping[i] = 0, 0
end
function Perf.desc(a, b) return a > b end
-- graphics API: RenderSettings.GraphicsMode is plugin-level (works in most executors). "Automatic" = the
-- client picks by platform (Direct3D 11 on Windows, Metal on macOS/iOS), so that case is labelled "(auto)".
function Perf.detect()
pcall(function() Perf.platform = UserInputService:GetPlatform().Name end)
pcall(function() Perf.version = tostring(version()) end)
local mode
pcall(function() mode = settings().Rendering.GraphicsMode.Name end)
pcall(function() Perf.quality = settings().Rendering.QualityLevel.Name end)
if Perf.quality == "Unknown" or Perf.quality == "Automatic" then
pcall(function()
local lvl = UserSettings():GetService("UserGameSettings").SavedQualityLevel.Name
if lvl then Perf.quality = lvl end
end)
end
local plat = Perf.platform
local auto = "Unknown"
if plat == "Windows" or plat == "UWP" then auto = "Direct3D 11"
elseif plat == "OSX" or plat == "IOS" then auto = "Metal"
elseif plat == "Android" then auto = "Vulkan / OpenGL"
end
if mode and mode ~= "Automatic" then
Perf.api = (mode:gsub("Direct3D(%d+)", "Direct3D %1"))
else
Perf.api = auto .. (auto ~= "Unknown" and " (auto)" or "")
end
end
Perf.detect()
function Perf.frame(dt)
local i = Perf.i % Perf.N + 1
Perf.i = i
Perf.ft[i] = dt
if Perf.n < Perf.N then Perf.n = Perf.n + 1 end
Perf.frames = Perf.frames + 1
Perf.wf = Perf.wf + 1
Perf.acc = Perf.acc + dt
if dt > Perf.gMax then Perf.gMax = dt end
if dt > 0.0334 then Perf.drops = Perf.drops + 1 end
end
function Perf.slow() -- 1 Hz: percentile lows + system numbers
local n = Perf.n
if n >= 10 then
local sc, ft, total = Perf.scratch, Perf.ft, 0
for k = 1, n do
local v = ft[k]
sc[k] = v
total = total + v
end
table.sort(sc, Perf.desc) -- slowest frames first
Perf.avg = n / total
local k1, k01 = math.max(1, math.floor(n * 0.01)), math.max(1, math.floor(n * 0.001))
local s1, s01 = 0, 0
for k = 1, k1 do
s1 = s1 + sc[k]
if k <= k01 then s01 = s01 + sc[k] end
end
Perf.low1, Perf.low01 = k1 / s1, k01 / s01
Perf.minFps, Perf.maxFps = 1 / sc[1], 1 / sc[n]
end
local ps, pc = 0, 0
for k = 1, Perf.GN do
local v = Perf.gping[k]
if v > 0 then
ps, pc = ps + v, pc + 1
end
end
Perf.pingAvg = pc > 0 and ps / pc or 0
pcall(function() Perf.mem = Perf.stats:GetTotalMemoryUsageMb() end)
pcall(function() Perf.inst = Perf.stats.InstanceCount end)
pcall(function() Perf.prims = Perf.stats.PrimitivesCount end)
pcall(function() Perf.moving = Perf.stats.MovingPrimitivesCount end)
pcall(function() Perf.kin, Perf.kout = Perf.stats.DataReceiveKbps, Perf.stats.DataSendKbps end)
end
function Perf.sample() -- every 0.2 s
local gi = Perf.gi % Perf.GN + 1
Perf.gi = gi
if Perf.wf > 0 and Perf.acc > 0 then
Perf.fps = Perf.wf / Perf.acc
Perf.ms = Perf.acc / Perf.wf * 1000
end
Perf.gft[gi] = Perf.gMax * 1000 -- the worst frame of the window, so stutters show up
local ok, v = pcall(function() return Perf.stats.Network.ServerStatsItem["Data Ping"]:GetValue() end)
if ok and type(v) == "number" then
Perf.jitter = Perf.jitter * 0.8 + math.abs(v - Perf.ping) * 0.2
Perf.ping = v
if v > Perf.pingMax then Perf.pingMax = v end
end
Perf.gping[gi] = Perf.ping
Perf.acc, Perf.wf, Perf.gMax = 0, 0, 0
Perf.sec = Perf.sec + 1
if Perf.sec >= 5 then
Perf.sec = 0
Perf.slow()
end
end
function Perf.reset()
Perf.i, Perf.n, Perf.scratch = 0, 0, {}
Perf.drops, Perf.frames, Perf.pingMax, Perf.t0 = 0, 0, 0, os.clock()
Perf.avg, Perf.low1, Perf.low01, Perf.minFps, Perf.maxFps = 0, 0, 0, 0, 0
for i = 1, Perf.GN do
Perf.gft[i], Perf.gping[i] = 0, 0
end
end
--========================================================================
-- [SECTION 6] UI SHELL
--========================================================================
local Gui = new("ScreenGui", {
Name = "VenoRa", ResetOnSpawn = false, IgnoreGuiInset = true, DisplayOrder = 999,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
})
Q.GuiRef = Gui
-- container fallback: gethui -> CoreGui -> PlayerGui (INSERT cycles them if the menu is invisible)
local Containers = {
{ "gethui", function() return gethui and gethui() end },
{ "CoreGui", function() return CoreGui end },
{ "PlayerGui", function() return LocalPlayer:FindFirstChildOfClass("PlayerGui") or LocalPlayer:WaitForChild("PlayerGui", 10) end },
}
local contIdx = 0
local function mountAt(i)
local ok, parent = pcall(Containers[i][2])
if not ok or not parent then return false end
local ok2 = pcall(function() Gui.Parent = parent end)
return ok2 and Gui.Parent == parent
end
for i = 1, #Containers do
if mountAt(i) then
RunService.Heartbeat:Wait() -- let the engine lay the gui out once
if i == #Containers or Gui.AbsoluteSize.X > 0 then
contIdx = i
break
end
Gui.Parent = nil
end
end
if contIdx == 0 then error("[VenoRa] could not mount the interface into any container") end
ESP.folder = new("Folder", { Name = "VR_ESP" }, Gui.Parent)
-- ---------------------------------------------------------------- HUD (always visible)
Tracer.gui = new("Frame", { Name = "Tracers", BackgroundTransparency = 1, BorderSizePixel = 0, Size = UDim2.fromScale(1, 1), ZIndex = 0 }, Gui)
local FovRing = new("Frame", {
Name = "FovRing", AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1,
Size = UDim2.fromOffset(240, 240), Visible = false, ZIndex = 0,
}, Gui)
round(FovRing)
bindAccent(new("UIStroke", { Thickness = 1.5, Transparency = 0.25 }, FovRing), "Color")
local Cross = new("Frame", { Name = "Crosshair", BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Visible = false, ZIndex = 0 }, Gui)
local CrossBars = {}
for i = 1, 4 do
local b = new("Frame", { BorderSizePixel = 0 }, Cross)
bindAccent(b, "BackgroundColor3")
CrossBars[i] = b
end
-- accent corner brackets (4 corners, 2 bars each). off > 0 = inside the parent, off < 0 = outside
local function decoBrackets(parent, len, th, off, accented, tr, z)
for ax = 0, 1 do
for ay = 0, 1 do
local px, py = (ax == 0) and off or -off, (ay == 0) and off or -off
for k = 1, 2 do
local f = new("Frame", {
AnchorPoint = Vector2.new(ax, ay), Position = UDim2.new(ax, px, ay, py),
Size = k == 1 and UDim2.fromOffset(len, th) or UDim2.fromOffset(th, len),
BackgroundColor3 = Color3.new(1, 1, 1), BackgroundTransparency = tr or 0.2, BorderSizePixel = 0, ZIndex = z or 1,
}, parent)
if accented then bindAccent(f, "BackgroundColor3") end
end
end
end
end
-- watermark: logo + fps + ping (top-left)
local Wm = new("Frame", {
Name = "Watermark", Position = UDim2.fromOffset(12, 12), Size = UDim2.fromOffset(0, 26),
AutomaticSize = Enum.AutomaticSize.X, BackgroundColor3 = Theme.BG, BackgroundTransparency = 0.25, BorderSizePixel = 0, ZIndex = 2,
}, Gui)
softGradient(Wm)
local WmLine = new("Frame", { AnchorPoint = Vector2.new(0, 1), Position = UDim2.fromScale(0, 1), Size = UDim2.new(1, 0, 0, 2), BorderSizePixel = 0 }, Wm)
bindAccent(WmLine, "BackgroundColor3")
local WmLabel = new("TextLabel", {
BackgroundTransparency = 1, Size = UDim2.fromOffset(0, 24), AutomaticSize = Enum.AutomaticSize.X,
Font = FONT_B, TextSize = 14, RichText = true, TextColor3 = Theme.Text, Text = "VenoRa",
}, Wm)
new("UIPadding", { PaddingLeft = UDim.new(0, 22), PaddingRight = UDim.new(0, 10) }, WmLabel)
local WmDot = new("Frame", { Position = UDim2.fromOffset(9, 10), Size = UDim2.fromOffset(6, 6), BorderSizePixel = 0 }, Wm)
round(WmDot)
bindAccent(WmDot, "BackgroundColor3")
bindAccent(new("UIStroke", { Thickness = 1, Transparency = 0.55 }, Wm), "Color")
local function logoText()
return 'VenoRa'
end
-- array list: enabled modules, top-right
local ArrayFrame = new("Frame", {
Name = "ArrayList", AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, -12, 0, 12),
Size = UDim2.fromOffset(0, 0), AutomaticSize = Enum.AutomaticSize.XY, BackgroundTransparency = 1, ZIndex = 2,
}, Gui)
new("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder, HorizontalAlignment = Enum.HorizontalAlignment.Right, Padding = UDim.new(0, 1) }, ArrayFrame)
local ArrayItems = {}
local ModOrder = {} -- toggles that appear in the array list
local function arrayRefresh()
ArrayFrame.Visible = Cfg.Menu.ArrayList
if not Cfg.Menu.ArrayList then return end
local names = {}
for i = 1, #ModOrder do
local c = ModOrder[i]
if Cfg[c.sec][c.key] then names[#names + 1] = Q.tr(c.name) end
end
table.sort(names, function(a, b) return #a > #b end)
for i = 1, #names do
local it = ArrayItems[i]
if not it then
it = new("TextLabel", {
BackgroundColor3 = Theme.BG, BackgroundTransparency = 0.35, BorderSizePixel = 0,
Size = UDim2.fromOffset(0, 18), AutomaticSize = Enum.AutomaticSize.X,
Font = FONT, TextSize = 13, TextColor3 = Theme.Text,
}, ArrayFrame)
softGradient(it)
GRAD.text[#GRAD.text + 1] = new("UIGradient", { Color = textSeq() }, it)
local bar = new("Frame", { AnchorPoint = Vector2.new(1, 0), Position = UDim2.fromScale(1, 0), Size = UDim2.new(0, 2, 1, 0), BorderSizePixel = 0 }, it)
bindAccent(bar, "BackgroundColor3")
ArrayItems[i] = it
end
it.Text = " " .. names[i] .. " "
it.LayoutOrder = i
it.Visible = true
end
for i = #names + 1, #ArrayItems do ArrayItems[i].Visible = false end
end
-- target HUD (shown while the aim assist holds a target)
local Hud = new("Frame", {
Name = "TargetHud", AnchorPoint = Vector2.new(0.5, 1), Position = UDim2.new(0.5, 0, 1, -150),
Size = UDim2.fromOffset(210, 46), BackgroundColor3 = Theme.BG, BackgroundTransparency = 0.2,
BorderSizePixel = 0, Visible = false, ZIndex = 2,
}, Gui)
softGradient(Hud)
decoBrackets(Hud, 9, 1, -3, true, 0.15, 3)
bindAccent(new("UIStroke", { Thickness = 1.2, Transparency = 0.3 }, Hud), "Color")
local HudName = mkLabel(Hud, "", 14, Theme.Text, true)
HudName.Position, HudName.Size = UDim2.fromOffset(10, 4), UDim2.new(1, -20, 0, 18)
local HudDist = mkLabel(Hud, "", 11, Theme.Dim, false, Enum.TextXAlignment.Right)
HudDist.Position, HudDist.Size = UDim2.fromOffset(10, 4), UDim2.new(1, -20, 0, 18)
local HudBg = new("Frame", { Position = UDim2.fromOffset(10, 30), Size = UDim2.new(1, -20, 0, 6), BackgroundColor3 = Theme.Item, BorderSizePixel = 0 }, Hud)
local HudFill = new("Frame", { Size = UDim2.fromScale(1, 1), BackgroundColor3 = Theme.Good, BorderSizePixel = 0 }, HudBg)
-- bar graph over a Perf ring buffer (frame time / ping). No images, only Frames; ~60 bars.
Theme.Amber = Color3.fromRGB(255, 190, 60)
function Q.buildGraph(parent, size, order)
local G = { bars = {}, n = Perf.GN, lastA = "", lastB = "" }
local box = new("Frame", { Size = size, BackgroundColor3 = Color3.fromRGB(9, 9, 12), BorderSizePixel = 0, ClipsDescendants = true, LayoutOrder = order or 0 }, parent)
round(box, 5)
bindAccent(new("UIStroke", { Thickness = 1, Transparency = 0.65 }, box), "Color")
local plot = new("Frame", { Size = UDim2.new(1, -8, 1, -8), Position = UDim2.fromOffset(4, 4), BackgroundTransparency = 1 }, box)
G.line = new("Frame", { Size = UDim2.new(1, 0, 0, 1), BackgroundColor3 = Color3.new(1, 1, 1), BackgroundTransparency = 0.72, BorderSizePixel = 0, ZIndex = 2 }, plot)
for k = 1, G.n do
G.bars[k] = new("Frame", {
AnchorPoint = Vector2.new(0, 1), Position = UDim2.new((k - 1) / G.n, 1, 1, 0), Size = UDim2.new(1 / G.n, -1, 0.02, 0),
BorderSizePixel = 0, BackgroundColor3 = Theme.Good,
}, plot)
end
G.tl = new("TextLabel", { BackgroundTransparency = 1, Position = UDim2.fromOffset(7, 2), Size = UDim2.new(0.5, -7, 0, 12), Font = FONT_B, TextSize = 10, TextColor3 = Theme.Dim, TextXAlignment = Enum.TextXAlignment.Left, Text = "", ZIndex = 4 }, box)
G.tr = new("TextLabel", { BackgroundTransparency = 1, Position = UDim2.new(0.5, 0, 0, 2), Size = UDim2.new(0.5, -7, 0, 12), Font = FONT_B, TextSize = 10, TextColor3 = Theme.Text, TextXAlignment = Enum.TextXAlignment.Right, Text = "", ZIndex = 4 }, box)
decoBrackets(box, 5, 1, 1, true, 0.3, 3)
G.box = box
-- buf = ring (Perf.gft / Perf.gping), Perf.gi = newest sample; maxV = full height; goodV/warnV = color limits
function G.draw(buf, maxV, goodV, warnV, textA, textB)
local gi, n = Perf.gi, G.n
for k = 1, n do
local v = buf[(gi + k - 1) % n + 1]
local bar = G.bars[k]
bar.Size = UDim2.new(1 / n, -1, math.clamp(v / maxV, 0.02, 1), 0)
local col = v <= goodV and Theme.Good or (v <= warnV and Theme.Amber or Theme.Bad)
if bar.BackgroundColor3 ~= col then bar.BackgroundColor3 = col end
end
G.line.Position = UDim2.new(0, 0, 1 - math.clamp(goodV / maxV, 0, 1), 0)
if G.lastA ~= textA then G.lastA = textA G.tl.Text = textA end
if G.lastB ~= textB then G.lastB = textB G.tr.Text = textB end
end
return G
end
-- performance HUD (top-left, under the watermark): numbers + a small frame-time graph
local perfHudUpdate
do
local PerfHud = new("Frame", {
Name = "PerfHud", Position = UDim2.fromOffset(12, 44), Size = UDim2.fromOffset(200, 0), AutomaticSize = Enum.AutomaticSize.Y,
BackgroundColor3 = Theme.BG, BackgroundTransparency = 0.25, BorderSizePixel = 0, Visible = false, ZIndex = 2,
}, Gui)
round(PerfHud, 6)
softGradient(PerfHud, 6)
bindAccent(new("UIStroke", { Thickness = 1, Transparency = 0.55 }, PerfHud), "Color")
new("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder, Padding = UDim.new(0, 2) }, PerfHud)
new("UIPadding", { PaddingTop = UDim.new(0, 6), PaddingBottom = UDim.new(0, 6), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8) }, PerfHud)
decoBrackets(PerfHud, 8, 2, -2, true, 0.15, 3)
local PerfHudLines = {}
for i = 1, 3 do
local l = mkLabel(PerfHud, "", 12, Theme.Text, true)
l.Size, l.LayoutOrder, l.RichText = UDim2.new(1, 0, 0, 14), i, true
PerfHudLines[i] = l
end
local PerfHudGraph = Q.buildGraph(PerfHud, UDim2.new(1, 0, 0, 36), 4)
local function perfColorHex(fps)
if fps >= 55 then return "6EF0AA" elseif fps >= 30 then return "FFBE3C" end
return "FF465A"
end
function perfHudUpdate()
local on = Cfg.Perf.Hud
if PerfHud.Visible ~= on then PerfHud.Visible = on end
if not on then return end
local hex = Q.Accent:ToHex()
PerfHudLines[1].Text = string.format('FPS %d AVG %d', hex, perfColorHex(Perf.fps), math.floor(Perf.fps + 0.5), hex, math.floor(Perf.avg + 0.5))
PerfHudLines[2].Text = string.format('1%% %d 0.1%% %d %.1f ms', hex, math.floor(Perf.low1 + 0.5), hex, math.floor(Perf.low01 + 0.5), Perf.ms)
PerfHudLines[3].Text = string.format('PING %d ms JIT %.0f', hex, math.floor(Perf.ping + 0.5), hex, Perf.jitter)
local showG = Cfg.Perf.HudGraph
if PerfHudGraph.box.Visible ~= showG then PerfHudGraph.box.Visible = showG end
if showG then
local mx = 0
for k = 1, Perf.GN do
if Perf.gft[k] > mx then mx = Perf.gft[k] end
end
PerfHudGraph.draw(Perf.gft, math.max(33.4, mx * 1.1), 16.8, 33.4, "FRAME TIME", string.format("%.1f ms", Perf.ms))
end
end
end -- do (performance HUD)
-- toast
local Toast = new("TextLabel", {
AnchorPoint = Vector2.new(0.5, 1), Position = UDim2.new(0.5, 0, 1, -50), Size = UDim2.fromOffset(0, 32),
AutomaticSize = Enum.AutomaticSize.X, BackgroundColor3 = Theme.BG, BackgroundTransparency = 1, TextTransparency = 1,
Font = FONT_B, TextSize = 14, TextColor3 = Theme.Text, Text = "", BorderSizePixel = 0, ZIndex = 5,
}, Gui)
new("UIPadding", { PaddingLeft = UDim.new(0, 18), PaddingRight = UDim.new(0, 18) }, Toast)
local ToastStroke = new("UIStroke", { Thickness = 1.2, Transparency = 1 }, Toast)
bindAccent(ToastStroke, "Color")
local toastToken = 0
local function notify(msg, force)
if not (force or Cfg.Menu.Notify) then return end
toastToken = toastToken + 1
local mine = toastToken
Toast.Text = Q.tr(msg)
tween(Toast, 0.18, { BackgroundTransparency = 0.12, TextTransparency = 0 })
tween(ToastStroke, 0.18, { Transparency = 0.2 })
task.delay(2.4, function()
if mine == toastToken and Q.Alive then
tween(Toast, 0.3, { BackgroundTransparency = 1, TextTransparency = 1 })
tween(ToastStroke, 0.3, { Transparency = 1 })
end
end)
end
local function remount()
for step = 1, #Containers do
local i = (contIdx + step - 1) % #Containers + 1
if mountAt(i) then
contIdx = i
pcall(function() ESP.folder.Parent = Gui.Parent end)
notify("GUI container: " .. Containers[i][1], true)
return
end
end
end
-- ---------------------------------------------------------------- menu root (panels live here)
local Dim = new("Frame", { Name = "Dim", Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.fromRGB(5, 5, 7), BackgroundTransparency = 0.55, BorderSizePixel = 0, Visible = false, ZIndex = 0 }, Gui)
-- Background blur: a BlurEffect in Lighting that eases in when the menu opens and out when it closes.
-- It only blurs the 3D world, never the menu itself, and is switched off completely while closed.
Q.blur = new("BlurEffect", { Name = "VR_MenuBlur", Size = 0, Enabled = false }, Lighting)
Q.blurToken = 0
function Q.blurTo(size, dur)
local b = Q.blur
if not b or not b.Parent then return end
Q.blurToken = Q.blurToken + 1
local mine = Q.blurToken
if size > 0 then b.Enabled = true end
tween(b, dur or 0.45, { Size = size }, Enum.EasingStyle.Quad)
if size <= 0 then
task.delay((dur or 0.45) + 0.05, function()
if mine == Q.blurToken and Q.Alive and b.Parent then b.Enabled = false end
end)
end
end
-- Animated menu backdrop: fixed UI-only pool, no image assets or extra engine loops.
local MenuBG = { dots = {}, glows = {}, glowSize = {}, opacity = 45 }
local DimGradient = new("UIGradient", {
Rotation = 90,
Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(5, 5, 7)),
ColorSequenceKeypoint.new(1, Q.Accent:Lerp(Color3.fromRGB(5, 5, 7), 0.84)),
}),
}, Dim)
local function updateMenuBGAccent()
local darkAccent = Q.Accent:Lerp(Color3.fromRGB(5, 5, 7), 0.84)
DimGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(5, 5, 7)),
ColorSequenceKeypoint.new(1, darkAccent),
})
for i = 1, #MenuBG.glows do
MenuBG.glows[i].BackgroundColor3 = Q.Accent
end
for i = 1, #MenuBG.dots do
MenuBG.dots[i].BackgroundColor3 = Q.Accent
end
end
-- Large, soft accent glows in opposite corners.
for i = 1, 2 do
local glow = new("Frame", {
Name = "AccentGlow" .. i,
AnchorPoint = Vector2.new(0.5, 0.5),
Position = i == 1 and UDim2.fromScale(0.12, 0.18) or UDim2.fromScale(0.88, 0.82),
Size = UDim2.fromOffset(i == 1 and 330 or 390, i == 1 and 330 or 390),
BackgroundColor3 = Q.Accent,
BackgroundTransparency = 0.91,
BorderSizePixel = 0,
ZIndex = 0,
}, Dim)
round(glow)
new("UIStroke", { Enabled = false }, glow)
MenuBG.glows[i] = glow
MenuBG.glowSize[i] = i == 1 and 330 or 390
end
-- Fixed sparkle pool; positions and speeds are retained and only updated in RenderStepped.
for i = 1, 32 do
local size = math.random(2, 4)
local x = math.random()
local y = math.random()
local dot = new("Frame", {
Name = "Sparkle" .. i,
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.fromScale(x, y),
Size = UDim2.fromOffset(size, size),
BackgroundColor3 = Q.Accent,
BackgroundTransparency = math.random(45, 78) / 100,
BorderSizePixel = 0,
ZIndex = 0,
}, Dim)
round(dot)
MenuBG.dots[i] = {
ui = dot, x = x, y = y,
speed = math.random(5, 14) / 100,
base = dot.BackgroundTransparency,
phase = math.random() * 6.28,
}
end
-- Edge vignette, built as transparent gradient frames.
local VignetteTop = new("Frame", {
Name = "VignetteTop", Size = UDim2.new(1, 0, 0, 150),
BackgroundColor3 = Color3.new(0, 0, 0), BackgroundTransparency = 0,
BorderSizePixel = 0, ZIndex = 0,
}, Dim)
new("UIGradient", {
Rotation = 90,
Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.18),
NumberSequenceKeypoint.new(1, 1),
}),
}, VignetteTop)
local VignetteBottom = new("Frame", {
Name = "VignetteBottom", AnchorPoint = Vector2.new(0, 1),
Position = UDim2.fromScale(0, 1), Size = UDim2.new(1, 0, 0, 170),
BackgroundColor3 = Color3.new(0, 0, 0), BorderSizePixel = 0, ZIndex = 0,
}, Dim)
new("UIGradient", {
Rotation = 270,
Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.18),
NumberSequenceKeypoint.new(1, 1),
}),
}, VignetteBottom)
local VignetteLeft = new("Frame", {
Name = "VignetteLeft", Size = UDim2.new(0, 130, 1, 0),
BackgroundColor3 = Color3.new(0, 0, 0), BorderSizePixel = 0, ZIndex = 0,
}, Dim)
new("UIGradient", {
Rotation = 0,
Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.2),
NumberSequenceKeypoint.new(1, 1),
}),
}, VignetteLeft)
local VignetteRight = new("Frame", {
Name = "VignetteRight", AnchorPoint = Vector2.new(1, 0),
Position = UDim2.fromScale(1, 0), Size = UDim2.new(0, 130, 1, 0),
BackgroundColor3 = Color3.new(0, 0, 0), BorderSizePixel = 0, ZIndex = 0,
}, Dim)
new("UIGradient", {
Rotation = 180,
Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.2),
NumberSequenceKeypoint.new(1, 1),
}),
}, VignetteRight)
-- ---------------------------------------------------------------- detailed screen decoration
-- grid + plus markers, light rays, scan beam, radar rings, pulsing glow rings, HUD frame (brackets,
-- edge lines, ruler ticks), bottom info line. Static frames are cheap; only a handful are animated.
local Deco = { rays = {}, rings = {}, radars = {} }
Deco.layer = new("Frame", { Name = "Deco", Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0, ZIndex = 0 }, Dim)
do
local L = Deco.layer
local W = Color3.new(1, 1, 1)
for i = 1, 31 do
new("Frame", { Position = UDim2.fromScale(i / 32, 0), Size = UDim2.new(0, 1, 1, 0), BackgroundColor3 = W,
BackgroundTransparency = (i % 4 == 0) and 0.955 or 0.978, BorderSizePixel = 0, ZIndex = 0 }, L)
end
for i = 1, 17 do
new("Frame", { Position = UDim2.fromScale(0, i / 18), Size = UDim2.new(1, 0, 0, 1), BackgroundColor3 = W,
BackgroundTransparency = (i % 3 == 0) and 0.955 or 0.978, BorderSizePixel = 0, ZIndex = 0 }, L)
end
for ix = 4, 28, 4 do
for iy = 3, 15, 3 do
local pos = UDim2.fromScale(ix / 32, iy / 18)
new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = pos, Size = UDim2.fromOffset(9, 1), BackgroundColor3 = W, BackgroundTransparency = 0.8, BorderSizePixel = 0, ZIndex = 0 }, L)
new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = pos, Size = UDim2.fromOffset(1, 9), BackgroundColor3 = W, BackgroundTransparency = 0.8, BorderSizePixel = 0, ZIndex = 0 }, L)
end
end
for i = 1, 4 do -- light rays
local f = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.15 + i * 0.2, 0.5),
Size = UDim2.new(0, 70 + i * 34, 2, 0), Rotation = 22, BackgroundColor3 = W, BorderSizePixel = 0, ZIndex = 0 }, L)
new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0.95), NumberSequenceKeypoint.new(1, 1) }) }, f)
Deco.rays[i] = { f = f, x = 0.15 + i * 0.2, sp = 0.008 + i * 0.003 }
end
Deco.beam = new("Frame", { Size = UDim2.new(1, 0, 0, 60), Position = UDim2.fromScale(0, -0.2), BackgroundColor3 = Q.Accent, BorderSizePixel = 0, ZIndex = 0 }, L)
bindAccent(Deco.beam, "BackgroundColor3")
new("UIGradient", { Rotation = 90, Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0.94), NumberSequenceKeypoint.new(1, 1) }) }, Deco.beam)
for i = 1, 2 do -- radar rings in the middle of the screen
local d = i == 1 and 640 or 410
local base = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(d, d), BackgroundTransparency = 1, BorderSizePixel = 0, ZIndex = 0 }, L)
round(base)
new("UIStroke", { Thickness = 1, Color = W, Transparency = 0.94 }, base)
local arc = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(d, d), BackgroundTransparency = 1, BorderSizePixel = 0, ZIndex = 0 }, L)
round(arc)
local st = new("UIStroke", { Thickness = 2, Transparency = 0 }, arc)
bindAccent(st, "Color")
local g = new("UIGradient", { Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.55, 1), NumberSequenceKeypoint.new(0.85, 0.7), NumberSequenceKeypoint.new(1, 0.15),
}) }, st)
Deco.radars[i] = { g = g, sp = i == 1 and 22 or -34 }
end
for gi = 1, #MenuBG.glows do -- pulsing rings around each glow
for k = 1, 3 do
local f = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0, ZIndex = 0 }, MenuBG.glows[gi])
round(f)
local st = new("UIStroke", { Thickness = 1.5, Transparency = 0.8 }, f)
bindAccent(st, "Color")
Deco.rings[#Deco.rings + 1] = { f = f, st = st, off = k / 3 + gi * 0.17 }
end
end
for side = 0, 1 do -- HUD frame: edge lines, brackets, ruler ticks
local ln = new("Frame", { AnchorPoint = Vector2.new(0, side), Position = UDim2.new(0, 0, side, side == 0 and 3 or -3), Size = UDim2.new(1, 0, 0, 1), BorderSizePixel = 0, ZIndex = 0 }, L)
bindAccent(ln, "BackgroundColor3")
new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0.3), NumberSequenceKeypoint.new(1, 1) }) }, ln)
for i = 0, 35 do
local tall = i % 5 == 0
new("Frame", { AnchorPoint = Vector2.new(0.5, side), Position = UDim2.new(i / 35, 0, side, side == 0 and 5 or -5),
Size = UDim2.fromOffset(1, tall and 7 or 3), BackgroundColor3 = W, BackgroundTransparency = tall and 0.78 or 0.9, BorderSizePixel = 0, ZIndex = 0 }, L)
end
for i = 1, 19 do
local tall = i % 4 == 0
new("Frame", { AnchorPoint = Vector2.new(side, 0.5), Position = UDim2.new(side, side == 0 and 5 or -5, i / 20, 0),
Size = UDim2.fromOffset(tall and 7 or 3, 1), BackgroundColor3 = W, BackgroundTransparency = tall and 0.78 or 0.9, BorderSizePixel = 0, ZIndex = 0 }, L)
end
end
decoBrackets(L, 36, 2, 10, true, 0.15, 0)
Deco.info = new("TextLabel", { AnchorPoint = Vector2.new(0.5, 1), Position = UDim2.new(0.5, 0, 1, -16), Size = UDim2.fromOffset(520, 16),
BackgroundTransparency = 1, Font = FONT_B, TextSize = 11, TextColor3 = W, TextTransparency = 0.2, ZIndex = 0 }, L)
Q.bind(Deco.info, "VENORA CLIENT // RIGHT CLICK A MODULE = HOTKEY")
GRAD.text[#GRAD.text + 1] = new("UIGradient", { Color = textSeq() }, Deco.info)
for side = 0, 1 do
local d = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(0.5, side == 0 and -272 or 272, 1, -24), Size = UDim2.fromOffset(6, 6), Rotation = 45, BorderSizePixel = 0, ZIndex = 0 }, L)
bindAccent(d, "BackgroundColor3")
end
end
function Deco.step(dt, t)
for i = 1, #Deco.rays do
local r = Deco.rays[i]
r.x = r.x + r.sp * dt
if r.x > 1.3 then r.x = -0.3 end
r.f.Position = UDim2.fromScale(r.x, 0.5)
end
Deco.beam.Position = UDim2.new(0, 0, ((t * 0.08) % 1.3) - 0.15, 0)
for i = 1, #Deco.radars do
local rd = Deco.radars[i]
rd.g.Rotation = (t * rd.sp) % 360
end
for i = 1, #Deco.rings do
local rg = Deco.rings[i]
local ph = (t * 0.22 + rg.off) % 1
local sc = 0.55 + ph * 1.15
rg.f.Size = UDim2.fromScale(sc, sc)
rg.st.Transparency = 0.5 + ph * 0.5
end
end
local function setMenuBGEnabled(on)
DimGradient.Enabled = on
Deco.layer.Visible = on
for i = 1, #MenuBG.glows do MenuBG.glows[i].Visible = on end
for i = 1, #MenuBG.dots do MenuBG.dots[i].ui.Visible = on end
VignetteTop.Visible, VignetteBottom.Visible = on, on
VignetteLeft.Visible, VignetteRight.Visible = on, on
end
local function setMenuBGOpacity(value)
MenuBG.opacity = math.clamp(tonumber(value) or 45, 0, 100)
Dim.BackgroundTransparency = 1 - (MenuBG.opacity / 100)
local strength = MenuBG.opacity / 100
for i = 1, #MenuBG.glows do
MenuBG.glows[i].BackgroundTransparency = 1 - (0.09 * strength)
end
end
registerRefresh(updateMenuBGAccent)
local Root = new("Frame", { Name = "Root", Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0, Visible = false }, Gui)
local RootScale = new("UIScale", { Scale = 1 }, Root)
new("TextButton", { Name = "FreeCursor", Modal = true, Text = "", BackgroundTransparency = 1, Size = UDim2.fromOffset(0, 0) }, Root)
-- logo at the top: two thin lines + "VenoRa"
local Logo = new("Frame", { Name = "Logo", AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 8), Size = UDim2.fromOffset(420, 40), BackgroundTransparency = 1 }, Root)
local LogoText = new("TextLabel", {
AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(160, 40),
BackgroundTransparency = 1, Font = FONT_B, TextSize = 32, RichText = true, TextColor3 = Theme.Text, Text = "VenoRa",
}, Logo)
for side = 0, 1 do
local ln = new("Frame", { AnchorPoint = Vector2.new(side, 0.5), Position = UDim2.new(side, 0, 0.5, 0), Size = UDim2.fromOffset(110, 2), BorderSizePixel = 0 }, Logo)
bindAccent(ln, "BackgroundColor3")
new("UIGradient", { Transparency = NumberSequence.new(side == 0 and 0.85 or 0, side == 0 and 0 or 0.85) }, ln)
end
local LogoRule = new("Frame", {
Name = "LogoAccentRule", AnchorPoint = Vector2.new(0.5, 0),
Position = UDim2.new(0.5, 0, 1, 1), Size = UDim2.fromOffset(260, 1),
BackgroundColor3 = Q.Accent, BorderSizePixel = 0, ZIndex = 2,
}, Logo)
local LogoRuleGradient = new("UIGradient", {
Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 1),
NumberSequenceKeypoint.new(0.18, 0.08),
NumberSequenceKeypoint.new(0.82, 0.08),
NumberSequenceKeypoint.new(1, 1),
}),
}, LogoRule)
bindAccent(LogoRule, "BackgroundColor3")
local LogoGlow = new("TextLabel", {
AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(0.5, 0, 0.5, 2), Size = UDim2.fromOffset(160, 40),
BackgroundTransparency = 1, Font = FONT_B, TextSize = 32, TextColor3 = Q.Accent, TextTransparency = 0.72, Text = "VenoRa", ZIndex = 0,
}, Logo)
bindAccent(LogoGlow, "TextColor3")
for side = 0, 1 do
local dmd = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(side, side == 0 and 118 or -118, 0.5, 0), Size = UDim2.fromOffset(8, 8), Rotation = 45, BorderSizePixel = 0 }, Logo)
bindAccent(dmd, "BackgroundColor3")
end
local LogoVer = mkLabel(Logo, "v" .. VERSION, 11, Theme.Dim, false, Enum.TextXAlignment.Center)
LogoVer.AnchorPoint, LogoVer.Position, LogoVer.Size = Vector2.new(0.5, 0), UDim2.new(0.5, 0, 1, -4), UDim2.fromOffset(160, 14)
registerRefresh(function()
LogoText.Text = logoText()
WmLabel.Text = logoText() .. (Q.wmTail or "")
end)
-- search: type to filter modules in every panel
local SearchBox = new("TextBox", {
Name = "Search", AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 56), Size = UDim2.fromOffset(240, 26),
BackgroundColor3 = Theme.Panel, BorderSizePixel = 0, Text = "", PlaceholderText = "Search modules...", PlaceholderColor3 = Theme.Dim,
TextColor3 = Theme.Text, Font = FONT, TextSize = 13, ClearTextOnFocus = false,
}, Root)
round(SearchBox, 13)
softGradient(SearchBox)
bindAccent(new("UIStroke", { Thickness = 1, Transparency = 0.5 }, SearchBox), "Color")
Q.bind(SearchBox, "Search modules...", nil, "PlaceholderText")
-- ---------------------------------------------------------------- panels
local Panels, zTop = {}, 1
local Search = { items = {}, q = "" }
local function makePanel(title, x, y, w)
local P = { n = 0, title = title }
local frame = new("Frame", {
Name = title, Position = UDim2.fromOffset(x, y), Size = UDim2.fromOffset(w or 176, 0),
AutomaticSize = Enum.AutomaticSize.Y, BackgroundColor3 = Theme.Panel, BorderSizePixel = 0, ZIndex = 1,
}, Root)
P.frame = frame
panelGradient(frame)
local glow = new("Frame", {
Name = title .. "Glow", BorderSizePixel = 0, ZIndex = 0, Active = false, BackgroundTransparency = 0.88,
}, Root)
round(glow, 16)
bindAccent(glow, "BackgroundColor3")
decoBrackets(glow, 12, 2, 0, true, 0.1, 1)
P.glowStroke = new("UIStroke", { Thickness = 14, Transparency = 0.88 }, glow)
bindAccent(P.glowStroke, "Color")
local function syncGlow()
local s = RootScale.Scale
local ap, as = frame.AbsolutePosition, frame.AbsoluteSize
glow.Position = UDim2.fromOffset(ap.X / s - 4, ap.Y / s - 4)
glow.Size = UDim2.fromOffset(as.X / s + 8, as.Y / s + 8)
if glow.Visible ~= frame.Visible then glow.Visible = frame.Visible end
end
track(frame:GetPropertyChangedSignal("AbsolutePosition"):Connect(syncGlow))
track(frame:GetPropertyChangedSignal("AbsoluteSize"):Connect(syncGlow))
track(frame:GetPropertyChangedSignal("Visible"):Connect(syncGlow))
P.syncGlow = syncGlow
P.home = UDim2.fromOffset(x, y)
P.mods = {}
round(frame, 8)
P.scale = new("UIScale", { Scale = 1 }, frame)
P.stroke = new("UIStroke", { Thickness = 1.2, Transparency = 0.55 }, frame)
bindAccent(P.stroke, "Color")
new("UIGradient", { Rotation = 90, Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0.7) }) }, P.stroke)
new("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder }, frame)
local head = new("Frame", { Size = UDim2.new(1, 0, 0, 28), BackgroundColor3 = Theme.Head, BorderSizePixel = 0, LayoutOrder = 1 }, frame)
round(head, 8)
softGradient(head)
local ttl = mkLabel(head, title, 14, Theme.Text, true)
ttl.Position, ttl.Size = UDim2.fromOffset(10, 0), UDim2.new(1, -60, 1, 0)
GRAD.text[#GRAD.text + 1] = new("UIGradient", { Color = textSeq() }, ttl)
local badge = mkLabel(head, "", 12, Theme.Text, true, Enum.TextXAlignment.Right)
badge.Position, badge.Size = UDim2.new(1, -66, 0, 0), UDim2.new(0, 50, 1, 0)
bindAccent(badge, "TextColor3")
function P.updateBadge() -- number of enabled modules in this panel
local n = 0
for i = 1, #P.mods do
local c = P.mods[i]
if Cfg[c.sec][c.key] then n = n + 1 end
end
badge.Text = n > 0 and tostring(n) or ""
end
local sq = new("TextButton", {
AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -8, 0.5, 0), Size = UDim2.fromOffset(12, 12),
Text = "", AutoButtonColor = false, BorderSizePixel = 0,
}, head)
round(sq, 3)
bindAccent(sq, "BackgroundColor3")
P.line = new("Frame", { Size = UDim2.new(1, 0, 0, 2), BorderSizePixel = 0, LayoutOrder = 2 }, frame)
bindAccent(P.line, "BackgroundColor3")
P.lineGrad = new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(0.5, 0), NumberSequenceKeypoint.new(1, 0.75) }) }, P.line)
local body = new("Frame", { Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, LayoutOrder = 3 }, frame)
new("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder, Padding = UDim.new(0, 2) }, body)
new("UIPadding", { PaddingTop = UDim.new(0, 4), PaddingBottom = UDim.new(0, 4), PaddingLeft = UDim.new(0, 4), PaddingRight = UDim.new(0, 4) }, body)
P.body = body
local function toggleCollapse()
body.Visible = not body.Visible
sq.BackgroundTransparency = body.Visible and 0 or 0.6
end
sq.MouseButton1Click:Connect(toggleCollapse)
head.InputBegan:Connect(function(input)
local ut = input.UserInputType
if ut == Enum.UserInputType.MouseButton1 or ut == Enum.UserInputType.Touch then
zTop = zTop + 1
frame.ZIndex = zTop
Input.drag = { frame = frame, off = frame.AbsolutePosition - UserInputService:GetMouseLocation() }
elseif ut == Enum.UserInputType.MouseButton2 then
toggleCollapse()
end
end)
Panels[#Panels + 1] = P
return P
end
--========================================================================
-- [SECTION 7] UI CONTROLS (the ONLY way to add settings to the menu)
--========================================================================
local OFF_TEXT = Color3.fromRGB(200, 200, 208)
local ROW_H = 22
local Mods = {} -- "Section.Key" -> toggle control (for hotkeys)
local function prettyKey(n)
n = tostring(n or "None")
n = n:gsub("MouseButton", "Mouse"):gsub("Left", "L"):gsub("Right", "R"):gsub("Control", "Ctrl")
return n
end
local function nextOrder(P)
P.n = P.n + 1
return P.n
end
-- smooth color change while the menu is open, instant otherwise
local function recolor(inst, prop, col)
if Q.Open and Q.Alive then
tween(inst, 0.14, { [prop] = col }, Enum.EasingStyle.Quad)
else
inst[prop] = col
end
end
local function newRow(P, h)
local b = new("TextButton", {
Size = UDim2.new(1, 0, 0, h or ROW_H), BackgroundColor3 = Theme.Item, BorderSizePixel = 0,
AutoButtonColor = false, Text = "", LayoutOrder = nextOrder(P),
}, P.body)
round(b, 5)
softGradient(b)
return b
end
local function regSearch(P, name, row, isSection)
Search.items[#Search.items + 1] = { name = string.lower(name), key = name, row = row, panel = P, section = isSection }
end
local function applySearch()
local q = Q.lowerRu(SearchBox.Text)
Search.q = q
local shown = {}
for i = 1, #Search.items do
local it = Search.items[i]
local ok
if it.section then ok = (q == "") else ok = (q == "") or string.find(it.name, q, 1, true) ~= nil or string.find(Q.lowerRu(Q.tr(it.key)), q, 1, true) ~= nil end
if it.row.Visible ~= ok then it.row.Visible = ok end
if ok and not it.section then shown[it.panel] = true end
end
for i = 1, #Panels do
local P = Panels[i]
local vis = ((q == "") or shown[P] == true) and not P.hidden
if P.frame.Visible ~= vis then P.frame.Visible = vis end
end
end
SearchBox:GetPropertyChangedSignal("Text"):Connect(applySearch)
local function hoverable(btn, isOn)
btn.MouseEnter:Connect(function()
if not isOn() then recolor(btn, "BackgroundColor3", Theme.Hover) end
end)
btn.MouseLeave:Connect(function()
if not isOn() then recolor(btn, "BackgroundColor3", Theme.Item) end
end)
end
-- listen for the next key / mouse button; calls done(name) or done(nil) on Escape
local function listenKey(label, done, allowMouse)
label.Text = "..."
Input.listening = function(input)
local ut = input.UserInputType
local name
if ut == Enum.UserInputType.Keyboard then
name = input.KeyCode.Name
elseif allowMouse and (ut == Enum.UserInputType.MouseButton2 or ut == Enum.UserInputType.MouseButton3) then
name = ut.Name
else
return false
end
Input.listening = nil
if name == "Escape" then done(nil) else done(name) end
return true
end
end
-- small caps divider inside a panel ("AIM", "FILTERS", ...)
local function addSection(P, text)
local l = mkLabel(P.body, "", 10, Theme.Dim, true)
l.Size, l.LayoutOrder = UDim2.new(1, 0, 0, 15), nextOrder(P)
Q.bind(l, text, function(t) return " " .. Q.upper(t) end)
regSearch(P, text, l, true)
return l
end
local function addToggle(P, name, sec, key, onChange, listed)
local id = sec .. "." .. key
local btn = newRow(P)
local lbl = mkLabel(btn, name, 13, OFF_TEXT, false, Enum.TextXAlignment.Center)
lbl.Size = UDim2.fromScale(1, 1)
local glowSt = new("UIStroke", { Thickness = 1.2, Transparency = 1, Color = Color3.new(1, 1, 1), ApplyStrokeMode = Enum.ApplyStrokeMode.Border }, btn)
local bindLbl = mkLabel(btn, "", 11, Theme.Dim, false, Enum.TextXAlignment.Right)
bindLbl.Position, bindLbl.Size = UDim2.fromOffset(0, 0), UDim2.new(1, -6, 1, 0)
local c = { sec = sec, key = key, name = name, btn = btn }
Mods[id] = c
if listed then
ModOrder[#ModOrder + 1] = c
P.mods[#P.mods + 1] = c
end
regSearch(P, name, btn)
local function paint()
local on = Cfg[sec][key]
recolor(btn, "BackgroundColor3", on and Q.Accent or Theme.Item)
lbl.TextColor3 = on and Color3.new(1, 1, 1) or OFF_TEXT
lbl.Font = on and FONT_B or FONT
local b = Cfg.Binds[id]
bindLbl.Text = b and ("[" .. prettyKey(b) .. "]") or ""
bindLbl.TextColor3 = on and Color3.new(1, 1, 1) or Theme.Dim
glowSt.Transparency = on and 0.55 or 1
P.updateBadge()
end
c.paint = paint
function c.set(v)
Cfg[sec][key] = v
paint()
if onChange then guard("toggle " .. id, onChange, v) end
arrayRefresh()
end
btn.MouseButton1Click:Connect(function() c.set(not Cfg[sec][key]) end)
btn.MouseButton2Click:Connect(function() -- right click = bind a hotkey
notify(Q.tr("Press a key for %s (Esc = clear)"):format(Q.tr(name)), true)
listenKey(bindLbl, function(n)
Cfg.Binds[id] = n
paint()
notify(n and Q.tr("%s bound to %s"):format(Q.tr(name), prettyKey(n)) or Q.tr("%s unbound"):format(Q.tr(name)), true)
end, true)
end)
hoverable(btn, function() return Cfg[sec][key] end)
registerRefresh(paint)
paint()
return c
end
local function addChoice(P, name, sec, key, options, onChange)
local btn = newRow(P)
local l = mkLabel(btn, name, 13, OFF_TEXT)
l.Position, l.Size = UDim2.fromOffset(8, 0), UDim2.new(0.5, -8, 1, 0)
local v = mkLabel(btn, "", 13, Theme.Text, true, Enum.TextXAlignment.Right)
v.Position, v.Size = UDim2.fromScale(0.4, 0), UDim2.new(0.6, -8, 1, 0)
bindAccent(v, "TextColor3")
regSearch(P, name, btn)
local function paint() v.Text = Q.tr(tostring(Cfg[sec][key])) end
local function step(d)
local cur = 1
for i = 1, #options do
if options[i] == Cfg[sec][key] then cur = i end
end
Cfg[sec][key] = options[(cur - 1 + d) % #options + 1]
paint()
if onChange then guard("choice " .. key, onChange, Cfg[sec][key]) end
end
btn.MouseButton1Click:Connect(function() step(1) end)
btn.MouseButton2Click:Connect(function() step(-1) end)
hoverable(btn, function() return false end)
registerRefresh(paint)
paint()
end
local function addKeybind(P, name, sec, key, onChange)
local btn = newRow(P)
local l = mkLabel(btn, name, 13, OFF_TEXT)
l.Position, l.Size = UDim2.fromOffset(8, 0), UDim2.new(0.6, -8, 1, 0)
local v = mkLabel(btn, "", 13, Theme.Text, true, Enum.TextXAlignment.Right)
v.Position, v.Size = UDim2.fromScale(0.4, 0), UDim2.new(0.6, -8, 1, 0)
bindAccent(v, "TextColor3")
regSearch(P, name, btn)
local function paint() v.Text = "[" .. prettyKey(Cfg[sec][key]) .. "]" end
btn.MouseButton1Click:Connect(function()
listenKey(v, function(n)
if n then
Cfg[sec][key] = n
if onChange then guard("key " .. key, onChange, n) end
end
paint()
end, true)
end)
hoverable(btn, function() return false end)
registerRefresh(paint)
paint()
end
local function addSlider(P, name, sec, key, min, max, step, fmt, onChange)
local btn = newRow(P)
local fill = new("Frame", { Size = UDim2.fromScale(0, 1), BorderSizePixel = 0, BackgroundTransparency = 0.3 }, btn)
round(fill, 5)
bindAccent(fill, "BackgroundColor3")
new("Frame", { AnchorPoint = Vector2.new(1, 0), Position = UDim2.fromScale(1, 0), Size = UDim2.new(0, 2, 1, 0), BackgroundColor3 = Color3.new(1, 1, 1), BackgroundTransparency = 0.35, BorderSizePixel = 0 }, fill)
local l = mkLabel(btn, name, 13, Theme.Text)
l.Position, l.Size, l.ZIndex = UDim2.fromOffset(8, 0), UDim2.new(0.6, -8, 1, 0), 2
local v = mkLabel(btn, "", 12, Theme.Text, true, Enum.TextXAlignment.Right)
v.Position, v.Size, v.ZIndex = UDim2.fromScale(0.4, 0), UDim2.new(0.6, -8, 1, 0), 2
regSearch(P, name, btn)
local function paint()
local val = Cfg[sec][key]
fill.Size = UDim2.fromScale(math.clamp((val - min) / (max - min), 0, 1), 1)
v.Text = string.format(Q.tr(fmt), math.floor(val + 0.5))
end
local function setFromX(x)
local r = math.clamp((x - btn.AbsolutePosition.X) / math.max(btn.AbsoluteSize.X, 1), 0, 1)
local val = math.clamp(math.floor((min + r * (max - min)) / step + 0.5) * step, min, max)
if val ~= Cfg[sec][key] then
Cfg[sec][key] = val
paint()
if onChange then guard("slider " .. key, onChange, val) end
end
end
btn.InputBegan:Connect(function(input)
local ut = input.UserInputType
if ut == Enum.UserInputType.MouseButton1 or ut == Enum.UserInputType.Touch then
Input.slider = setFromX
setFromX(UserInputService:GetMouseLocation().X)
end
end)
hoverable(btn, function() return false end)
registerRefresh(paint)
paint()
end
local function addButtons(P, defs)
local holder = new("Frame", { Size = UDim2.new(1, 0, 0, ROW_H), BackgroundTransparency = 1, LayoutOrder = nextOrder(P) }, P.body)
new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 2), SortOrder = Enum.SortOrder.LayoutOrder }, holder)
local n = #defs
for i, d in ipairs(defs) do
local base = d.danger and Color3.fromRGB(70, 14, 28) or Theme.Item
local b = new("TextButton", {
Size = UDim2.new(1 / n, -2 * (n - 1) / n, 1, 0), BackgroundColor3 = base,
BorderSizePixel = 0, AutoButtonColor = false, Text = Q.tr(d.text), Font = FONT, TextSize = 13,
TextColor3 = d.danger and Theme.Bad or Theme.Text, LayoutOrder = i,
}, holder)
round(b, 5)
softGradient(b)
Q.bind(b, d.text)
b.MouseEnter:Connect(function() recolor(b, "BackgroundColor3", d.danger and Color3.fromRGB(100, 20, 40) or Theme.Hover) end)
b.MouseLeave:Connect(function() recolor(b, "BackgroundColor3", base) end)
b.MouseButton1Click:Connect(function() guard("button " .. d.text, d.fn) end)
end
end
local function addLabel(P, text)
local l = mkLabel(P.body, text, 11, Theme.Dim, false, Enum.TextXAlignment.Center)
l.Size, l.LayoutOrder, l.TextWrapped = UDim2.new(1, 0, 0, 16), nextOrder(P), true
return l
end
-- scrolling selectable list; L.set(items, selectedIndex)
local function addList(P, height, onSelect)
local sf = new("ScrollingFrame", {
Size = UDim2.new(1, 0, 0, height), BackgroundColor3 = Color3.fromRGB(18, 18, 21), BorderSizePixel = 0,
ScrollBarThickness = 3, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = UDim2.new(), LayoutOrder = nextOrder(P),
}, P.body)
round(sf, 5)
bindAccent(sf, "ScrollBarImageColor3")
new("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder, Padding = UDim.new(0, 1) }, sf)
local L = {}
function L.set(items, sel, good) -- good[i] = true draws item i in green (friends)
for _, c in ipairs(sf:GetChildren()) do
if c:IsA("GuiObject") then c:Destroy() end
end
if #items == 0 then
local e = mkLabel(sf, "", 12, Theme.Dim, false, Enum.TextXAlignment.Center)
e.Text = Q.tr("(empty)")
e.Size = UDim2.new(1, 0, 0, 20)
return
end
for i, text in ipairs(items) do
local b = new("TextButton", {
Size = UDim2.new(1, -4, 0, 20), BackgroundColor3 = (i == sel) and Q.Accent or Theme.Item, BorderSizePixel = 0,
AutoButtonColor = false, Text = " " .. text, Font = FONT, TextSize = 12, TextXAlignment = Enum.TextXAlignment.Left,
TextColor3 = (i == sel) and Color3.new(1, 1, 1) or ((good and good[i]) and Theme.Good or OFF_TEXT), LayoutOrder = i, TextTruncate = Enum.TextTruncate.AtEnd,
}, sf)
round(b, 4)
b.MouseButton1Click:Connect(function() onSelect(i) end)
end
end
return L
end
local UI = {} -- extra panel widgets (kept in one table: the main function is near the 200-locals limit)
-- read-only "name ........ value" row; I.set(text, color)
local function addInfo(P, name)
local row = new("Frame", { Size = UDim2.new(1, 0, 0, 18), BackgroundTransparency = 1, LayoutOrder = nextOrder(P) }, P.body)
local l = mkLabel(row, name, 12, Theme.Dim)
l.Position, l.Size = UDim2.fromOffset(8, 0), UDim2.new(0.5, -8, 1, 0)
local v = mkLabel(row, "", 12, Theme.Text, true, Enum.TextXAlignment.Right)
v.Position, v.Size = UDim2.fromScale(0.3, 0), UDim2.new(0.7, -8, 1, 0)
v.TextTruncate = Enum.TextTruncate.AtEnd
regSearch(P, name, row)
local I = { row = row, last = "" }
function I.set(text, col)
if I.last ~= text then
I.last = text
v.Text = text
end
local c = col or Theme.Text
if I.col ~= c then
I.col = c
v.TextColor3 = c
end
end
return I
end
-- graph row inside a panel
function UI.graph(P, height)
local G = Q.buildGraph(P.body, UDim2.new(1, 0, 0, height), nextOrder(P))
return G
end
-- accent preview bar (shows the current color and its hex code)
function UI.preview(P)
local f = new("Frame", { Size = UDim2.new(1, 0, 0, 28), BorderSizePixel = 0, LayoutOrder = nextOrder(P) }, P.body)
round(f, 6)
bindAccent(f, "BackgroundColor3")
new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0.6) }) }, f)
decoBrackets(f, 6, 1, 2, false, 0.3, 3)
local l = mkLabel(f, "", 13, Color3.new(1, 1, 1), true, Enum.TextXAlignment.Center)
l.Size = UDim2.fromScale(1, 1)
local function paint() l.Text = "#" .. string.upper(Q.Accent:ToHex()) end
registerRefresh(paint)
paint()
end
-- one colored square per palette entry
function UI.swatches(P, onPick)
local holder = new("Frame", { Size = UDim2.new(1, 0, 0, ROW_H), BackgroundTransparency = 1, LayoutOrder = nextOrder(P) }, P.body)
new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 2), SortOrder = Enum.SortOrder.LayoutOrder }, holder)
local n = #Palette
for i, p in ipairs(Palette) do
local b = new("TextButton", {
Size = UDim2.new(1 / n, -2 * (n - 1) / n, 1, 0), BackgroundColor3 = p.c, BorderSizePixel = 0,
AutoButtonColor = false, Text = "", LayoutOrder = i,
}, holder)
round(b, 5)
new("UIStroke", { Thickness = 1, Transparency = 0.55, Color = Color3.new(1, 1, 1) }, b)
b.MouseButton1Click:Connect(function() onPick(i) end)
end
end
--========================================================================
-- [SECTION 9] HANDLERS (side effects of settings; also used by applyAll)
--========================================================================
function H.fov()
local d = Cfg.Aim.FOV * 2
FovRing.Size = UDim2.fromOffset(d, d)
end
function H.aim(on)
Aim.latched = false
if not on then Aim.target = nil end
end
function H.visual(on)
if not on then espClearAll() end
end
function H.speed(on)
local hum = currentHum()
if on and not Move.speedActive then
Move.speedActive = true
Move.origSpeed = hum and hum.WalkSpeed
elseif (not on) and Move.speedActive then
Move.speedActive = false
if hum and Move.origSpeed then hum.WalkSpeed = Move.origSpeed end
end
end
function H.jump(on)
local hum = currentHum()
if on and not Move.jumpActive then
Move.jumpActive = true
if hum then Move.origJump, Move.origUse = hum.JumpPower, hum.UseJumpPower end
elseif (not on) and Move.jumpActive then
Move.jumpActive = false
if hum and Move.origJump then
hum.JumpPower = Move.origJump
hum.UseJumpPower = Move.origUse
end
end
end
local BODY = { HumanoidRootPart = true, Head = true, Torso = true, UpperTorso = true, LowerTorso = true }
function H.noclip(on)
if not on and Move.parts then
for _, p in ipairs(Move.parts) do
if BODY[p.Name] then p.CanCollide = true end
end
Move.parts = nil
end
end
function H.fly(on)
if not on then
local r = myRoot()
if r then r.AssemblyLinearVelocity = Vector3.zero end
end
end
function H.scale() -- auto-fit to the screen, then the user scale on top
local sz = Gui.AbsoluteSize
local auto = math.clamp(math.min(sz.X / 1580, sz.Y / 760), 0.5, 1)
local sc = auto * Cfg.Menu.Scale / 100
RootScale.Scale = sc
Root.Size = UDim2.fromScale(1 / sc, 1 / sc) -- the scaled root always covers the whole screen (centers logo / search / dock)
end
function H.transparency()
local t = Cfg.Menu.Transparency / 100
for i = 1, #Panels do Panels[i].frame.BackgroundTransparency = t end
end
function H.watermark()
Wm.Visible = Cfg.Menu.Watermark
end
function H.arraylist()
arrayRefresh()
end
function H.animbg()
if not Cfg.Menu.AnimBG then
for i = 1, #Panels do
Panels[i].stroke.Transparency = 0.55
Panels[i].glowStroke.Transparency = 0.88
end
end
end
function H.menuBackground()
setMenuBGEnabled(Cfg.Menu.MenuBackground)
end
function H.backgroundOpacity()
setMenuBGOpacity(Cfg.Menu.BackgroundOpacity)
end
function H.backgroundAnimation()
-- Animation is gated in the existing RenderStepped connection.
end
function H.lang()
Q.lang = Cfg.Menu.Lang
Q.applyLang()
for i = 1, #Refreshers do Refreshers[i]() end
arrayRefresh()
applySearch()
end
function H.theme()
setAccent(Cfg.Menu.Accent)
arrayRefresh()
end
function H.themeSlider() -- moving a color slider switches to the custom color
Cfg.Menu.CustomOn, Cfg.Menu.Rainbow = true, false
setAccent(Cfg.Menu.Accent)
arrayRefresh()
end
function H.glow()
Q.glowBase = 1 - 0.12 * Cfg.Menu.GlowStrength / 50 -- 50 = the classic look, 100 = strong, 0 = off
for i = 1, #Panels do Panels[i].glowStroke.Transparency = Q.glowBase end
end
function H.perfHud() perfHudUpdate() end
function H.perfGraphs()
local rows = Q.perfGraphRows
if not rows then return end
for i = 1, #rows do rows[i].box.Visible = Cfg.Perf[rows[i].key] end
end
function H.friends() Friends.changed() end
function H.blur(on)
if Q.Open then Q.blurTo(on and Cfg.Menu.BlurSize or 0, 0.3) end
end
function H.blurSize(v)
if Q.Open and Cfg.Menu.Blur then Q.blurTo(v, 0.15) end
end
function H.fullbright(on)
if on and not World.fb then
World.fb = { Lighting.Brightness, Lighting.ClockTime, Lighting.GlobalShadows, Lighting.Ambient, Lighting.OutdoorAmbient }
worldTick()
elseif (not on) and World.fb then
local s = World.fb
World.fb = nil
Lighting.Brightness, Lighting.ClockTime, Lighting.GlobalShadows = s[1], s[2], s[3]
Lighting.Ambient, Lighting.OutdoorAmbient = s[4], s[5]
end
end
function H.nofog(on)
if on and not World.fog then
local atm = Lighting:FindFirstChildOfClass("Atmosphere")
World.fog = { Lighting.FogEnd, Lighting.FogStart, atm and atm.Density }
World.atm = atm
worldTick()
elseif (not on) and World.fog then
local s = World.fog
World.fog = nil
Lighting.FogEnd, Lighting.FogStart = s[1], s[2]
if World.atm and s[3] then World.atm.Density = s[3] end
World.atm = nil
end
end
function H.camfov(on)
local cam = Workspace.CurrentCamera
if on and not World.fovOn then
World.fovOn = true
World.origFov = cam and cam.FieldOfView
elseif (not on) and World.fovOn then
World.fovOn = false
if cam and World.origFov then cam.FieldOfView = World.origFov end
end
end
function H.zoom(on)
if on and not World.zoom then
World.zoom = { LocalPlayer.CameraMaxZoomDistance, LocalPlayer.CameraMinZoomDistance }
LocalPlayer.CameraMaxZoomDistance = 1000
LocalPlayer.CameraMinZoomDistance = 0
elseif (not on) and World.zoom then
local s = World.zoom
World.zoom = nil
LocalPlayer.CameraMaxZoomDistance = s[1]
LocalPlayer.CameraMinZoomDistance = s[2]
end
end
function H.gravity(on)
if on and not Move.gravActive then
Move.gravActive = true
Move.origGrav = Workspace.Gravity
elseif (not on) and Move.gravActive then
Move.gravActive = false
if Move.origGrav then Workspace.Gravity = Move.origGrav end
end
end
function H.cross()
local V = Cfg.Visual
local s, g, b = V.CrossSize, V.CrossGap, CrossBars
Cross.Visible = V.CrossOn
b[1].AnchorPoint, b[1].Position, b[1].Size = Vector2.new(0.5, 1), UDim2.new(0.5, 0, 0.5, -g), UDim2.fromOffset(2, s)
b[2].AnchorPoint, b[2].Position, b[2].Size = Vector2.new(0.5, 0), UDim2.new(0.5, 0, 0.5, g), UDim2.fromOffset(2, s)
b[3].AnchorPoint, b[3].Position, b[3].Size = Vector2.new(1, 0.5), UDim2.new(0.5, -g, 0.5, 0), UDim2.fromOffset(s, 2)
b[4].AnchorPoint, b[4].Position, b[4].Size = Vector2.new(0, 0.5), UDim2.new(0.5, g, 0.5, 0), UDim2.fromOffset(s, 2)
end
local function applyAll()
Q.lang = Cfg.Menu.Lang
Q.applyLang()
setAccent(Cfg.Menu.Accent) -- also repaints every control through the refreshers
H.fov()
H.aim(Cfg.Aim.Enabled)
H.visual(Cfg.Visual.Enabled)
H.speed(Cfg.Move.SpeedOn)
H.jump(Cfg.Move.JumpOn)
H.noclip(Cfg.Move.Noclip)
H.fullbright(Cfg.Visual.Fullbright)
H.nofog(Cfg.Visual.NoFog)
H.camfov(Cfg.Visual.CamFovOn)
H.zoom(Cfg.Visual.UnlockZoom)
H.cross()
H.gravity(Cfg.Move.GravOn)
H.scale()
H.transparency()
H.watermark()
H.animbg()
H.menuBackground()
H.backgroundOpacity()
H.backgroundAnimation()
Friends.parse()
H.glow()
H.perfHud()
H.perfGraphs()
if H.dock then H.dock() end
if Q.onFriends then Q.onFriends() end
if Q.onPlayers then Q.onPlayers() end
arrayRefresh()
end
local function saveConfig()
if not writefile then return notify("Config: writefile is not supported here", true) end
local ok = pcall(function() writefile(CFG_FILE, HttpService:JSONEncode(Cfg)) end)
notify(ok and "Config saved" or "Config save failed", true)
end
local function loadConfig()
if not (readfile and isfile) then return notify("Config: readfile is not supported here", true) end
if not isfile(CFG_FILE) then return notify("No saved config yet", true) end
local ok, data = pcall(function() return HttpService:JSONDecode(readfile(CFG_FILE)) end)
if not ok or type(data) ~= "table" then return notify("Config file is damaged", true) end
mergeConfig(data)
applyAll()
notify("Config loaded", true)
end
local function resetConfig()
Cfg.Binds = {}
mergeConfig(deepCopy(Defaults))
applyAll()
notify("Settings reset", true)
end
function Q.Unload()
if not Q.Alive then return end
Q.Alive = false
pcall(H.speed, false)
pcall(H.jump, false)
pcall(H.noclip, false)
pcall(H.fly, false)
pcall(H.fullbright, false)
pcall(H.nofog, false)
pcall(H.camfov, false)
pcall(H.zoom, false)
pcall(H.gravity, false)
pcall(stopSpectate)
pcall(function() Q.blur:Destroy() end)
pcall(function()
local cam = Workspace.CurrentCamera
if cam and Zoom.active then cam.FieldOfView = Zoom.base end
end)
for i = 1, #Conns do
pcall(function() Conns[i]:Disconnect() end)
end
pcall(espClearAll)
pcall(function() ESP.folder:Destroy() end)
pcall(function() Gui:Destroy() end)
pcall(function() if Boot.gui then Boot.gui:Destroy() end end)
if env.__VENORA == Q then env.__VENORA = nil end
end
-- open / close with a small pop-in animation (visibility itself never depends on a tween)
function Q.SetOpen(on)
Q.Open = on
Q.openToken = Q.openToken + 1
local mine = Q.openToken
Root.Visible = on
if on then
for i = 1, #Panels do Panels[i].syncGlow() end
end
Dim.Visible = on
if on then
H.scale()
if Cfg.Menu.Rainbow then setAccent(Cfg.Menu.Accent) end
Dim.BackgroundTransparency = 1
tween(Dim, 0.4, { BackgroundTransparency = 1 - (Cfg.Menu.BackgroundOpacity / 100) })
Q.blurTo(Cfg.Menu.Blur and Cfg.Menu.BlurSize or 0, 0.5)
Logo.Position = UDim2.new(0.5, 0, 0, -34)
tween(Logo, 0.55, { Position = UDim2.new(0.5, 0, 0, 8) }, Enum.EasingStyle.Quint)
SearchBox.Position = UDim2.new(0.5, 0, 0, 24)
tween(SearchBox, 0.6, { Position = UDim2.new(0.5, 0, 0, 56) }, Enum.EasingStyle.Quint)
for i = 1, #MenuBG.glows do
local base = MenuBG.glowSize[i]
MenuBG.glows[i].Size = UDim2.fromOffset(base * 0.45, base * 0.45)
tween(MenuBG.glows[i], 0.9, { Size = UDim2.fromOffset(base, base) }, Enum.EasingStyle.Quint)
end
for i = 1, #Panels do
local sc = Panels[i].scale
sc.Scale = 0.88
task.delay((i - 1) * 0.035, function()
if Q.Alive and Q.Open and Q.openToken == mine then
tween(sc, 0.36, { Scale = 1 }, Enum.EasingStyle.Back)
end
end)
end
else
Q.blurTo(0, 0.3)
Input.slider, Input.drag, Input.listening = nil, nil, nil
for i = 1, #Panels do Panels[i].scale.Scale = 1 end
end
end
--========================================================================
-- [SECTION 8] PANELS (what the menu contains: Aim, ESP, Movement, Render, Players, Waypoints, Settings)
--========================================================================
local Y0 = 92
local COL = { 14, 200, 386, 572, 758, 944, 1130, 1372 }
do -- AIM
local P = makePanel("Aim", COL[1], Y0)
addToggle(P, "Aim Assist", "Aim", "Enabled", H.aim, true)
addSection(P, "Settings")
addChoice(P, "Mode", "Aim", "Mode", { "Hold", "Toggle" }, H.aim)
addKeybind(P, "Aim key", "Aim", "Key")
addChoice(P, "Target part", "Aim", "Part", { "Head", "Torso" })
addChoice(P, "Priority", "Aim", "Priority", { "Cursor", "Distance" })
addToggle(P, "Team check", "Aim", "TeamCheck")
addToggle(P, "Wall check", "Aim", "WallCheck")
addToggle(P, "Ignore downed", "Aim", "IgnoreDowned")
addToggle(P, "Aim at bots (NPCs)", "Aim", "Bots")
addSection(P, "Display")
addToggle(P, "Show FOV ring", "Aim", "ShowFOV")
addToggle(P, "Target HUD", "Aim", "TargetHud")
addSection(P, "Values")
addSlider(P, "Aim FOV", "Aim", "FOV", 20, 500, 5, "%d px", H.fov)
addSlider(P, "Smoothness", "Aim", "Smooth", 1, 30, 1, "%d")
addSlider(P, "Prediction", "Aim", "Predict", 0, 300, 10, "%d ms")
end
do -- ESP
local P = makePanel("ESP", COL[2], Y0)
addToggle(P, "ESP", "Visual", "Enabled", H.visual, true)
addSection(P, "Draw")
addToggle(P, "Chams", "Visual", "Chams")
addToggle(P, "Boxes", "Visual", "Boxes")
addToggle(P, "Names", "Visual", "Names")
addToggle(P, "Health bars", "Visual", "Health")
addToggle(P, "Distance", "Visual", "Distance")
addToggle(P, "Tracers", "Visual", "Tracers")
addSection(P, "Filters")
addToggle(P, "Team check", "Visual", "TeamCheck")
addToggle(P, "Team colors", "Visual", "TeamColors")
addSection(P, "Values")
addSlider(P, "Chams fill", "Visual", "Fill", 0, 100, 5, "%d%%")
end
do -- MOVEMENT
local P = makePanel("Movement", COL[3], Y0)
addToggle(P, "Speed", "Move", "SpeedOn", H.speed, true)
addSlider(P, "Walk speed", "Move", "Speed", 16, 200, 1, "%d")
addToggle(P, "Jump Power", "Move", "JumpOn", H.jump, true)
addSlider(P, "Jump value", "Move", "Jump", 50, 250, 5, "%d")
addToggle(P, "Infinite Jump", "Move", "InfJump", nil, true)
addToggle(P, "Fly", "Move", "Fly", H.fly, true)
addSlider(P, "Fly speed", "Move", "FlySpeed", 10, 200, 5, "%d")
addToggle(P, "Noclip", "Move", "Noclip", H.noclip, true)
addToggle(P, "Click TP (Ctrl+click)", "Move", "ClickTP", nil, true)
addToggle(P, "Bunny Hop", "Move", "Bhop", nil, true)
addToggle(P, "Gravity", "Move", "GravOn", H.gravity, true)
addSlider(P, "Gravity value", "Move", "Gravity", 10, 300, 5, "%d")
end
do -- RENDER (HUD: fps / ping, draw distance, world, camera, crosshair)
local P = makePanel("Render", COL[4], Y0)
addSection(P, "HUD")
addToggle(P, "Watermark", "Menu", "Watermark", H.watermark)
addToggle(P, "Show FPS", "Menu", "ShowFps")
addToggle(P, "Show ping", "Menu", "ShowPing")
addToggle(P, "Array list", "Menu", "ArrayList", H.arraylist)
addSection(P, "World")
addSlider(P, "Draw distance", "Visual", "MaxDist", 100, 5000, 50, "%d")
addToggle(P, "Fullbright", "Visual", "Fullbright", H.fullbright, true)
addToggle(P, "No Fog", "Visual", "NoFog", H.nofog, true)
addSection(P, "Camera")
addToggle(P, "Camera FOV", "Visual", "CamFovOn", H.camfov, true)
addSlider(P, "FOV value", "Visual", "CamFov", 30, 120, 1, "%d")
addToggle(P, "Unlock Zoom", "Visual", "UnlockZoom", H.zoom, true)
addToggle(P, "Zoom (hold key)", "Visual", "ZoomOn", nil, true)
addKeybind(P, "Zoom key", "Visual", "ZoomKey")
addSlider(P, "Zoom FOV", "Visual", "ZoomFov", 5, 60, 1, "%d")
addSection(P, "Crosshair")
addToggle(P, "Crosshair", "Visual", "CrossOn", H.cross, true)
addSlider(P, "Size", "Visual", "CrossSize", 4, 30, 1, "%d px", H.cross)
addSlider(P, "Gap", "Visual", "CrossGap", 0, 20, 1, "%d px", H.cross)
end
do -- PLAYERS
local P = makePanel("Players", COL[5], Y0)
local list
local function refresh()
local items, sel, good = {}, nil, {}
for i, p in ipairs(Q.others) do
local fr = Friends.is(p)
items[i] = (fr and "[F] " or "") .. p.DisplayName
good[i] = fr
if p == Q.selPlayer then sel = i end
end
if not sel then Q.selPlayer = nil end
list.set(items, sel, good)
if Q.onSelect then Q.onSelect() end
end
list = addList(P, 120, function(i)
Q.selPlayer = Q.others[i]
refresh()
end)
Q.onPlayers = refresh
local function selected()
if not Q.selPlayer then notify("Select a player first", true) end
return Q.selPlayer
end
addButtons(P, {
{ text = "Teleport", fn = function()
local p = selected()
local info = p and getInfo(p)
if info and info.root then teleportTo(info.root.Position) elseif p then notify("Player has no character", true) end
end },
{ text = "Spectate", fn = function()
local p = selected()
if p then
Spec.plr = p
spectateTick()
notify(Q.tr("Spectating %s"):format(p.DisplayName), true)
end
end },
})
addButtons(P, {
{ text = "Stop spectating", fn = function()
stopSpectate()
notify("Camera restored", true)
end },
})
addButtons(P, {
{ text = "Add friend", fn = function()
local p = selected()
if p then
Friends.add(p)
notify(Q.tr("%s is now a friend"):format(p.DisplayName), true)
end
end },
{ text = "Remove friend", fn = function()
local p = selected()
if p then
if Friends.set[p.UserId] then
Friends.remove(p.UserId)
notify(Q.tr("%s removed from friends"):format(p.DisplayName), true)
else
notify("Not in your friend list (Roblox friends are automatic)", true)
end
end
end },
})
refresh()
end
do -- WAYPOINTS
local P = makePanel("Waypoints", COL[5], Y0 + 232)
local list
local function refresh()
local items = {}
for i, w in ipairs(Way.list) do items[i] = w.name end
list.set(items, Way.sel)
end
list = addList(P, 84, function(i)
Way.sel = i
refresh()
end)
addButtons(P, {
{ text = "Add", fn = function()
local r = myRoot()
if not r then return notify("No character yet", true) end
Way.n = Way.n + 1
Way.list[#Way.list + 1] = { name = "Point " .. Way.n, pos = r.Position }
Way.sel = #Way.list
refresh()
notify("Waypoint saved", true)
end },
{ text = "Remove", fn = function()
if Way.sel and Way.list[Way.sel] then
table.remove(Way.list, Way.sel)
Way.sel = #Way.list > 0 and math.min(Way.sel, #Way.list) or nil
refresh()
end
end },
})
addButtons(P, {
{ text = "Teleport", fn = function()
local w = Way.sel and Way.list[Way.sel]
if w then teleportTo(w.pos) else notify("Select a waypoint first", true) end
end },
})
-- rename box: type a name, press Enter
local box = new("TextBox", {
Size = UDim2.new(1, 0, 0, ROW_H), BackgroundColor3 = Theme.Item, BorderSizePixel = 0, Text = "", PlaceholderText = "rename selected (Enter)",
PlaceholderColor3 = Theme.Dim, TextColor3 = Theme.Text, Font = FONT, TextSize = 12, ClearTextOnFocus = false, LayoutOrder = nextOrder(P),
}, P.body)
round(box, 5)
box.FocusLost:Connect(function(enter)
local w = Way.sel and Way.list[Way.sel]
if enter and w and box.Text ~= "" then
w.name = string.sub(box.Text, 1, 24)
box.Text = ""
refresh()
end
end)
refresh()
end
do -- SERVER
local P = makePanel("Server", COL[3], Y0 + 340)
addSection(P, "Connection")
addToggle(P, "Auto rejoin on kick", "Server", "AutoRejoin", nil, true)
addButtons(P, {
{ text = "Rejoin now", fn = function()
pcall(function() game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer) end)
end },
})
addLabel(P, "Fake lag, packet blocking and a")
addLabel(P, "remote spy were skipped - see chat.")
end
track(GuiService.ErrorMessageChanged:Connect(function()
if Cfg.Server.AutoRejoin then
pcall(function() game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer) end)
end
end))
do -- SETTINGS
local P = makePanel("Settings", COL[8], Y0)
addSection(P, "Interface")
addChoice(P, "Language", "Menu", "Lang", { "English", Q.RU_NAME }, H.lang)
addToggle(P, "Notifications", "Menu", "Notify")
addToggle(P, "Pulse glow", "Menu", "AnimBG", H.animbg)
addToggle(P, "Menu background", "Menu", "MenuBackground", H.menuBackground)
addSlider(P, "Background opacity", "Menu", "BackgroundOpacity", 0, 100, 5, "%d%%", H.backgroundOpacity)
addToggle(P, "Background animation", "Menu", "BackgroundAnimation", H.backgroundAnimation)
addToggle(P, "Background blur", "Menu", "Blur", H.blur)
addSlider(P, "Blur strength", "Menu", "BlurSize", 0, 56, 2, "%d", H.blurSize)
addToggle(P, "Anti-AFK", "Menu", "AntiAFK")
-- theme picker (cycles the accent color; left/right click)
local th = newRow(P)
local tl = mkLabel(th, "Theme", 13, OFF_TEXT)
tl.Position, tl.Size = UDim2.fromOffset(8, 0), UDim2.new(0.5, -8, 1, 0)
local tv = mkLabel(th, "", 13, Theme.Text, true, Enum.TextXAlignment.Right)
tv.Position, tv.Size = UDim2.fromScale(0.4, 0), UDim2.new(0.6, -8, 1, 0)
bindAccent(tv, "TextColor3")
regSearch(P, "Theme", th)
local function paintTheme() tv.Text = Q.tr(Palette[Cfg.Menu.Accent].name) end
local function stepTheme(d)
Cfg.Menu.Accent = (Cfg.Menu.Accent - 1 + d) % #Palette + 1
setAccent(Cfg.Menu.Accent)
arrayRefresh()
end
th.MouseButton1Click:Connect(function() stepTheme(1) end)
th.MouseButton2Click:Connect(function() stepTheme(-1) end)
hoverable(th, function() return false end)
registerRefresh(paintTheme)
paintTheme()
addKeybind(P, "Menu key", "Menu", "ToggleKey")
addSlider(P, "Menu scale", "Menu", "Scale", 70, 130, 5, "%d%%", H.scale)
addSlider(P, "Panel opacity", "Menu", "Transparency", 0, 50, 5, "%d%%", H.transparency)
addSection(P, "Config")
addButtons(P, {
{ text = "Save", fn = saveConfig },
{ text = "Load", fn = loadConfig },
{ text = "Reset", fn = resetConfig },
})
addButtons(P, {
{ text = "Reset layout", fn = function()
for i = 1, #Panels do Panels[i].frame.Position = Panels[i].home end
notify("Panel layout reset", true)
end },
})
addButtons(P, {
{ text = "Rejoin", fn = function()
pcall(function() game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer) end)
end },
{ text = "Unload", fn = function() Q.Unload() end, danger = true },
})
addLabel(P, "Right-click a module = hotkey")
addLabel(P, "INSERT = switch GUI container")
end
do -- FRIENDS
local P = makePanel("Friends", COL[2], Y0 + 350)
addToggle(P, "Friends system", "Friends", "Enabled", H.friends)
addSection(P, "Rules")
addToggle(P, "Roblox friends too", "Friends", "Roblox", H.friends)
addToggle(P, "Ignore in aim", "Friends", "IgnoreAim")
addToggle(P, "Green in ESP", "Friends", "Highlight")
addSection(P, "List")
local list
local ids = {}
local function refresh()
for k = #ids, 1, -1 do ids[k] = nil end
for id in pairs(Friends.set) do ids[#ids + 1] = id end
table.sort(ids, function(a, b) return (Friends.names[a] or "") < (Friends.names[b] or "") end)
local online = {}
for _, p in ipairs(Q.others) do online[p.UserId] = true end
local items, good, sel = {}, {}, nil
for i, id in ipairs(ids) do
local nm = Friends.names[id]
if not nm or nm == "" then nm = tostring(id) end
items[i] = nm .. (online[id] and "" or (" " .. Q.tr("(offline)")))
good[i] = true
if id == Friends.sel then sel = i end
end
list.set(items, sel, good)
end
list = addList(P, 70, function(i)
Friends.sel = ids[i]
refresh()
end)
Q.onFriends = refresh
addButtons(P, {
{ text = "Add selected", fn = function()
local p = Q.selPlayer
if p then Friends.add(p) else notify("Select a player first", true) end
end },
{ text = "Remove", fn = function()
if Friends.sel then Friends.remove(Friends.sel) else notify("Select a friend first", true) end
end },
})
addButtons(P, {
{ text = "Clear all", danger = true, fn = function()
Friends.set, Friends.names, Friends.sel = {}, {}, nil
Friends.changed()
notify("Friend list cleared", true)
end },
})
refresh()
end
do -- PLAYER INFO
local P = makePanel("Player Info", COL[6], Y0, 186)
local card = new("Frame", { Size = UDim2.new(1, 0, 0, 72), BackgroundColor3 = Theme.Item, BorderSizePixel = 0, LayoutOrder = nextOrder(P) }, P.body)
round(card, 6)
softGradient(card, 6)
local av = new("ImageLabel", {
Size = UDim2.fromOffset(56, 56), Position = UDim2.fromOffset(8, 8), BackgroundColor3 = Color3.fromRGB(10, 10, 12),
BorderSizePixel = 0, Image = "", ScaleType = Enum.ScaleType.Crop,
}, card)
round(av, 8)
bindAccent(new("UIStroke", { Thickness = 1.5, Transparency = 0.15 }, av), "Color")
local nm = mkLabel(card, "", 14, Theme.Text, true)
nm.Position, nm.Size, nm.TextTruncate = UDim2.fromOffset(72, 12), UDim2.new(1, -78, 0, 18), Enum.TextTruncate.AtEnd
local un = mkLabel(card, "", 11, Theme.Dim)
un.Position, un.Size, un.TextTruncate = UDim2.fromOffset(72, 31), UDim2.new(1, -78, 0, 14), Enum.TextTruncate.AtEnd
local tag = mkLabel(card, "", 11, Theme.Good, true)
tag.Position, tag.Size = UDim2.fromOffset(72, 47), UDim2.new(1, -78, 0, 14)
decoBrackets(card, 6, 1, 2, true, 0.3, 3)
addSection(P, "Account")
local rId, rAge, rMem = addInfo(P, "User ID"), addInfo(P, "Account age"), addInfo(P, "Membership")
addSection(P, "In game")
local rTeam, rHp, rDist, rSpd, rFr = addInfo(P, "Team"), addInfo(P, "Health"), addInfo(P, "Distance"), addInfo(P, "Speed"), addInfo(P, "Friend status")
addButtons(P, {
{ text = "Copy ID", fn = function()
local p = Q.selPlayer
if not p then return notify("Select a player first", true) end
local ok = pcall(function() setclipboard(tostring(p.UserId)) end)
notify(ok and "Copied" or "Clipboard is not supported here", true)
end },
{ text = "Copy name", fn = function()
local p = Q.selPlayer
if not p then return notify("Select a player first", true) end
local ok = pcall(function() setclipboard(p.Name) end)
notify(ok and "Copied" or "Clipboard is not supported here", true)
end },
})
Q.thumbs = {}
local shownId
local function loadAvatar(p)
local id = p.UserId
if Q.thumbs[id] then
av.Image = Q.thumbs[id]
return
end
av.Image = ""
task.spawn(function()
local ok, img = pcall(function()
return Players:GetUserThumbnailAsync(id, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size100x100)
end)
if ok and img and Q.Alive then
Q.thumbs[id] = img
if Q.selPlayer and Q.selPlayer.UserId == id then av.Image = img end
end
end)
end
function Q.piUpdate()
local p = Q.selPlayer
if not p then
if shownId ~= false then
shownId = false
av.Image = ""
un.Text, tag.Text = "", ""
end
nm.Text = Q.tr("No player selected")
for _, r in ipairs({ rId, rAge, rMem, rTeam, rHp, rDist, rSpd, rFr }) do r.set("-", Theme.Dim) end
return
end
if shownId ~= p.UserId then
shownId = p.UserId
loadAvatar(p)
end
nm.Text = p.DisplayName
un.Text = "@" .. p.Name
rId.set(tostring(p.UserId))
rAge.set(string.format("%d d (%.1f y)", p.AccountAge, p.AccountAge / 365))
rMem.set(p.MembershipType.Name == "None" and "None" or p.MembershipType.Name)
rTeam.set(p.Team and p.Team.Name or "-")
local info = getInfo(p)
local cam = Workspace.CurrentCamera
if info and info.hum then
local hp, mx = info.hum.Health, math.max(info.hum.MaxHealth, 1)
rHp.set(string.format("%d / %d", math.floor(hp + 0.5), math.floor(mx + 0.5)), hp / mx > 0.5 and Theme.Good or (hp / mx > 0.25 and Theme.Amber or Theme.Bad))
rSpd.set(string.format("%d", math.floor(info.hum.WalkSpeed + 0.5)))
if info.root and cam then rDist.set(string.format("%d studs", math.floor((info.root.Position - cam.CFrame.Position).Magnitude + 0.5))) else rDist.set("-") end
else
rHp.set("-", Theme.Dim)
rSpd.set("-")
rDist.set("-")
end
local manual, rbx = Friends.set[p.UserId], Friends.rbx[p.UserId]
if Cfg.Friends.Enabled and manual then
rFr.set(Q.tr("Friend"), Theme.Good)
tag.Text = Q.tr("FRIEND")
elseif Cfg.Friends.Enabled and Cfg.Friends.Roblox and rbx then
rFr.set(Q.tr("Roblox friend"), Theme.Good)
tag.Text = Q.tr("ROBLOX FRIEND")
else
rFr.set(Q.tr("No"), Theme.Dim)
tag.Text = ""
end
end
Q.onSelect = Q.piUpdate
Q.piUpdate()
end
do -- THEME EDITOR
local P = makePanel("Theme Editor", COL[6], Y0 + 372, 186)
addSection(P, "Preview")
UI.preview(P)
addSection(P, "Presets")
UI.swatches(P, function(i)
Cfg.Menu.Accent, Cfg.Menu.CustomOn, Cfg.Menu.Rainbow = i, false, false
setAccent(i)
arrayRefresh()
end)
addSection(P, "Custom color")
addToggle(P, "Custom color", "Menu", "CustomOn", H.theme)
addSlider(P, "Hue", "Menu", "CustomH", 0, 360, 1, "%d", H.themeSlider)
addSlider(P, "Saturation", "Menu", "CustomS", 0, 100, 1, "%d%%", H.themeSlider)
addSlider(P, "Brightness", "Menu", "CustomV", 30, 100, 1, "%d%%", H.themeSlider)
addSection(P, "Effects")
addToggle(P, "Rainbow", "Menu", "Rainbow", H.theme)
addSlider(P, "Rainbow speed", "Menu", "RainbowSpeed", 5, 100, 5, "%d")
addSlider(P, "Glow strength", "Menu", "GlowStrength", 0, 100, 5, "%d%%", H.glow)
addButtons(P, {
{ text = "Reset theme", fn = function()
local M, D = Cfg.Menu, Defaults.Menu
M.Accent, M.CustomOn, M.Rainbow = D.Accent, D.CustomOn, D.Rainbow
M.CustomH, M.CustomS, M.CustomV, M.RainbowSpeed, M.GlowStrength = D.CustomH, D.CustomS, D.CustomV, D.RainbowSpeed, D.GlowStrength
setAccent(M.Accent)
H.glow()
arrayRefresh()
notify("Theme reset", true)
end },
})
end
do -- PERFORMANCE (part of Render: frame stats, graphs, graphics API, memory)
local P = makePanel("Performance", COL[7], Y0, 232)
local I = {}
addSection(P, "Overlay")
addToggle(P, "Performance HUD", "Perf", "Hud", H.perfHud, true)
addToggle(P, "HUD graph", "Perf", "HudGraph")
addSection(P, "Frames")
I.fps, I.avg = addInfo(P, "FPS"), addInfo(P, "Average FPS")
I.l1, I.l01 = addInfo(P, "1% low"), addInfo(P, "0.1% low")
I.ms, I.min, I.drop = addInfo(P, "Frame time"), addInfo(P, "Min / Max FPS"), addInfo(P, "Frame drops (>33 ms)")
addToggle(P, "Frame time graph", "Perf", "FrameGraph", H.perfGraphs)
local gF = UI.graph(P, 56)
addSection(P, "Network")
I.ping, I.pavg, I.jit, I.net = addInfo(P, "Ping"), addInfo(P, "Average ping"), addInfo(P, "Jitter"), addInfo(P, "Download / Upload")
addToggle(P, "Ping graph", "Perf", "PingGraph", H.perfGraphs)
local gP = UI.graph(P, 56)
addSection(P, "Render")
I.api, I.qual, I.plat, I.ver = addInfo(P, "Graphics API"), addInfo(P, "Quality level"), addInfo(P, "Platform"), addInfo(P, "Client version")
addSection(P, "Memory")
I.mem, I.inst, I.prim, I.sess = addInfo(P, "Memory"), addInfo(P, "Instances"), addInfo(P, "Physics parts"), addInfo(P, "Session")
addButtons(P, { { text = "Reset stats", fn = Perf.reset } })
Q.perfGraphRows = { { key = "FrameGraph", box = gF.box }, { key = "PingGraph", box = gP.box } }
local function fpsCol(f) return f >= 55 and Theme.Good or (f >= 30 and Theme.Amber or Theme.Bad) end
local function pingCol(p) return p <= 60 and Theme.Good or (p <= 120 and Theme.Amber or Theme.Bad) end
function Q.perfUi() -- 5 Hz while the menu is open
I.fps.set(string.format("%d", math.floor(Perf.fps + 0.5)), fpsCol(Perf.fps))
I.avg.set(string.format("%d", math.floor(Perf.avg + 0.5)), fpsCol(Perf.avg))
I.l1.set(string.format("%d", math.floor(Perf.low1 + 0.5)), fpsCol(Perf.low1))
I.l01.set(string.format("%d", math.floor(Perf.low01 + 0.5)), fpsCol(Perf.low01))
I.ms.set(string.format("%.1f ms", Perf.ms))
I.min.set(string.format("%d / %d", math.floor(Perf.minFps + 0.5), math.floor(Perf.maxFps + 0.5)))
I.drop.set(tostring(Perf.drops), Perf.drops == 0 and Theme.Good or Theme.Text)
I.ping.set(string.format("%d ms", math.floor(Perf.ping + 0.5)), pingCol(Perf.ping))
I.pavg.set(string.format("%d ms", math.floor(Perf.pingAvg + 0.5)), pingCol(Perf.pingAvg))
I.jit.set(string.format("%.1f ms", Perf.jitter), Perf.jitter < 10 and Theme.Good or Theme.Amber)
I.net.set(string.format("%.0f / %.0f KB/s", Perf.kin, Perf.kout))
I.api.set(Perf.api, Perf.api ~= "Unknown" and Theme.Good or Theme.Dim)
I.qual.set(Perf.quality)
I.plat.set(Perf.platform)
I.ver.set(Perf.version)
I.mem.set(string.format("%d MB", math.floor(Perf.mem + 0.5)))
I.inst.set(string.format("%d", Perf.inst))
I.prim.set(string.format("%d (%d moving)", Perf.prims, Perf.moving))
local t = math.floor(os.clock() - Perf.t0)
I.sess.set(string.format("%d:%02d:%02d", t // 3600, t % 3600 // 60, t % 60))
if Cfg.Perf.FrameGraph then
local mx = 0
for k = 1, Perf.GN do
if Perf.gft[k] > mx then mx = Perf.gft[k] end
end
gF.draw(Perf.gft, math.max(33.4, mx * 1.1), 16.8, 33.4, Q.tr("FRAME TIME"), string.format("%.1f ms", Perf.ms))
end
if Cfg.Perf.PingGraph then
local mx = 0
for k = 1, Perf.GN do
if Perf.gping[k] > mx then mx = Perf.gping[k] end
end
gP.draw(Perf.gping, math.max(100, mx * 1.1), 60, 120, Q.tr("PING"), string.format("%d ms", math.floor(Perf.ping + 0.5)))
end
end
H.perfGraphs()
end
-- dock: one pill per panel, click = show / hide that panel (remembered in Cfg.Menu.Hidden)
do
local Dock = new("Frame", {
Name = "Dock", AnchorPoint = Vector2.new(0.5, 1), Position = UDim2.new(0.5, 0, 1, -10), Size = UDim2.fromOffset(0, 28),
AutomaticSize = Enum.AutomaticSize.X, BackgroundColor3 = Theme.Panel, BackgroundTransparency = 0.1, BorderSizePixel = 0, ZIndex = 1000,
}, Root)
round(Dock, 14)
softGradient(Dock, 14)
bindAccent(new("UIStroke", { Thickness = 1, Transparency = 0.5 }, Dock), "Color")
new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 3), SortOrder = Enum.SortOrder.LayoutOrder, VerticalAlignment = Enum.VerticalAlignment.Center }, Dock)
new("UIPadding", { PaddingLeft = UDim.new(0, 6), PaddingRight = UDim.new(0, 6) }, Dock)
local pills = {}
local function dockPaint()
for i = 1, #Panels do
local P, b = Panels[i], pills[i]
b.BackgroundColor3 = P.hidden and Theme.Item or Q.Accent
b.TextColor3 = P.hidden and OFF_TEXT or Color3.new(1, 1, 1)
end
end
local function saveHidden()
local t = {}
for i = 1, #Panels do
if Panels[i].hidden then t[#t + 1] = Panels[i].title end
end
Cfg.Menu.Hidden = table.concat(t, ",")
end
for i, P in ipairs(Panels) do
local b = new("TextButton", {
Size = UDim2.fromOffset(0, 20), AutomaticSize = Enum.AutomaticSize.X, BackgroundColor3 = Theme.Item, BorderSizePixel = 0,
AutoButtonColor = false, Text = "", Font = FONT, TextSize = 12, TextColor3 = OFF_TEXT, LayoutOrder = i, ZIndex = 1001,
}, Dock)
round(b, 10)
Q.bind(b, P.title, function(t) return " " .. t .. " " end)
b.MouseButton1Click:Connect(function()
P.hidden = not P.hidden
saveHidden()
applySearch()
dockPaint()
end)
pills[i] = b
end
function H.dock()
local list = "," .. Cfg.Menu.Hidden .. ","
for _, P in ipairs(Panels) do
P.hidden = string.find(list, "," .. P.title .. ",", 1, true) ~= nil
end
applySearch()
dockPaint()
end
registerRefresh(dockPaint)
H.dock()
end
--========================================================================
-- [SECTION 10] INPUT + MASTER LOOPS
--========================================================================
track(UserInputService.InputBegan:Connect(function(input, gpe)
if Input.listening and Input.listening(input) then return end
if gpe then return end
local ut = input.UserInputType
local n = (ut == Enum.UserInputType.Keyboard) and input.KeyCode.Name or ut.Name
if n == Cfg.Menu.ToggleKey then
Q.SetOpen(not Q.Open)
return
elseif n == "Insert" then
remount() -- menu invisible? this moves it to the next GUI container
return
end
if ut == Enum.UserInputType.MouseButton1 then
if Cfg.Move.ClickTP and not Q.Open and UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
guard("clicktp", clickTeleport)
end
return
end
local A = Cfg.Aim
if A.Enabled and A.Mode == "Toggle" and not Q.Open and n == A.Key then
Aim.latched = not Aim.latched
notify(Q.tr("Aim lock %s"):format(Q.tr(Aim.latched and "ON" or "OFF")))
end
for id, bind in pairs(Cfg.Binds) do -- module hotkeys (right click a module to set)
if bind == n then
local c = Mods[id]
if c then
c.set(not Cfg[c.sec][c.key])
notify(Q.tr(c.name) .. (Cfg[c.sec][c.key] and Q.tr(" ON") or Q.tr(" OFF")))
end
end
end
end))
track(UserInputService.InputChanged:Connect(function(input)
local ut = input.UserInputType
if ut ~= Enum.UserInputType.MouseMovement and ut ~= Enum.UserInputType.Touch then return end
if Input.drag then
local d = Input.drag
local m, sz, s = UserInputService:GetMouseLocation(), Gui.AbsoluteSize, RootScale.Scale
local x = math.clamp(m.X + d.off.X, 0, math.max(sz.X - 60, 0))
local y = math.clamp(m.Y + d.off.Y, 0, math.max(sz.Y - 30, 0))
d.frame.Position = UDim2.fromOffset(x / s, y / s)
elseif Input.slider then
Input.slider(UserInputService:GetMouseLocation().X)
end
end))
track(UserInputService.InputEnded:Connect(function(input)
local ut = input.UserInputType
if ut == Enum.UserInputType.MouseButton1 or ut == Enum.UserInputType.Touch then
Input.slider, Input.drag = nil, nil
end
end))
track(LocalPlayer.Idled:Connect(function()
if Cfg.Menu.AntiAFK then
pcall(function()
local vu = game:GetService("VirtualUser")
vu:CaptureController()
vu:ClickButton2(Vector2.new())
end)
end
end))
-- target HUD (10 Hz): name, health, distance of the aim target
local function hudTick()
local A = Cfg.Aim
local show = A.Enabled and A.TargetHud and Aim.target ~= nil
if show then
local info = Aim.targetIsBot and getBotInfo(Aim.target) or getInfo(Aim.target)
local cam = Workspace.CurrentCamera
if info and info.hum and info.root and cam then
local name = Aim.targetIsBot and Aim.target.Name or Aim.target.DisplayName
if Hud.lastName ~= name then
Hud.lastName = name
HudName.Text = name
end
local r = math.clamp(info.hum.Health / math.max(info.hum.MaxHealth, 1), 0, 1)
HudFill.Size = UDim2.fromScale(r, 1)
HudFill.BackgroundColor3 = Color3.fromHSV(r * 0.33, 0.8, 1)
HudDist.Text = math.floor((info.root.Position - cam.CFrame.Position).Magnitude) .. " studs"
else
show = false
end
end
if Hud.Visible ~= show then Hud.Visible = show end
end
local fpsAcc, fpsFrames = 0, 0
-- ONE render connection for everything that needs it
track(RunService.RenderStepped:Connect(function(dt)
Q.t = Q.t + dt
Perf.frame(dt)
guard("aim", aimStep, dt)
local A = Cfg.Aim
local showRing = A.Enabled and A.ShowFOV
if FovRing.Visible ~= showRing then FovRing.Visible = showRing end
if showRing then
local m = UserInputService:GetMouseLocation()
if m.X ~= Aim.lastMX or m.Y ~= Aim.lastMY then -- skip when the mouse did not move
Aim.lastMX, Aim.lastMY = m.X, m.Y
FovRing.Position = UDim2.fromOffset(m.X, m.Y)
end
end
guard("zoom", zoomStep, dt)
if World.fovOn and not Zoom.active then
local cam = Workspace.CurrentCamera
if cam and cam.FieldOfView ~= Cfg.Visual.CamFov then cam.FieldOfView = Cfg.Visual.CamFov end
end
guard("tracers", tracerStep)
if Perf.acc >= 0.2 then -- 5 Hz: graph sample, performance panel + HUD
guard("perf", Perf.sample)
if Q.Open and Q.perfUi then guard("perf ui", Q.perfUi) end
guard("perf hud", perfHudUpdate)
end
if Cfg.Menu.Rainbow then -- rainbow accent: full repaint only while the menu is open
Q.rbAcc = (Q.rbAcc or 0) + dt
if Q.rbAcc >= 0.2 then
Q.rbAcc = 0
if Q.Open then setAccent(Cfg.Menu.Accent) else Q.Accent = Q.accentFn(Cfg.Menu.Accent) end
end
end
ESP.acc = ESP.acc + dt
if ESP.acc >= 0.1 then -- ESP, world, spectate and HUD run at 10 Hz, not every frame
ESP.acc = 0
if Cfg.Visual.Enabled then guard("esp", espUpdate) end
if World.fb or World.fog or World.zoom then guard("world", worldTick) end
if Spec.plr then guard("spectate", spectateTick) end
guard("hud", hudTick)
if Q.Open and Q.piUpdate then guard("player info", Q.piUpdate) end
end
if Cfg.Menu.Watermark then
fpsAcc, fpsFrames = fpsAcc + dt, fpsFrames + 1
if fpsAcc >= 0.5 then
local ok, ping = pcall(function()
return math.floor(game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValue() + 0.5)
end)
local tail = ""
if Cfg.Menu.ShowFps then tail = tail .. " | " .. math.floor(fpsFrames / fpsAcc + 0.5) .. " fps" end
if Cfg.Menu.ShowPing and ok then tail = tail .. " | " .. ping .. " ms" end
Q.wmTail = tail
WmLabel.Text = logoText() .. Q.wmTail
fpsAcc, fpsFrames = 0, 0
end
end
if Q.Open then
if Cfg.Menu.MenuBackground and Cfg.Menu.BackgroundAnimation then
local t = Q.t
guard("deco", Deco.step, dt, t)
for i = 1, #MenuBG.glows do
local glow = MenuBG.glows[i]
local sign = i == 1 and 1 or -1
local baseX = i == 1 and 0.12 or 0.88
local baseY = i == 1 and 0.18 or 0.82
glow.Position = UDim2.fromScale(
baseX + math.sin(t * 0.22 + i) * 0.035 * sign,
baseY + math.cos(t * 0.19 + i) * 0.045 * sign
)
end
for i = 1, #MenuBG.dots do
local dot = MenuBG.dots[i]
dot.y = dot.y - dot.speed * dt
if dot.y < -0.025 then
dot.y = 1.025
dot.x = math.random()
dot.speed = math.random(5, 14) / 100
dot.phase = math.random() * 6.28
end
dot.ui.Position = UDim2.fromScale(dot.x, dot.y)
local fade = math.clamp((1 - dot.y) * 1.4, 0, 1)
local twinkle = 0.08 * math.sin(t * 1.7 + dot.phase)
dot.ui.BackgroundTransparency = math.clamp(dot.base + fade * 0.16 + twinkle, 0.25, 0.96)
end
end
if UserInputService.MouseBehavior ~= Enum.MouseBehavior.Default then
UserInputService.MouseBehavior = Enum.MouseBehavior.Default -- free the cursor while the menu is open
end
if Cfg.Menu.AnimBG then
local a = 0.55 + 0.25 * math.sin(Q.t * 2.2)
local g = math.clamp((Q.glowBase or 0.88) - 0.02 + 0.07 * math.sin(Q.t * 1.6), 0, 1)
for i = 1, #Panels do
Panels[i].stroke.Transparency = a
Panels[i].glowStroke.Transparency = g
Panels[i].lineGrad.Offset = Vector2.new(math.sin(Q.t * 0.9 + i) * 0.55, 0)
end
end
end
end))
-- ONE physics-step connection for movement
track(RunService.Stepped:Connect(function(_, dt)
guard("move", moveStep, dt)
end))
--========================================================================
-- [SECTION 11] ENTRY POINT
--========================================================================
applyAll()
if Q.onPlayers then Q.onPlayers() end
pcall(H.menuBackground)
pcall(H.backgroundOpacity)
pcall(H.backgroundAnimation)
Q.SetOpen(true)
notify(Q.tr("%s opens / closes the menu - right click a module to bind a key"):format(prettyKey(Cfg.Menu.ToggleKey)), true)
Boot.show("VenoRa v" .. VERSION .. " loaded - " .. prettyKey(Cfg.Menu.ToggleKey) .. " opens / closes the menu. Invisible? Press INSERT.", false, 7)
print("[VenoRa] v" .. VERSION .. " loaded (container: " .. Containers[contIdx][1] .. ")")
end -- VENORA_MAIN
--========================================================================
-- RUNNER: starts the script; any startup error is shown on screen in red
--========================================================================
local started, startErr = xpcall(VENORA_MAIN, function(e)
return debug.traceback(tostring(e), 2)
end)
if not started then
warn("[VenoRa] failed to start:\n" .. tostring(startErr))
Boot.show("VenoRa failed to start (send this text to the author):\n" .. string.sub(tostring(startErr), 1, 600), true, 120)
end