-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local shared=(type(getgenv)=="function" and getgenv()) or _G local previous=shared.__FUST_SESSION if previous and previous.Managed==true and type(previous.Shutdown)=="function" then local ok,message=pcall(previous.Shutdown,previous) if not ok then warn("[FUST] Previous session cleanup failed: "..tostring(message)); return end elseif shared.__FUST_RUNNING then warn("[FUST] Rejoin once to replace an older version without session cleanup") return end local nativeTask=task local nativeInstance=Instance local nativeDrawing=Drawing local session={Managed=true,Active=true,Stopping=false,connections={},threads={},objects={},drawings={},renders={},actions={},cleanups={},originals={}} shared.__FUST_SESSION=session shared.__FUST_RUNNING=true function session:AddCleanup(callback) self.cleanups[#self.cleanups+1]=callback end function session:Write(object,key,value) if not self.Active then error("FUST session stopped",0) end local originals=self.originals[object] if not originals then originals={}; self.originals[object]=originals end if not originals[key] then originals[key]={value=object[key]} end object[key]=value end function session:Call(callback,...) if not self.Active then return end local pr=self.prof if not pr then return callback(...) end local t=os.clock() local r=table.pack(callback(...)) local dt=os.clock()-t local s,l=debug.info(callback,"sl") local key=tostring(s)..":"..tostring(l) local e=pr[key] if not e then e={n=0,t=0,max=0}; pr[key]=e end e.n=e.n+1; e.t=e.t+dt if dt>e.max then e.max=dt end return table.unpack(r,1,r.n) end function session:Signal(signal) local owner=self return { Connect=function(_,callback) if not owner.Active then error("FUST session stopped",0) end local connection=signal:Connect(function(...) if owner.prof then return owner:Call(callback,...) end if owner.Active then return callback(...) end end) owner.connections[connection]=true return connection end, Once=function(_,callback) if not owner.Active then error("FUST session stopped",0) end local connection connection=signal:Connect(function(...) connection:Disconnect() owner.connections[connection]=nil return owner:Call(callback,...) end) owner.connections[connection]=true return connection end, Wait=function() if not owner.Active then error("FUST session stopped",0) end local running=coroutine.running() owner.threads[running]=true local result=table.pack(signal:Wait()) if not owner.Active then error("FUST session stopped",0) end return table.unpack(result,1,result.n) end, } end function session:Service(service) local owner=self return { BindToRenderStep=function(_,name,priority,callback) if not owner.Active then return end owner.renders[name]=service service:BindToRenderStep(name,priority,function(...) if owner.prof then return owner:Call(callback,...) end if owner.Active then return callback(...) end end) end, UnbindFromRenderStep=function(_,name) owner.renders[name]=nil service:UnbindFromRenderStep(name) end, BindActionAtPriority=function(_,name,callback,...) if not owner.Active then return end owner.actions[name]=service service:BindActionAtPriority(name,function(...) return owner:Call(callback,...) end,...) end, BindAction=function(_,name,callback,...) if not owner.Active then return end owner.actions[name]=service service:BindAction(name,function(...) return owner:Call(callback,...) end,...) end, UnbindAction=function(_,name) owner.actions[name]=nil service:UnbindAction(name) end, } end function session:Own(object) if not self.Active then object:Destroy(); error("FUST session stopped",0) end self.objects[object]=true local connection connection=object.Destroying:Connect(function() self.objects[object]=nil if connection then connection:Disconnect(); self.connections[connection]=nil end end) self.connections[connection]=true return object end function session:Remove(object,...) self.drawings[object]=nil return object:Remove(...) end function session:Clone(object,...) return self:Own(object:Clone(...)) end function session:Shutdown() if self.Stopping or not self.Active then return end self.Active=false self.Stopping=true for connection in pairs(self.connections) do pcall(connection.Disconnect,connection) end table.clear(self.connections) for name,service in pairs(self.renders) do pcall(service.UnbindFromRenderStep,service,name) end table.clear(self.renders) for name,service in pairs(self.actions) do pcall(service.UnbindAction,service,name) end table.clear(self.actions) local current=coroutine.running() for thread in pairs(self.threads) do if thread~=current then pcall(nativeTask.cancel,thread) end end table.clear(self.threads) for index=#self.cleanups,1,-1 do local ok,message=pcall(self.cleanups[index]) if not ok then warn("[FUST] Cleanup: "..tostring(message)) end end table.clear(self.cleanups) for object,originals in pairs(self.originals) do for key,saved in pairs(originals) do pcall(function() object[key]=saved.value end) end end table.clear(self.originals) for drawing in pairs(self.drawings) do pcall(function() drawing:Remove() end) end table.clear(self.drawings) for object in pairs(self.objects) do pcall(object.Destroy,object) end table.clear(self.objects) self.Stopping=false if shared.__FUST_SESSION==self then shared.__FUST_SESSION=nil shared.__FUST_RUNNING=nil end end local managedTask=setmetatable({},{__index=nativeTask}) local function schedule(kind,delay,callback,...) if session.Stopping then if kind=="spawn" or kind=="defer" then local thread=coroutine.create(callback) local ok,message=coroutine.resume(thread,...) if not ok then warn("[FUST] Cleanup task: "..tostring(message)) end if coroutine.status(thread)~="dead" then pcall(nativeTask.cancel,thread) end return thread end return nil end if not session.Active then return nil end local thread local function callbackWrapper(...) session:Call(callback,...) if thread then session.threads[thread]=nil end end if kind=="delay" then thread=nativeTask.delay(delay,callbackWrapper,...) else thread=nativeTask[kind](callbackWrapper,...) end if coroutine.status(thread)~="dead" then session.threads[thread]=true end return thread end function managedTask.spawn(callback,...) return schedule("spawn",nil,callback,...) end function managedTask.defer(callback,...) return schedule("defer",nil,callback,...) end function managedTask.delay(delay,callback,...) return schedule("delay",delay,callback,...) end function managedTask.wait(...) if not session.Active then error("FUST session stopped",0) end session.threads[coroutine.running()]=true local result=table.pack(nativeTask.wait(...)) if not session.Active then error("FUST session stopped",0) end return table.unpack(result,1,result.n) end local managedInstance=setmetatable({new=function(...) return session:Own(nativeInstance.new(...)) end},{__index=nativeInstance}) local drawingProxy=setmetatable({new=function(...) local api=shared.Drawing or nativeDrawing if not api then return setmetatable({Remove=function() end},{__index=function() return nil end}) end local drawing=api.new(...) session.drawings[drawing]=true return drawing end},{__index=function(_,key) local api=shared.Drawing or nativeDrawing return api and api[key] end}) local function __FustMain(task, Instance, Drawing, __FustRuntime) local function _svc(name) local s = game:GetService(name) return (cloneref and cloneref(s)) or s end local Players = _svc("Players") local ReplicatedStorage = _svc("ReplicatedStorage") local SoundService = _svc("SoundService") local Debris = _svc("Debris") local UserInputService = _svc("UserInputService") local RunService = _svc("RunService") local Lighting = _svc("Lighting") local HttpService = _svc("HttpService") local TweenService = _svc("TweenService") local CollectionService = _svc("CollectionService") local workspace = _svc("Workspace") local LocalPlayer = Players.LocalPlayer local PlayerList = Players:GetPlayers() __FustRuntime:Signal(Players.PlayerAdded):Connect(function(p) if not table.find(PlayerList, p) then PlayerList[#PlayerList + 1] = p end end) __FustRuntime:Signal(Players.PlayerRemoving):Connect(function(p) local i = table.find(PlayerList, p); if i then table.remove(PlayerList, i) end end) local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") do local mouseBehavior,mouseIcon=UserInputService.MouseBehavior,UserInputService.MouseIconEnabled __FustRuntime:AddCleanup(function() UserInputService.MouseBehavior=mouseBehavior UserInputService.MouseIconEnabled=mouseIcon end) end local IS_MOBILE = (UserInputService.TouchEnabled and not UserInputService.KeyboardEnabled) local function __run(name, fn) if not __FustRuntime.Active then return false end local ok, err = xpcall(fn, debug.traceback) if not ok then warn("[FUST] section '" .. name .. "' FAILED: " .. tostring(err)) end return ok end __run("shims", function() local env = (type(getgenv) == "function" and getgenv()) or _G if not isourclosure then env.isourclosure = isexecutorclosure or is_synapse_function or function() return false end end if not checkcaller then env.checkcaller = function() return false end end if not newcclosure then env.newcclosure = function(f) return f end end if not getrawmetatable then env.getrawmetatable = debug.getrawmetatable end if not setreadonly then env.setreadonly = make_writeable or function() end end if not getnamecallmethod then env.getnamecallmethod = debug.getnamecallmethod end if not cloneref then env.cloneref = function(x) return x end end if not gethui then env.gethui = function() return game:GetService("CoreGui") end end if not Drawing then env.Drawing = { new = function() return setmetatable({ Remove = function() end }, { __index = function() return nil end }) end } end end) do local env = (type(getgenv) == "function" and getgenv()) or _G if not env.LPH_NO_VIRTUALIZE then env.LPH_NO_VIRTUALIZE = function(f) return f end end if not _G.LPH_NO_VIRTUALIZE then _G.LPH_NO_VIRTUALIZE = env.LPH_NO_VIRTUALIZE end end local function hostGui() local ok, h ok, h = pcall(function() return gethui and gethui() end); if ok and h then return h end ok, h = pcall(function() return get_hidden_gui and get_hidden_gui() end); if ok and h then return h end local okc, cg = pcall(function() return game:GetService("CoreGui") end); if okc and cg then return cg end return PlayerGui end local GUI_PARENT = hostGui() local function randName() return HttpService:GenerateGUID(false):sub(1, 12) end local NAMES = { full = randName(), notif = randName(), popup = randName(), toggle = randName(), mobile = randName() } local VIP = {} VIP.shutdown=function() return __FustRuntime:Shutdown() end VIP.perf=function(on) __FustRuntime.prof = on and {} or nil end VIP.perfReport=function() local pr=__FustRuntime.prof if not pr then print("[FUST] profiler is off"); return end local rows={} for k,e in pairs(pr) do rows[#rows+1]={k=k,e=e} end table.sort(rows,function(a,b) return a.e.t>b.e.t end) local out={"=== FUST PERF: callbacks by total time ==="} for i=1,math.min(#rows,15) do local r=rows[i] out[#out+1]=string.format("%s | total %.1fms | calls %d | avg %.3fms | worst %.2fms",r.k,r.e.t*1000,r.e.n,r.e.t*1000/r.e.n,r.e.max*1000) end local txt=table.concat(out,"\n") print(txt) pcall(function() if setclipboard then setclipboard(txt) end end) end VIP.notifyW = IS_MOBILE and 230 or 300 local TOP_ORDER = 2147483000 local Theme = { Background=Color3.fromRGB(30,17,26),Sidebar=Color3.fromRGB(30,17,26),Panel=Color3.fromRGB(45,27,39), Panel2=Color3.fromRGB(58,35,51),Panel3=Color3.fromRGB(84,53,74),Border=Color3.fromRGB(88,55,77), BorderLight=Color3.fromRGB(136,86,119),Cyan=Color3.fromRGB(255,156,198),CyanSoft=Color3.fromRGB(255,208,226), CyanDark=Color3.fromRGB(146,58,98),Pink=Color3.fromRGB(255,156,198),Green=Color3.fromRGB(80,220,140), Red=Color3.fromRGB(240,90,90),Yellow=Color3.fromRGB(240,200,90),Purple=Color3.fromRGB(150,90,220), White=Color3.fromRGB(255,248,251),Text=Color3.fromRGB(248,226,238),SubText=Color3.fromRGB(210,166,188), Muted=Color3.fromRGB(154,116,138),Disabled=Color3.fromRGB(68,45,60), Track=Color3.fromRGB(74,47,65),KnobOff=Color3.fromRGB(146,108,131),KnobOn=Color3.fromRGB(255,226,237), LogoHi=Color3.fromRGB(255,234,243),LogoLo=Color3.fromRGB(255,134,184), } local ACCENT = Theme.Cyan local function New(cls, props, parent) local o = Instance.new(cls) for k, v in pairs(props or {}) do o[k] = v end o.Parent = parent; return o end local function Corner(o, r) local c = Instance.new("UICorner") if r == "pill" then c.CornerRadius = UDim.new(1, 0) else c.CornerRadius = UDim.new(0, math.clamp(tonumber(r) or 8, 0, 24)) end c.Parent = o; return c end local function Outline(o, color, thick, trans) local s = Instance.new("UIStroke") s.Color = color or Theme.Border; s.Thickness = thick or 1; s.Transparency = trans or 0 s.ApplyStrokeMode = Enum.ApplyStrokeMode.Border; s.LineJoinMode = Enum.LineJoinMode.Round s.Parent = o; return s end local function Tween(o, p, d) local t = TweenService:Create(o, TweenInfo.new(d or 0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), p) t:Play(); return t end local function Label(parent, text, pos, size, ts, color) return New("TextLabel", { Position=pos,Size=size,BackgroundTransparency=1,Text=text,Font=Enum.Font.Gotham, TextSize=ts or 10,TextColor3=color or Theme.Text, TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Center, }, parent) end local function tp(fn, ...) return xpcall(fn, function() end, ...) end local INP = {} function INP.press(input) return input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch end function INP.move(input, tracked) return input.UserInputType == Enum.UserInputType.MouseMovement or (tracked ~= nil and input == tracked) end function INP.release(input, tracked) if input == tracked then return true end return tracked ~= nil and tracked.UserInputType == Enum.UserInputType.MouseButton1 and input.UserInputType == Enum.UserInputType.MouseButton1 end local Items = nil task.spawn(function() pcall(function() local mod = ReplicatedStorage:FindFirstChild("Fust") and ReplicatedStorage.Fust:FindFirstChild("Items") if mod and mod:IsA("ModuleScript") then local ok, m = pcall(require, mod) if ok and type(m) == "table" then Items = m end end end) end) local NotifyGui = New("ScreenGui",{Name=NAMES.notif,ResetOnSpawn=false,IgnoreGuiInset=true,DisplayOrder=TOP_ORDER+10,ZIndexBehavior=Enum.ZIndexBehavior.Sibling},GUI_PARENT) local NotifyHolder = New("Frame",{AnchorPoint=Vector2.new(1,1),Position=UDim2.new(1,-14,1,-14),Size=UDim2.fromOffset(VIP.notifyW+20,500),BackgroundTransparency=1},NotifyGui) New("UIListLayout",{Padding=UDim.new(0,6),HorizontalAlignment=Enum.HorizontalAlignment.Right,VerticalAlignment=Enum.VerticalAlignment.Bottom,SortOrder=Enum.SortOrder.LayoutOrder},NotifyHolder) local TextService = game:GetService("TextService") -- menu sounds --------------------------------------------------------------------------------------------- local sfx = { enabled = true, volume = 0.6, sounds = {} } VIP.sfx = sfx do local RATE = 22050 local function le(n, bytes) local t = {} for i = 1, bytes do t[i] = string.char(n % 256); n = math.floor(n / 256) end return table.concat(t) end local function mix(buf, t0, dur, f0, f1, vol, decay, attack) local base = math.floor(t0 * RATE) local n = math.floor(dur * RATE) local att = attack or 0.004 local phase = 0 for i = 0, n - 1 do local t = i / RATE local f = f0 + (f1 - f0) * (i / n) phase = phase + 2 * math.pi * f / RATE local env = math.min(t / att, 1) * math.exp(-t * decay) local fade = math.min((n - 1 - i) / (RATE * 0.005), 1) local s = (math.sin(phase) + 0.28 * math.sin(2 * phase) + 0.1 * math.sin(3 * phase)) * env * fade * vol local idx = base + i + 1 buf[idx] = (buf[idx] or 0) + s end end local function wav(buf) local n, peak = 0, 0 for i, v in pairs(buf) do if i > n then n = i end if math.abs(v) > peak then peak = math.abs(v) end end local gain = peak > 0.85 and (0.85 / peak) or 1 local out = table.create(n) for i = 1, n do local v = math.floor(math.clamp((buf[i] or 0) * gain, -1, 1) * 32767 + 0.5) if v < 0 then v = v + 65536 end out[i] = string.char(v % 256, math.floor(v / 256)) end local pcm = table.concat(out) return "RIFF" .. le(36 + #pcm, 4) .. "WAVEfmt " .. le(16, 4) .. le(1, 2) .. le(1, 2) .. le(RATE, 4) .. le(RATE * 2, 4) .. le(2, 2) .. le(16, 2) .. "data" .. le(#pcm, 4) .. pcm end local DEFS = { click = function(b) mix(b, 0, 0.045, 1900, 1500, 0.55, 70, 0.001) end, tab = function(b) mix(b, 0, 0.04, 1500, 1350, 0.4, 85, 0.002) end, select = function(b) mix(b, 0, 0.06, 1250, 1250, 0.45, 55, 0.002) end, tick = function(b) mix(b, 0, 0.022, 1700, 1700, 0.3, 120, 0.001) end, on = function(b) mix(b, 0, 0.08, 720, 720, 0.5, 26) mix(b, 0.055, 0.12, 1080, 1080, 0.5, 22) end, off = function(b) mix(b, 0, 0.08, 1080, 1080, 0.45, 26) mix(b, 0.055, 0.12, 720, 720, 0.45, 22) end, open = function(b) mix(b, 0, 0.17, 420, 880, 0.45, 13, 0.012) mix(b, 0.02, 0.15, 630, 1320, 0.15, 14, 0.012) end, close = function(b) mix(b, 0, 0.15, 880, 420, 0.4, 15, 0.008) end, notify = function(b) mix(b, 0, 0.24, 988, 988, 0.4, 15) mix(b, 0, 0.24, 1480, 1480, 0.12, 19) end, success = function(b) mix(b, 0, 0.1, 784, 784, 0.45, 22) mix(b, 0.07, 0.2, 1175, 1175, 0.45, 15) end, warn = function(b) mix(b, 0, 0.1, 466, 466, 0.5, 22) mix(b, 0.12, 0.13, 466, 466, 0.5, 18) end, error = function(b) mix(b, 0, 0.2, 300, 190, 0.55, 12) mix(b, 0, 0.2, 450, 285, 0.15, 12) end, } task.spawn(function() if not (writefile and getcustomasset and isfile) then return end for name, build in pairs(DEFS) do pcall(function() local path = "fust_ui_sfx_v1_" .. name .. ".wav" if not isfile(path) then local buf = {} build(buf) writefile(path, wav(buf)) end local s = Instance.new("Sound") s.Name = "s"; s.SoundId = getcustomasset(path); s.Volume = 0.5 s.Parent = NotifyGui sfx.sounds[name] = s end) end end) function sfx.play(name, vol) if not sfx.enabled then return end local s = sfx.sounds[name] if not s then return end s.Volume = math.clamp(sfx.volume * (vol or 1), 0, 1) s.TimePosition = 0 s:Play() end end -- notifications --------------------------------------------------------------------------------------------- local NOTIFY_KIND = { info = { title = "Notice", color = function() return Theme.Cyan end, sound = "notify" }, success = { title = "Success", color = function() return Theme.Green end, sound = "success" }, warn = { title = "Warning", color = function() return Theme.Yellow end, sound = "warn" }, error = { title = "Error", color = function() return Theme.Red end, sound = "error" }, on = { title = "Enabled", color = function() return Theme.Cyan end, sound = "on" }, off = { title = "Disabled", color = function() return Theme.Muted end, sound = "off" }, } local notifyCounter = 0 local function notifyEx(title, text, kind, duration, silent) if VIP.quietNotify and VIP.quietNotify() then return end kind = NOTIFY_KIND[kind] and kind or "info" duration = duration or 3 local spec = NOTIFY_KIND[kind] local col = spec.color() local isToggle = kind == "on" or kind == "off" local textCol = isToggle and col or Theme.SubText title = (title and title ~= "") and tostring(title) or spec.title text = tostring(text or "") local W = VIP.notifyW local th = TextService:GetTextSize(text, 11, Enum.Font.Gotham, Vector2.new(W - 32, 200)).Y local H = math.clamp(34 + math.max(th, 14) + 10, 52, 120) -- one toast per title: switching an option twice quickly replaces the old toast instead of stacking local live = {} for _, c in ipairs(NotifyHolder:GetChildren()) do if c:IsA("Frame") then if c:GetAttribute("key") == title then c:Destroy() else live[#live + 1] = c end end end if #live >= 5 then table.sort(live, function(x, y) return x.LayoutOrder < y.LayoutOrder end) live[1]:Destroy() end notifyCounter += 1 if not silent and VIP.sfx then VIP.sfx.play(spec.sound) end local slot = New("Frame",{Size=UDim2.fromOffset(W,H),BackgroundTransparency=1,LayoutOrder=notifyCounter},NotifyHolder) slot:SetAttribute("key", title) local toast = New("Frame",{Size=UDim2.fromScale(1,1),Position=UDim2.new(0,W+30,0,0),BackgroundColor3=Theme.Panel,BorderSizePixel=0,ClipsDescendants=true},slot) Corner(toast, 4) local tStroke = Outline(toast, Theme.Border, 1, 0) New("Frame",{Size=UDim2.new(0,3,1,0),BackgroundColor3=col,BorderSizePixel=0},toast) local tl = Label(toast, title, UDim2.fromOffset(16,9), UDim2.new(1,-28,0,16), 13, Theme.White) tl.Font = Enum.Font.GothamBold; tl.TextTruncate = Enum.TextTruncate.AtEnd local ml = Label(toast, text, UDim2.fromOffset(16,27), UDim2.new(1,-28,0,H-37), 11, textCol) ml.TextWrapped = true; ml.TextYAlignment = Enum.TextYAlignment.Top if isToggle then ml.Font = Enum.Font.GothamMedium end local track = New("Frame",{Position=UDim2.new(0,0,1,-2),Size=UDim2.new(1,0,0,2),BackgroundColor3=Theme.Panel3,BorderSizePixel=0},toast) local fill = New("Frame",{Size=UDim2.fromScale(1,1),BackgroundColor3=col,BorderSizePixel=0},track) local hit = New("TextButton",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1,Text="",AutoButtonColor=false,ZIndex=5},toast) TweenService:Create(toast,TweenInfo.new(0.38,Enum.EasingStyle.Quint,Enum.EasingDirection.Out),{Position=UDim2.new(0,0,0,0)}):Play() TweenService:Create(fill,TweenInfo.new(duration,Enum.EasingStyle.Linear),{Size=UDim2.new(0,0,1,0)}):Play() local gone = false local function dismiss() if gone or not slot.Parent then return end gone = true TweenService:Create(toast,TweenInfo.new(0.24,Enum.EasingStyle.Quad,Enum.EasingDirection.In),{Position=UDim2.new(0,W+30,0,0)}):Play() task.wait(0.25) if not slot.Parent then return end TweenService:Create(slot,TweenInfo.new(0.18,Enum.EasingStyle.Quad),{Size=UDim2.fromOffset(W,0)}):Play() task.wait(0.2); slot:Destroy() end __FustRuntime:Signal(hit.MouseButton1Click):Connect(function() task.spawn(dismiss) end) task.delay(duration, dismiss) end local function notify(text, kind, duration) -- the old per-feature "X on / X off" messages are replaced by the toggle toast, so they are dropped if (kind == nil or kind == "info" or kind == "success") and os.clock() - (VIP.lastToggleAt or -10) < 0.4 then return end local k = NOTIFY_KIND[kind] and kind or "info" notifyEx(NOTIFY_KIND[k].title, text, k, duration) end VIP.notifyEx = notifyEx -- ===== menu-only build: no gameplay code, these are empty stand-ins so the menu can be drawn ===== local function noop() end local Remotes = {} local Team = { ids = {} } local sa, weak, manip, thirdPerson, setTP = { mode = "Threat Level" }, {}, {}, {}, nil local Config = { items = {}, order = {}, loading = false, register = noop, list = function() return {} end, getAutoload = noop, setAutoload = noop, delete = noop, resetDefaults = noop, clean = function(s) return s end, save = function() return false, "locked" end, load = function() return false, "locked" end } VIP.hudBars = { range = { enabled = false } } VIP.ricochet, VIP.hitScan, VIP.manip, VIP.gunPush, VIP.bhop = {}, {}, {}, {}, {} VIP.espSettings, VIP.espFlags, VIP.espObjects, VIP.nodeESPSettings, VIP.lootBagESP = {}, {}, {}, {}, {} VIP.hitFeedback, VIP.crosshair, VIP.radar, VIP.staff, VIP.inv, VIP.aiFilter = {}, {}, {}, {}, {}, {} VIP.watermark = { enabled = false, color = Theme.Cyan } VIP.fovOpt = { color = Theme.Cyan, lockedColor = Color3.fromRGB(90, 235, 120) } VIP.tracerFX = { style = "Heavenly", color = Theme.Cyan } VIP.tracerStyles = { "Heavenly", "Comet", "Laser", "Plasma" } VIP.crosshairStyles = { "Cross", "X", "Gap Cross", "Triangle", "Circle", "Star of David" } VIP.watermarkCorners = { "Top Left", "Top Center", "Top Right", "Bottom Left", "Bottom Right" } VIP.getTrajectoryColor = function() return Theme.Cyan end for _, n in ipairs({ "setLeadMult", "setAttComp", "setPlatVel", "setRicochet", "setThickBullet", "setThickRadius", "setThickPart", "setGunPush", "setJumpShoot", "setInvViewer", "setGunEnabled", "setGunColor", "setGunMaterial", "setShowFovCircle", "setShowTrajectory", "setTrajectoryColor", "setFovRadius", "clearEsp", "clearTracers", "refreshNodes", "aiRefresh", "staffRescan", "perf", "perfReport" }) do VIP[n] = noop end local UI_EXPORT = { VIP = VIP, Config = Config, Theme = Theme, ACCENT = ACCENT, IS_MOBILE = IS_MOBILE, NAMES = NAMES, TOP_ORDER = TOP_ORDER, GUI_PARENT = GUI_PARENT, NotifyGui = NotifyGui, New = New, Label = Label, Outline = Outline, Corner = Corner, Tween = Tween, notify = notify, notifyEx = notifyEx, __run = __run, _svc = _svc, INP = INP, HttpService = HttpService, Lighting = Lighting, LocalPlayer = LocalPlayer, Players = Players, Remotes = Remotes, RunService = RunService, UserInputService = UserInputService, Team = Team, workspace = workspace, sa = sa, weak = weak, manip = manip, thirdPerson = thirdPerson, setTP = setTP, } VIP.uiExport = UI_EXPORT __run("UI", function() if not __FustRuntime.Active then return end local ok3, err3 = pcall(function() local E = UI_EXPORT local VIP = E.VIP local Config = E.Config local Theme = E.Theme local ACCENT = E.ACCENT local IS_MOBILE = E.IS_MOBILE local NAMES = E.NAMES local TOP_ORDER = E.TOP_ORDER local GUI_PARENT = E.GUI_PARENT local NotifyGui = E.NotifyGui local New = E.New local Label = E.Label local Outline = E.Outline local Corner = E.Corner local Tween = E.Tween local notify = E.notify local notifyEx = E.notifyEx local __run = E.__run local _svc = E._svc local INP = E.INP local HttpService = E.HttpService local Lighting = E.Lighting local LocalPlayer = E.LocalPlayer local Players = E.Players local Remotes = E.Remotes local RunService = E.RunService local UserInputService = E.UserInputService local Team = E.Team local workspace = E.workspace local sa = E.sa local weak = E.weak local manip = E.manip local thirdPerson = E.thirdPerson local setTP = E.setTP local UI = { font = Enum.Font.Gotham, fontMed = Enum.Font.GothamMedium, fontBold = Enum.Font.GothamBold, textService = game:GetService("TextService"), width = IS_MOBILE and 600 or 700, height = IS_MOBILE and 350 or 640, scale = 1, sideW = 0, topH = IS_MOBILE and 40 or 58, brand = "external.wtf", pages = {}, pageInfo = {}, cats = {}, current = nil, activeCat = nil, } __run("MAIN WINDOW", function() if IS_MOBILE then local cam = workspace.CurrentCamera local vp = cam and cam.ViewportSize or Vector2.new(800,360) UI.scale = math.clamp(math.min(vp.X*0.94/UI.width, vp.Y*0.9/UI.height), 0.5, 1.05) else UI.scale = 0.85 -- fixed: the menu is always 85% end UI.gui = New("ScreenGui",{Name=NAMES.full,ResetOnSpawn=false,IgnoreGuiInset=true,DisplayOrder=TOP_ORDER,ZIndexBehavior=Enum.ZIndexBehavior.Sibling},GUI_PARENT) UI.main = New("Frame",{Name="Window",AnchorPoint=Vector2.new(0.5,0.5),Size=UDim2.fromOffset(UI.width,UI.height),Position=UDim2.fromScale(0.5,0.5),BackgroundColor3=Theme.Background,BorderSizePixel=0},UI.gui) Corner(UI.main, 4) UI.mainStroke = Outline(UI.main, Theme.Border, 1, 0) UI.uiScale = New("UIScale",{Scale=UI.scale},UI.main) UI.mainGradient = New("UIGradient",{Enabled=false,Rotation=90,Color=ColorSequence.new(Color3.new(1,1,1),Color3.fromRGB(242,216,230))},UI.main) local topBar = New("Frame",{Size=UDim2.new(1,0,0,UI.topH),BackgroundTransparency=1},UI.main) New("Frame",{Position=UDim2.new(0,0,1,-1),Size=UDim2.new(1,0,0,1),BackgroundColor3=Theme.Border,BorderSizePixel=0},topBar) local logo = Label(topBar, "", UDim2.fromOffset(IS_MOBILE and 10 or 20, 0), UDim2.fromOffset(IS_MOBILE and 120 or 170, UI.topH - 1), IS_MOBILE and 14 or 17, Color3.new(1,1,1)) logo.Font = Enum.Font.GothamBold; logo.RichText = true logo.Text = 'external.wtf' UI.logoGradient = New("UIGradient",{Enabled=false,Rotation=90,Color=ColorSequence.new(Theme.LogoHi,Theme.LogoLo)},logo) -- "PRIVATE" tag next to the brand do local fs = IS_MOBILE and 14 or 17 local tw = UI.textService:GetTextSize("external.wtf", fs, Enum.Font.GothamBold, Vector2.new(400, 40)).X local tag = New("Frame",{Position=UDim2.fromOffset((IS_MOBILE and 10 or 20) + tw + 8, math.floor((UI.topH - 1 - 16) / 2)),Size=UDim2.fromOffset(IS_MOBILE and 46 or 52,16),BackgroundColor3=Theme.Cyan,BackgroundTransparency=0.86,BorderSizePixel=0},topBar) Corner(tag, 3); Outline(tag, Theme.Cyan, 1, 0.3) local tl = Label(tag, "FREE", UDim2.new(), UDim2.fromScale(1,1), 9, Theme.Cyan) tl.Font = Enum.Font.GothamBold; tl.TextXAlignment = Enum.TextXAlignment.Center end UI.headerIcons = New("Frame",{Size=UDim2.fromOffset(0,0),BackgroundTransparency=1,Visible=false},topBar) UI.headerTitle = Label(topBar, "", UDim2.new(), UDim2.fromOffset(0,0), 12, Theme.White) UI.headerTitle.Visible = false local tabX = IS_MOBILE and 130 or 190 UI.tabRow = New("Frame",{Position=UDim2.fromOffset(tabX,0),Size=UDim2.new(1,-tabX-8,1,0),BackgroundTransparency=1},topBar) New("UIListLayout",{FillDirection=Enum.FillDirection.Horizontal,HorizontalAlignment=Enum.HorizontalAlignment.Right,SortOrder=Enum.SortOrder.LayoutOrder},UI.tabRow) UI.baseScale = UI.scale local TS = game:GetService("TweenService") function UI.sfx(n) if VIP.sfx then pcall(VIP.sfx.play, n) end end -- custom cursor: a dot and a ring that trail the real mouse with a smooth delay while the menu is open UI.cur = { enabled = true, delay = 40 } do local cgui = New("ScreenGui",{Name=game:GetService("HttpService"):GenerateGUID(false):sub(1,10),ResetOnSpawn=false,IgnoreGuiInset=true,DisplayOrder=TOP_ORDER+40,ZIndexBehavior=Enum.ZIndexBehavior.Sibling},GUI_PARENT) local ring = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Size=UDim2.fromOffset(24,24),BackgroundTransparency=1,Visible=false},cgui) Corner(ring, "pill") local ringStroke = Outline(ring, Theme.Cyan, 1.5, 0.35) local dot = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Size=UDim2.fromOffset(6,6),BackgroundColor3=Theme.Cyan,BorderSizePixel=0,Visible=false},cgui) Corner(dot, "pill") local px, py, rx, ry = 0, 0, 0, 0 local active, down, prevIcon = false, false, true local function restoreIcon() pcall(function() UserInputService.MouseIconEnabled = prevIcon ~= false end) end __FustRuntime:Signal(UserInputService.InputBegan):Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then down = true end end) __FustRuntime:Signal(UserInputService.InputEnded):Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then down = false end end) __FustRuntime:Signal(RunService.RenderStepped):Connect(function(dt) local want = (not IS_MOBILE) and UI.cur.enabled and UI.gui.Enabled if want ~= active then active = want ring.Visible, dot.Visible = want, want if want then prevIcon = UserInputService.MouseIconEnabled UserInputService.MouseIconEnabled = false local m = UserInputService:GetMouseLocation() px, py, rx, ry = m.X, m.Y, m.X, m.Y else restoreIcon() end end if not active then return end local m = UserInputService:GetMouseLocation() local rate = 55 - 47 * math.clamp(UI.cur.delay / 100, 0, 1) local a = 1 - math.exp(-rate * dt) local b = 1 - math.exp(-rate * 0.45 * dt) px = px + (m.X - px) * a; py = py + (m.Y - py) * a rx = rx + (m.X - rx) * b; ry = ry + (m.Y - ry) * b dot.Position = UDim2.fromOffset(px, py) ring.Position = UDim2.fromOffset(rx, ry) local s = ring.Size.X.Offset s = s + ((down and 15 or 24) - s) * (1 - math.exp(-24 * dt)) ring.Size = UDim2.fromOffset(s, s) dot.BackgroundColor3 = Theme.Cyan ringStroke.Color = Theme.Cyan end) __FustRuntime:AddCleanup(function() if active then restoreIcon() end pcall(function() cgui:Destroy() end) end) end -- opening pops the window up from slightly smaller, closing shrinks it back before it is hidden function UI.toggleOpen() UI.openToken = (UI.openToken or 0) + 1 local tok = UI.openToken local base = UI.baseScale if not UI.gui.Enabled then UI.uiScale.Scale = base * 0.94 UI.gui.Enabled = true UI.sfx("open") TS:Create(UI.uiScale, TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), { Scale = base }):Play() else UI.sfx("close") TS:Create(UI.uiScale, TweenInfo.new(0.16, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { Scale = base * 0.94 }):Play() task.delay(0.17, function() if UI.openToken == tok then UI.gui.Enabled = false UI.uiScale.Scale = UI.baseScale end end) end end UI.stripH = IS_MOBILE and 34 or 42 UI.footerH = 26 -- footer bar: closes the window off cleanly so content never runs into the bottom edge local footer = New("Frame",{AnchorPoint=Vector2.new(0,1),Position=UDim2.new(0,0,1,0),Size=UDim2.new(1,0,0,UI.footerH),BackgroundTransparency=1},UI.main) New("Frame",{Size=UDim2.new(1,0,0,1),BackgroundColor3=Theme.Border,BorderSizePixel=0},footer) Label(footer, "external.wtf | FREE VERSION | discord.gg/SCDA2xV84c", UDim2.fromOffset(16,1), UDim2.new(0.5,-16,1,-1), 11, Theme.Muted) local hint = Label(footer, "FULL VERSION: join the Discord", UDim2.new(0.5,0,0,1), UDim2.new(0.5,-16,1,-1), 11, Theme.Muted) hint.TextXAlignment = Enum.TextXAlignment.Right UI.content = New("Frame",{Position=UDim2.fromOffset(0,UI.topH+UI.stripH),Size=UDim2.new(1,0,1,-(UI.topH+UI.stripH+UI.footerH)),BackgroundTransparency=1,ClipsDescendants=true},UI.main) local dragging, dragInput, dragStart, startPos = false, nil, nil, nil __FustRuntime:Signal(topBar.InputBegan):Connect(function(input) if INP.press(input) then dragging,dragInput,dragStart,startPos=true,input,input.Position,UI.main.Position end end) __FustRuntime:Signal(UserInputService.InputEnded):Connect(function(i) if dragging and INP.release(i,dragInput) then dragging=false end end) __FustRuntime:Signal(UserInputService.InputChanged):Connect(function(input) if dragging and INP.move(input, dragInput) then local d = input.Position - dragStart UI.main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y) end end) __FustRuntime:Signal(UserInputService.InputBegan):Connect(function(input, p) if p or VIP.bindListening then return end if input.KeyCode == Enum.KeyCode.RightShift then UI.toggleOpen() end end) end) __run("FLOATING OPEN BUTTON", function() local size = IS_MOBILE and 42 or 34 local tg = New("ScreenGui",{Name=NAMES.toggle,ResetOnSpawn=false,IgnoreGuiInset=true,DisplayOrder=TOP_ORDER+20,ZIndexBehavior=Enum.ZIndexBehavior.Sibling},GUI_PARENT) UI.floatGui = tg local btn = New("TextButton",{ Position=UDim2.new(0,10,0.3,0), Size=UDim2.fromOffset(size,size), BackgroundColor3=Theme.Panel, BackgroundTransparency=0.05, BorderSizePixel=0, AutoButtonColor=false, Text=UI.brand:sub(1,1), Font=Enum.Font.GothamBlack, TextSize=IS_MOBILE and 20 or 17, TextColor3=Theme.Cyan, }, tg) Corner(btn,"pill") local ring = Outline(btn, Theme.Cyan, 1.5) local function toggle() UI.toggleOpen() end VIP.toggleMenu = toggle local dragging, moved, dragInput, dragStart, startPos = false, false, nil, nil, nil __FustRuntime:Signal(btn.InputBegan):Connect(function(i) if INP.press(i) then dragging,moved,dragInput,dragStart,startPos=true,false,i,i.Position,btn.Position end end) __FustRuntime:Signal(UserInputService.InputChanged):Connect(function(input) if dragging and INP.move(input, dragInput) then local d = input.Position - dragStart if d.Magnitude > 8 then moved = true end if moved then btn.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset+d.X, startPos.Y.Scale, startPos.Y.Offset+d.Y) end end end) __FustRuntime:Signal(UserInputService.InputEnded):Connect(function(i) if dragging and INP.release(i, dragInput) then dragging = false if not moved then toggle() end end end) task.spawn(function() while btn.Parent do ring.Color = UI.gui.Enabled and Theme.CyanSoft or Theme.Border; task.wait(0.2) end end) end) local PopupGui = nil local closeOpenDropdown = nil local function popupLayer() if PopupGui and PopupGui.Parent then return PopupGui end PopupGui = New("ScreenGui",{Name=NAMES.popup,ResetOnSpawn=false,IgnoreGuiInset=true,DisplayOrder=TOP_ORDER+5,ZIndexBehavior=Enum.ZIndexBehavior.Sibling},GUI_PARENT) return PopupGui end local function onScreen(o) while o and o ~= game do if o:IsA("GuiObject") and not o.Visible then return false end if o:IsA("ScreenGui") then return o.Enabled end o = o.Parent end return false end function UI.pointer(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseMovement then return UserInputService:GetMouseLocation() end return Vector2.new(input.Position.X, input.Position.Y) + game:GetService("GuiService"):GetGuiInset() end local function CreatePage(key) local p = New("ScrollingFrame",{ Name=key, Size=UDim2.fromScale(1,1), BackgroundTransparency=1, BorderSizePixel=0, Visible=false, ScrollBarThickness=IS_MOBILE and 4 or 2, ScrollBarImageColor3=Theme.Cyan, ScrollBarImageTransparency=0.35, AutomaticCanvasSize=Enum.AutomaticSize.Y, CanvasSize=UDim2.new(0,0,0,0), ScrollingDirection=Enum.ScrollingDirection.Y, VerticalScrollBarInset=Enum.ScrollBarInset.None, }, UI.content) New("UIPadding",{PaddingLeft=UDim.new(0,16),PaddingRight=UDim.new(0,16),PaddingTop=UDim.new(0,14),PaddingBottom=UDim.new(0,18)}, p) New("UIListLayout",{Padding=UDim.new(0,14),SortOrder=Enum.SortOrder.LayoutOrder}, p) UI.pages[key] = p; return p end local function Layout(slots) local grids, h = {}, {} for i, s in ipairs(slots) do local page, side = s[1], s[2] local cols = grids[page] if not cols then local grid = New("Frame",{Size=UDim2.new(1,0,0,0),AutomaticSize=Enum.AutomaticSize.Y,BackgroundTransparency=1},page) cols = {} for c = 1, 2 do local col = New("Frame",{Position=UDim2.new((c-1)*0.5,(c-1)*7,0,0),Size=UDim2.new(0.5,-7,0,0),AutomaticSize=Enum.AutomaticSize.Y,BackgroundTransparency=1}, grid) New("UIListLayout",{Padding=UDim.new(0,14),SortOrder=Enum.SortOrder.LayoutOrder}, col) cols[c] = col end grids[page] = cols end h[i] = New("Frame",{Size=UDim2.new(1,0,0,0),AutomaticSize=Enum.AutomaticSize.Y,BackgroundTransparency=1,LayoutOrder=i}, cols[side == "R" and 2 or 1]) end return h end local function SubTabs(page, names) local bar = New("Frame",{Size=UDim2.new(1,0,0,28),BackgroundTransparency=1,LayoutOrder=-1}, page) New("UIListLayout",{FillDirection=Enum.FillDirection.Horizontal,Padding=UDim.new(0,6),SortOrder=Enum.SortOrder.LayoutOrder}, bar) local out, btns = {}, {} local function show(name) for n, f in pairs(out) do f.Visible = (n == name) end for n, b in pairs(btns) do local on = n == name b.TextColor3 = on and Theme.Cyan or Theme.White local ul = b:FindFirstChild("ul"); if ul then ul.Visible = on end end end for i, name in ipairs(names) do local b = New("TextButton",{ Size=UDim2.fromOffset(0,24), AutomaticSize=Enum.AutomaticSize.X, BackgroundTransparency=1, BorderSizePixel=0, AutoButtonColor=false, Text=" " .. name .. " ", Font=UI.fontMed, TextSize=13, TextColor3=Theme.SubText, LayoutOrder=i, }, bar) New("Frame",{Name="ul",AnchorPoint=Vector2.new(0,1),Position=UDim2.new(0,0,1,0),Size=UDim2.new(1,0,0,2),BackgroundColor3=Theme.Cyan,BorderSizePixel=0,Visible=false},b) local holder = New("Frame",{Size=UDim2.new(1,0,0,0),AutomaticSize=Enum.AutomaticSize.Y,BackgroundTransparency=1,LayoutOrder=i,Visible=false}, page) out[name] = holder btns[name] = b __FustRuntime:Signal(b.MouseButton1Click):Connect(function() show(name) end) end show(names[1]) return out end local function Card(parent, title) local p = New("Frame",{Size=UDim2.new(1,0,0,0),AutomaticSize=Enum.AutomaticSize.Y,BackgroundColor3=Theme.Panel,BorderSizePixel=0}, parent) Corner(p, 3); Outline(p, Theme.Border, 1, 0) New("UIPadding",{PaddingLeft=UDim.new(0,12),PaddingRight=UDim.new(0,12),PaddingTop=UDim.new(0,6),PaddingBottom=UDim.new(0,8)}, p) New("UIListLayout",{Padding=UDim.new(0,0),SortOrder=Enum.SortOrder.LayoutOrder}, p) if title and title ~= "" then local t = Label(p, title, UDim2.new(), UDim2.new(1,0,0,28), 13, Theme.White) t.Font = UI.fontBold; t.LayoutOrder = 0 end return p end function UI.row(parent, h, div) local n = (parent:GetAttribute("rows") or 0) + 1 parent:SetAttribute("rows", n) local row = New("Frame",{Size=UDim2.new(1,0,0,h),BackgroundTransparency=1,LayoutOrder=n}, parent) if false and div and n > 1 then New("Frame",{Size=UDim2.new(1,0,0,1),BackgroundColor3=Theme.Border,BackgroundTransparency=0.3,BorderSizePixel=0}, row) end return row end function UI.rowText(row, name, desc, rightW, top) local has = desc ~= nil and desc ~= "" local l if has or top then l = Label(row, name, UDim2.fromOffset(0, has and 9 or 8), UDim2.new(1,-(rightW+10),0,15), 12, Theme.White) else l = Label(row, name, UDim2.new(), UDim2.new(1,-(rightW+10),1,0), 12, Theme.White) end l.Font = UI.fontMed; l.TextTruncate = Enum.TextTruncate.AtEnd if has then local d = Label(row, desc, UDim2.fromOffset(0,25), UDim2.new(1,-(rightW+10),0,13), 10, Theme.Muted) d.TextTruncate = Enum.TextTruncate.AtEnd end return l end function UI.icon(parent, kind, size) local holder = New("Frame",{Size=UDim2.fromOffset(size,size),BackgroundTransparency=1},parent) local box = New("Frame",{Size=UDim2.fromOffset(16,16),BackgroundTransparency=1},holder) New("UIScale",{Scale=size/16},box) local parts = {} local function rect(x, y, w, h, round) local f = New("Frame",{Position=UDim2.fromOffset(x,y),Size=UDim2.fromOffset(w,h),BackgroundColor3=Theme.Muted,BorderSizePixel=0},box) if round then Corner(f, round) end parts[#parts+1] = { f, false } end local function ring(x, y, w, h, thick, round) local f = New("Frame",{Position=UDim2.fromOffset(x,y),Size=UDim2.fromOffset(w,h),BackgroundTransparency=1,BorderSizePixel=0},box) Corner(f, round or "pill") parts[#parts+1] = { Outline(f, Theme.Muted, thick), true } end if kind == "combat" then ring(2, 2, 12, 12, 1.5) rect(7, 7, 2, 2, "pill") rect(7, 0, 2, 4); rect(7, 12, 2, 4); rect(0, 7, 4, 2); rect(12, 7, 4, 2) elseif kind == "visuals" then ring(0, 3, 16, 10, 1.5) rect(5, 5, 6, 6, "pill") elseif kind == "entities" then ring(5, 0, 6, 6, 1.5) ring(2, 8, 12, 8, 1.5, 4) elseif kind == "misc" then rect(0, 2, 16, 2); rect(0, 7, 16, 2); rect(0, 12, 16, 2) rect(9, 0.5, 5, 5, "pill"); rect(2, 5.5, 5, 5, "pill"); rect(9, 10.5, 5, 5, "pill") else ring(3.5, 3.5, 9, 9, 2) for k = 0, 7 do local a = k * math.pi / 4 rect(8 + 6.2 * math.cos(a) - 1.25, 8 + 6.2 * math.sin(a) - 1.25, 2.5, 2.5) end end local api = { holder = holder } function api.setColor(c) for _, p in ipairs(parts) do if p[2] then p[1].Color = c else p[1].BackgroundColor3 = c end end end return api end -- hover tooltip used by the ? buttons function UI.tip(btn, text) local function hide() if UI.tipFrame then UI.tipFrame:Destroy(); UI.tipFrame = nil end end __FustRuntime:Signal(btn.MouseEnter):Connect(function() hide() local f = New("TextLabel",{ BackgroundColor3=Theme.Panel2, BorderSizePixel=0, TextColor3=Theme.Text, Font=UI.font, TextSize=11, Text=text, TextWrapped=true, TextXAlignment=Enum.TextXAlignment.Left, Size=UDim2.fromOffset(230,0), AutomaticSize=Enum.AutomaticSize.Y, ZIndex=60, }, popupLayer()) New("UIPadding",{PaddingLeft=UDim.new(0,8),PaddingRight=UDim.new(0,8),PaddingTop=UDim.new(0,6),PaddingBottom=UDim.new(0,6)}, f) Corner(f, 3); Outline(f, Theme.BorderLight, 1, 0) local sc = UI.uiScale.Scale New("UIScale",{Scale=sc}, f) local p, s = btn.AbsolutePosition, btn.AbsoluteSize f.Position = UDim2.fromOffset(math.max(p.X + s.X - 230 * sc, 4), p.Y + s.Y + 4) UI.tipFrame = f end) __FustRuntime:Signal(btn.MouseLeave):Connect(hide) end local function AddCategory(label, kind, subs) local cat = { label = label, kind = kind, subs = {}, single = #subs == 1 } UI.cats[#UI.cats + 1] = cat local main = New("TextButton",{Size=UDim2.new(0,IS_MOBILE and 62 or 78,1,0),BackgroundTransparency=1,BorderSizePixel=0,AutoButtonColor=false,Text="",LayoutOrder=#UI.cats}, UI.tabRow) cat.main = main cat.text = Label(main, label, UDim2.new(), UDim2.new(1,0,1,0), IS_MOBILE and 12 or 14, Theme.White) cat.text.Font = UI.fontMed; cat.text.TextXAlignment = Enum.TextXAlignment.Center cat.line = New("Frame",{AnchorPoint=Vector2.new(0.5,1),Position=UDim2.new(0.5,0,1,0),Size=UDim2.new(1,-10,0,2),BackgroundColor3=Theme.Cyan,BorderSizePixel=0,Visible=false}, main) cat.strip = New("Frame",{Position=UDim2.fromOffset(0,UI.topH),Size=UDim2.new(1,0,0,UI.stripH),BackgroundTransparency=1,Visible=false}, UI.main) New("Frame",{AnchorPoint=Vector2.new(0,1),Position=UDim2.new(0,16,1,-2),Size=UDim2.new(1,-32,0,2),BackgroundColor3=Theme.Cyan,BorderSizePixel=0}, cat.strip) local seg = IS_MOBILE and 0.3 or 0.22 for i, s in ipairs(subs) do local key, title = s[1], s[2] UI.pageInfo[key] = { title = title, cat = cat } local btn = New("TextButton",{Position=UDim2.new((i-1)*seg,16,0,0),Size=UDim2.new(seg,0,1,-2),BackgroundTransparency=1,BorderSizePixel=0,AutoButtonColor=false,Text="",LayoutOrder=i}, cat.strip) local t = Label(btn, title, UDim2.fromOffset(4,0), UDim2.new(1,-4,1,0), IS_MOBILE and 12 or 13, Theme.White) t.Font = UI.fontMed cat.subs[i] = { key = key, btn = btn, stroke = { Transparency = 1 }, text = t } __FustRuntime:Signal(btn.MouseButton1Click):Connect(function() UI.select(key) end) end __FustRuntime:Signal(main.MouseButton1Click):Connect(function() if UI.activeCat ~= cat then UI.select(subs[1][1]) end end) return cat end function UI.select(key) local info = UI.pageInfo[key]; if not info then return end local changed = UI.current ~= key UI.current, UI.activeCat = key, info.cat if closeOpenDropdown then closeOpenDropdown() end if UI.tipFrame then UI.tipFrame:Destroy(); UI.tipFrame = nil end if changed and UI.ready then UI.sfx("tab") end for k, p in pairs(UI.pages) do local show = k == key if show and not p.Visible and UI.ready then p.Position = UDim2.fromOffset(0, 12) Tween(p, { Position = UDim2.fromOffset(0, 0) }, 0.22) end p.Visible = show end for _, cat in ipairs(UI.cats) do local on = cat == info.cat Tween(cat.text, { TextColor3 = on and Theme.Cyan or Theme.White }, 0.12) if on and not cat.line.Visible and UI.ready then cat.line.Size = UDim2.new(0, 0, 0, 2) Tween(cat.line, { Size = UDim2.new(1, -10, 0, 2) }, 0.2) end cat.line.Visible = on cat.strip.Visible = on for _, s in ipairs(cat.subs) do Tween(s.text, { TextColor3 = (s.key == key) and Theme.Cyan or Theme.White }, 0.12) end end end UI.themeOrder = { "Disconnect" } local _unusedThemes = { "Graphite", "Cyan", "Cherry Blossom", "Amethyst", "Crimson", "Emerald" } local function C(r, g, b) return Color3.fromRGB(r, g, b) end UI.themes = { ["Disconnect"] = { Background=C(20,22,25),Sidebar=C(20,22,25),Panel=C(25,28,32),Panel2=C(17,19,22),Panel3=C(33,37,42), Border=C(40,44,50),BorderLight=C(60,66,74),Cyan=C(30,232,164),CyanSoft=C(120,244,206),CyanDark=C(12,92,68),Pink=C(30,232,164), White=C(244,246,248),Text=C(214,218,222),SubText=C(150,156,162),Muted=C(110,116,122),Disabled=C(34,38,43), Track=C(24,27,31),KnobOff=C(100,106,112),KnobOn=C(235,238,240),LogoHi=C(244,246,248),LogoLo=C(244,246,248), }, ["Graphite"] = { Background=C(15,15,17),Sidebar=C(15,15,17),Panel=C(21,21,24),Panel2=C(28,28,32),Panel3=C(42,42,48), Border=C(38,38,44),BorderLight=C(62,62,70),Cyan=C(120,150,255),CyanSoft=C(170,188,255),CyanDark=C(44,56,110),Pink=C(120,150,255), White=C(240,240,244),Text=C(206,206,214),SubText=C(144,144,156),Muted=C(96,96,108),Disabled=C(36,36,42), Track=C(40,40,46),KnobOff=C(100,100,112),KnobOn=C(235,235,240),LogoHi=C(235,235,245),LogoLo=C(235,235,245), }, ["Cyan"] = { Background=C(12,11,18),Sidebar=C(12,11,18),Panel=C(19,18,27),Panel2=C(26,25,37),Panel3=C(40,39,54), Border=C(36,35,48),BorderLight=C(58,57,74),Cyan=C(35,230,232),CyanSoft=C(120,242,242),CyanDark=C(12,92,98),Pink=C(35,230,232), White=C(246,247,250),Text=C(214,216,226),SubText=C(150,152,168),Muted=C(98,100,118),Disabled=C(38,37,52), Track=C(40,39,56),KnobOff=C(88,87,110),KnobOn=C(200,201,214),LogoHi=C(170,255,252),LogoLo=C(20,214,226), }, ["Cherry Blossom"] = { Background=C(30,17,26),Sidebar=C(30,17,26),Panel=C(45,27,39),Panel2=C(58,35,51),Panel3=C(84,53,74), Border=C(88,55,77),BorderLight=C(136,86,119),Cyan=C(255,156,198),CyanSoft=C(255,208,226),CyanDark=C(146,58,98),Pink=C(255,156,198), White=C(255,248,251),Text=C(248,226,238),SubText=C(210,166,188),Muted=C(154,116,138),Disabled=C(68,45,60), Track=C(74,47,65),KnobOff=C(146,108,131),KnobOn=C(255,226,237),LogoHi=C(255,234,243),LogoLo=C(255,134,184), petals = true, }, ["Amethyst"] = { Background=C(14,11,24),Sidebar=C(14,11,24),Panel=C(22,17,38),Panel2=C(31,24,52),Panel3=C(46,36,76), Border=C(44,35,72),BorderLight=C(74,60,116),Cyan=C(167,139,250),CyanSoft=C(206,190,255),CyanDark=C(60,40,120),Pink=C(167,139,250), White=C(246,244,255),Text=C(222,216,244),SubText=C(160,150,196),Muted=C(104,96,140),Disabled=C(38,31,62), Track=C(40,32,66),KnobOff=C(96,86,134),KnobOn=C(210,204,238),LogoHi=C(220,205,255),LogoLo=C(140,110,245), }, ["Crimson"] = { Background=C(16,9,10),Sidebar=C(16,9,10),Panel=C(26,15,17),Panel2=C(37,21,24),Panel3=C(56,31,36), Border=C(58,32,36),BorderLight=C(96,52,58),Cyan=C(240,70,85),CyanSoft=C(255,130,140),CyanDark=C(100,24,32),Pink=C(240,70,85), White=C(255,244,244),Text=C(232,210,210),SubText=C(176,142,142),Muted=C(120,90,90),Disabled=C(48,27,30), Track=C(52,30,34),KnobOff=C(108,78,82),KnobOn=C(228,200,202),LogoHi=C(255,170,175),LogoLo=C(230,50,70), }, ["Emerald"] = { Background=C(9,15,12),Sidebar=C(9,15,12),Panel=C(14,24,19),Panel2=C(20,35,28),Panel3=C(31,54,43), Border=C(30,52,42),BorderLight=C(50,88,70),Cyan=C(52,225,140),CyanSoft=C(130,240,190),CyanDark=C(14,90,56),Pink=C(52,225,140), White=C(244,255,250),Text=C(208,232,220),SubText=C(140,176,158),Muted=C(88,120,104),Disabled=C(26,44,36), Track=C(30,50,40),KnobOff=C(78,110,94),KnobOn=C(200,228,212),LogoHi=C(170,255,215),LogoLo=C(30,205,120), }, } UI.themeName = "Cherry Blossom" function UI.setPetals(on) if UI.petalConn then UI.petalConn:Disconnect(); UI.petalConn = nil end if UI.petalLayer then UI.petalLayer:Destroy(); UI.petalLayer = nil end if not on or not UI.main then return end local layer = New("Frame",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1,ClipsDescendants=true,ZIndex=30},UI.main) Corner(layer, 16) UI.petalLayer = layer local W, H = UI.width, UI.height local shades = { C(255,176,204), C(255,203,222), C(255,150,190), C(255,226,236), C(255,128,172) } local function blossom(cx, cy, s, rot) local holder = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.fromOffset(cx,cy),Size=UDim2.fromOffset(s,s),BackgroundTransparency=1,Rotation=rot,ZIndex=31},layer) for k = 0, 4 do local ang = math.rad(k * 72) local f = New("Frame",{ AnchorPoint=Vector2.new(0.5,0.5), Position=UDim2.new(0.5, math.sin(ang) * s * 0.24, 0.5, -math.cos(ang) * s * 0.24), Size=UDim2.fromOffset(s * 0.46, s * 0.62), BackgroundColor3=C(255,192,216), BackgroundTransparency=0.1, BorderSizePixel=0, Rotation=k * 72, ZIndex=31, }, holder) Corner(f, "pill") end local dot = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.fromScale(0.5,0.5),Size=UDim2.fromOffset(s * 0.2, s * 0.2),BackgroundColor3=C(255,105,155),BorderSizePixel=0,ZIndex=32},holder) Corner(dot, "pill") end local branch = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.fromOffset(W - 62, 26),Size=UDim2.fromOffset(120, 3), BackgroundColor3=C(128,78,92),BackgroundTransparency=0.15,BorderSizePixel=0,Rotation=-20,ZIndex=30},layer) Corner(branch, "pill") local twig = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.fromOffset(W - 82, 36),Size=UDim2.fromOffset(46, 2), BackgroundColor3=C(128,78,92),BackgroundTransparency=0.15,BorderSizePixel=0,Rotation=28,ZIndex=30},layer) Corner(twig, "pill") blossom(W - 18, 12, 24, 12) blossom(W - 48, 22, 20, 40) blossom(W - 82, 34, 22, 8) blossom(W - 104, 48, 15, 30) blossom(W - 66, 50, 13, 55) local petals = {} for i = 1, 26 do local near = i <= 12 local w = near and math.random(9, 13) or math.random(5, 8) local f = New("Frame",{ Size=UDim2.fromOffset(w, math.floor(w * 0.62)), BackgroundColor3=shades[math.random(#shades)], BackgroundTransparency=(near and 0.3 or 0.5) + math.random() * 0.2, BorderSizePixel=0, Rotation=math.random(0, 360), ZIndex=30, }, layer) Corner(f, "pill") petals[i] = { f=f, x=math.random() * W, y=math.random() * H, vy=(near and 22 or 12) + math.random() * 16, sw=2 + math.random() * 6, ph=math.random() * 6, spin=(math.random() - 0.5) * 140 } end local t, acc = 0, 0 UI.petalConn = __FustRuntime:Signal(RunService.Heartbeat):Connect(function(dt) if not UI.gui.Enabled then return end acc += dt if acc < 0.033 then return end dt, acc = math.min(acc, 0.1), 0; t += dt for _, p in ipairs(petals) do p.y += p.vy * dt if p.y > H + 10 then p.y = -10; p.x = math.random() * W end p.f.Position = UDim2.fromOffset(p.x + math.sin(t * 1.2 + p.ph) * p.sw * 3, p.y) p.f.Rotation += p.spin * dt end end) end function UI.applyTheme(name) local new = UI.themes[name] if not new or UI.themeName == name then return end local function key(c) return (math.floor(c.R*255+0.5)*256 + math.floor(c.G*255+0.5))*256 + math.floor(c.B*255+0.5) end local map = {} for k, old in pairs(Theme) do if typeof(old) == "Color3" and new[k] then map[key(old)] = new[k] end end local oldAccent = Theme.Cyan for k, v in pairs(new) do if typeof(v) == "Color3" then Theme[k] = v end end local function fix(inst, prop) local c = inst[prop] local n = typeof(c) == "Color3" and map[key(c)] if n then inst[prop] = n end end local function walk(inst) if inst:GetAttribute("NoTheme") then return end if inst:IsA("GuiObject") then fix(inst, "BackgroundColor3") if inst:IsA("TextLabel") or inst:IsA("TextButton") then fix(inst, "TextColor3") end if inst:IsA("TextBox") then fix(inst, "TextColor3"); fix(inst, "PlaceholderColor3") end if inst:IsA("ScrollingFrame") then fix(inst, "ScrollBarImageColor3") end elseif inst:IsA("UIStroke") then fix(inst, "Color") end end for _, root in ipairs({ UI.gui, PopupGui, NotifyGui, UI.floatGui }) do if root then for _, d in ipairs(root:GetDescendants()) do pcall(walk, d) end end end if UI.logoGradient then UI.logoGradient.Color = ColorSequence.new(new.LogoHi, new.LogoLo) end if UI.mainGradient then UI.mainGradient.Color = new.petals and ColorSequence.new(Color3.new(1,1,1), Color3.fromRGB(242,216,230)) or ColorSequence.new(Color3.new(1,1,1), Color3.fromRGB(196,196,206)) end if VIP.getTrajectoryColor() == oldAccent then VIP.setTrajectoryColor(new.Cyan) end if VIP.watermark and VIP.watermark.color == oldAccent then VIP.watermark.color = new.Cyan end UI.themeName = name UI.setPetals(new.petals == true) if UI.current then UI.select(UI.current) end end local function TextInput(parent, name, placeholder, flag, onChange) local row = UI.row(parent, 60, false) local l = Label(row, name, UDim2.fromOffset(0,6), UDim2.new(1,0,0,15), 12, Theme.White); l.Font = UI.fontMed local box = New("TextBox",{ Position=UDim2.fromOffset(0,26), Size=UDim2.new(1,0,0,28), BackgroundColor3=Theme.Panel2, BorderSizePixel=0, ClearTextOnFocus=false, Font=UI.font, PlaceholderText=placeholder or "", PlaceholderColor3=Theme.Muted, Text="", TextColor3=Theme.White, TextSize=11, TextXAlignment=Enum.TextXAlignment.Left, }, row) Corner(box, 4) local s = Outline(box, Theme.Border, 1, 0.1) New("UIPadding",{PaddingLeft=UDim.new(0,10),PaddingRight=UDim.new(0,10)}, box) __FustRuntime:Signal(box.Focused):Connect(function() Tween(s, { Color=Theme.Cyan }, 0.15) end) __FustRuntime:Signal(box.FocusLost):Connect(function() Tween(s, { Color=Theme.Border }, 0.15) if onChange then task.spawn(onChange, box.Text) end end) Config.register(flag, "text", function() return box.Text end, function(v) if type(v) ~= "string" then return end box.Text = v; if onChange then task.spawn(onChange, v) end end, "") return { Get=function() return box.Text end, Set=function(t) box.Text=t end } end local function Checkbox(parent, name, flag, def, cb, desc) local row = UI.row(parent, 30, false) local hit = New("TextButton",{Size=UDim2.new(1,-28,1,0),BackgroundTransparency=1,Text="",AutoButtonColor=false}, row) local box = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0,9,0.5,0),Size=UDim2.fromOffset(18,18),BackgroundColor3=Theme.Panel2,BorderSizePixel=0}, row) Corner(box, 3) local boxStroke = Outline(box, Theme.Border, 1, 0) local l = Label(row, name, UDim2.fromOffset(30, 0), UDim2.new(1,-60,1,0), 13, Theme.SubText) l.Font = UI.fontMed; l.TextTruncate = Enum.TextTruncate.AtEnd if type(desc) == "string" and desc ~= "" then local q = New("TextButton",{AnchorPoint=Vector2.new(1,0.5),Position=UDim2.new(1,0,0.5,0),Size=UDim2.fromOffset(20,20),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,AutoButtonColor=false,Text="?",Font=UI.fontBold,TextSize=12,TextColor3=Theme.Cyan,ZIndex=3}, row) Corner(q, 3); Outline(q, Theme.CyanDark, 1, 0) UI.tip(q, desc) end local state = def == true local function render(anim) local bc = state and Theme.Cyan or Theme.Panel2 local sc = state and Theme.Cyan or Theme.Border local tc = state and Theme.White or Theme.SubText l.Font = state and UI.fontBold or UI.fontMed if anim then Tween(box, { BackgroundColor3 = bc }, 0.12) Tween(boxStroke, { Color = sc }, 0.12) Tween(l, { TextColor3 = tc }, 0.12) else box.BackgroundColor3, boxStroke.Color, l.TextColor3 = bc, sc, tc end end local function set(v, fire) local was = state state = v == true; render(true) if fire ~= false then if state ~= was and UI.ready and not Config.loading then VIP.lastToggleAt = os.clock() UI.sfx(state and "on" or "off") if VIP.toggleNotify ~= false and notifyEx then notifyEx(name, state and "Enabled" or "Disabled", state and "on" or "off", 2.2, true) end Tween(box, { Size = UDim2.fromOffset(13, 13) }, 0.06) task.delay(0.06, function() Tween(box, { Size = UDim2.fromOffset(18, 18) }, 0.14) end) end if cb then task.spawn(cb, state) end end end __FustRuntime:Signal(hit.MouseButton1Click):Connect(function() set(not state, true) end) __FustRuntime:Signal(hit.MouseEnter):Connect(function() if not state then Tween(boxStroke, { Color = Theme.BorderLight }, 0.1) end end) __FustRuntime:Signal(hit.MouseLeave):Connect(function() if not state then Tween(boxStroke, { Color = Theme.Border }, 0.1) end end) render(false) Config.register(flag, "toggle", function() return state end, function(v) set(v==true, true) end, def==true) return { Set=set, Get=function() return state end, row=row } end local function Slider(parent, name, flag, min, max, value, suffix, cb, desc, step) step=tonumber(step) or 1 local row = UI.row(parent, 46, false) local l = Label(row, "", UDim2.fromOffset(0,2), UDim2.new(1,0,0,18), 12, Theme.White) l.Font = UI.fontBold local bar = New("Frame",{Position=UDim2.fromOffset(0,26),Size=UDim2.new(0.66,0,0,10),BackgroundColor3=Theme.Panel2,BorderSizePixel=0}, row) Corner(bar, 2) Outline(bar, Theme.Border, 1, 0) local fill = New("Frame",{Size=UDim2.fromScale(0,1),BackgroundColor3=Theme.Cyan,BorderSizePixel=0}, bar) Corner(fill, 2) local hit = New("TextButton",{Position=UDim2.fromOffset(0,20),Size=UDim2.new(0.66,0,0,22),BackgroundTransparency=1,Text="",AutoButtonColor=false,ZIndex=4}, row) local cur = value local function render(v) local p = math.clamp((v-min)/(max-min), 0, 1) fill.Size = UDim2.fromScale(p, 1) l.Text = name .. ": " .. (step<1 and string.format("%.2f",v) or tostring(v)) .. (suffix or "") end local function set(v, fire) v = math.clamp(math.floor(v/step+0.5)*step, min, max) local changed = v ~= cur; cur = v; render(v) if fire ~= false and changed and cb then task.spawn(cb, v) end end local dragging, dragInput, scroller = false, nil, nil local function fromX(x) local p = math.clamp((x - bar.AbsolutePosition.X) / math.max(bar.AbsoluteSize.X, 1), 0, 1) set(min + (max - min) * p, true) end __FustRuntime:Signal(hit.InputBegan):Connect(function(input) if INP.press(input) then dragging, dragInput = true, input UI.sfx("tick") scroller = row:FindFirstAncestorOfClass("ScrollingFrame") if scroller then scroller.ScrollingEnabled = false end fromX(input.Position.X) end end) __FustRuntime:Signal(UserInputService.InputChanged):Connect(function(input) if dragging and INP.move(input, dragInput) then fromX(input.Position.X) end end) __FustRuntime:Signal(UserInputService.InputEnded):Connect(function(input) if dragging and INP.release(input, dragInput) then dragging = false if scroller then scroller.ScrollingEnabled = true; scroller = nil end end end) render(value) Config.register(flag, "slider", function() return cur end, function(v) if type(v)=="number" then set(v, true) end end, value) return { Set=set, Get=function() return cur end, row=row } end local function Dropdown(parent, name, flag, options, def, cb, desc) desc = nil local row = UI.row(parent, desc and 44 or 34, true) UI.rowText(row, name, desc, 110) local values = options local cur = def or options[1] local function pillW() local w = 56 for _, v in ipairs(values) do w = math.max(w, UI.textService:GetTextSize(tostring(v), 11, UI.fontMed, Vector2.new(400,40)).X + 26) end return math.min(w, 150) end local b = New("TextButton",{AnchorPoint=Vector2.new(1,0.5),Position=UDim2.new(1,0,0.5,0),Size=UDim2.fromOffset(pillW(),24),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,AutoButtonColor=false,Text=tostring(cur),Font=UI.fontMed,TextSize=11,TextColor3=Theme.Text}, row) Corner(b, 4) local bs = Outline(b, Theme.Border, 1, 0.1) local open, catcher, menu, follow = false, nil, nil, nil local ITEM_H, MAX_ITEMS = 26, IS_MOBILE and 5 or 6 local menuH, menuW = 0, 0 local function setValue(v, fire) if not table.find(values, v) then v = values[1] end cur = v; b.Text = tostring(v) if fire ~= false and cb then task.spawn(cb, v) end end local function close() if not open then return end open = false if follow then follow:Disconnect(); follow = nil end if menu then menu:Destroy(); menu = nil end if catcher then catcher:Destroy(); catcher = nil end if closeOpenDropdown == close then closeOpenDropdown = nil end Tween(bs, { Color = Theme.Border }, 0.15) end local function place() if not menu then return end local vp = workspace.CurrentCamera and workspace.CurrentCamera.ViewportSize or Vector2.new(1920, 1080) local pos, size = b.AbsolutePosition, b.AbsoluteSize local s = UI.uiScale.Scale local h2, w2 = menuH * s, menuW * s local x = math.clamp(pos.X + size.X - w2, 4, math.max(vp.X - w2 - 4, 4)) local y = pos.Y + size.Y + 4 if y + h2 > vp.Y - 8 then y = pos.Y - h2 - 4 end menu.Position = UDim2.fromOffset(x, math.max(y, 4)) end local function openList() if closeOpenDropdown then closeOpenDropdown() end open = true; closeOpenDropdown = close Tween(bs, { Color = Theme.Cyan }, 0.18) local layer = popupLayer() catcher = New("TextButton",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1,Text="",AutoButtonColor=false,ZIndex=1}, layer) __FustRuntime:Signal(catcher.MouseButton1Click):Connect(close) local rows = math.min(#values, MAX_ITEMS) menuH = rows * ITEM_H + 8 menuW = math.max(pillW(), 120) menu = New("ScrollingFrame",{Size=UDim2.fromOffset(menuW, menuH),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,ZIndex=10,ScrollBarThickness=#values>MAX_ITEMS and 2 or 0,ScrollBarImageColor3=Theme.Cyan,CanvasSize=UDim2.fromOffset(0,#values*ITEM_H+8),ScrollingDirection=Enum.ScrollingDirection.Y}, layer) Corner(menu, 5); Outline(menu, Theme.BorderLight, 1, 0.2) New("UIScale",{Scale=UI.uiScale.Scale}, menu) for i, opt in ipairs(values) do local isCur = opt == cur local item = New("TextButton",{ Position=UDim2.fromOffset(4,4+(i-1)*ITEM_H), Size=UDim2.new(1,-8,0,ITEM_H), BackgroundColor3=Theme.Panel3, BackgroundTransparency=isCur and 0.35 or 1, BorderSizePixel=0, AutoButtonColor=false, Text=tostring(opt), Font=UI.fontMed, TextSize=11, TextColor3=isCur and Theme.Cyan or Theme.SubText, TextXAlignment=Enum.TextXAlignment.Left, ZIndex=11, }, menu) Corner(item, 3) New("UIPadding",{PaddingLeft=UDim.new(0,10)}, item) __FustRuntime:Signal(item.MouseEnter):Connect(function() Tween(item,{BackgroundTransparency=0.35,TextColor3=Theme.White},0.1) end) __FustRuntime:Signal(item.MouseLeave):Connect(function() Tween(item,{BackgroundTransparency=isCur and 0.35 or 1, TextColor3=isCur and Theme.Cyan or Theme.SubText},0.1) end) __FustRuntime:Signal(item.MouseButton1Click):Connect(function() UI.sfx("select"); setValue(opt, true); close() end) end place() follow = __FustRuntime:Signal(RunService.RenderStepped):Connect(function() if not b.Parent or not onScreen(b) then close() return end place() end) end __FustRuntime:Signal(b.MouseButton1Click):Connect(function() UI.sfx("click"); if open then close() else openList() end end) setValue(cur, false) Config.register(flag, "dropdown", function() return cur end, function(v) if table.find(values, v) then setValue(v, true) end end, cur) return { row=row, Set=function(v) setValue(v, true) end, Get=function() return cur end, Refresh=function(no) values=no; if not table.find(values, cur) then setValue(values[1] or "None", false) end b.Size = UDim2.fromOffset(pillW(), 24) if open then close() end end, } end local function MultiDropdown(parent, name, flag, options, def, cb, desc) desc = nil local row = UI.row(parent, desc and 44 or 34, true) UI.rowText(row, name, desc, 110) local sel = {} for _, o in ipairs(options) do sel[o.key] = false end if def then for _, k in ipairs(def) do if sel[k] ~= nil then sel[k] = true end end end local function summary() local names = {} for _, o in ipairs(options) do if sel[o.key] then names[#names + 1] = o.label end end if #names == 0 then return "None" end if #names == #options then return "All" end if #names <= 2 then return table.concat(names, ", ") end return #names .. " selected" end local b = New("TextButton",{AnchorPoint=Vector2.new(1,0.5),Position=UDim2.new(1,0,0.5,0),Size=UDim2.fromOffset(128,24),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,AutoButtonColor=false,Text=summary(),Font=UI.fontMed,TextSize=11,TextColor3=Theme.Text}, row) Corner(b, 4) local bs = Outline(b, Theme.Border, 1, 0.1) local open, catcher, menu, follow = false, nil, nil, nil local ITEM_H, MAX_ITEMS = 26, IS_MOBILE and 5 or 6 local menuH, menuW = 0, 0 local function fire() if cb then task.spawn(cb, sel) end end local function close() if not open then return end open = false if follow then follow:Disconnect(); follow = nil end if menu then menu:Destroy(); menu = nil end if catcher then catcher:Destroy(); catcher = nil end if closeOpenDropdown == close then closeOpenDropdown = nil end Tween(bs, { Color = Theme.Border }, 0.15) end local function place() if not menu then return end local vp = workspace.CurrentCamera and workspace.CurrentCamera.ViewportSize or Vector2.new(1920, 1080) local pos, size = b.AbsolutePosition, b.AbsoluteSize local s = UI.uiScale.Scale local h2, w2 = menuH * s, menuW * s local x = math.clamp(pos.X + size.X - w2, 4, math.max(vp.X - w2 - 4, 4)) local y = pos.Y + size.Y + 4 if y + h2 > vp.Y - 8 then y = pos.Y - h2 - 4 end menu.Position = UDim2.fromOffset(x, math.max(y, 4)) end local function openList() if closeOpenDropdown then closeOpenDropdown() end open = true; closeOpenDropdown = close Tween(bs, { Color = Theme.Cyan }, 0.18) local layer = popupLayer() catcher = New("TextButton",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1,Text="",AutoButtonColor=false,ZIndex=1}, layer) __FustRuntime:Signal(catcher.MouseButton1Click):Connect(close) local rows = math.min(#options, MAX_ITEMS) menuH = rows * ITEM_H + 8 menuW = 150 menu = New("ScrollingFrame",{Size=UDim2.fromOffset(menuW, menuH),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,ZIndex=10,ScrollBarThickness=#options>MAX_ITEMS and 2 or 0,ScrollBarImageColor3=Theme.Cyan,CanvasSize=UDim2.fromOffset(0,#options*ITEM_H+8),ScrollingDirection=Enum.ScrollingDirection.Y}, layer) Corner(menu, 5); Outline(menu, Theme.BorderLight, 1, 0.2) New("UIScale",{Scale=UI.uiScale.Scale}, menu) for i, o in ipairs(options) do local item = New("TextButton",{ Position=UDim2.fromOffset(4,4+(i-1)*ITEM_H), Size=UDim2.new(1,-8,0,ITEM_H), BackgroundColor3=Theme.Panel3, BackgroundTransparency=sel[o.key] and 0.35 or 1, BorderSizePixel=0, AutoButtonColor=false, Text=o.label, Font=UI.fontMed, TextSize=11, TextColor3=sel[o.key] and Theme.Cyan or Theme.SubText, TextXAlignment=Enum.TextXAlignment.Left, ZIndex=11, }, menu) Corner(item, 3) New("UIPadding",{PaddingLeft=UDim.new(0,10)}, item) local dot = New("Frame",{AnchorPoint=Vector2.new(1,0.5),Position=UDim2.new(1,-8,0.5,0),Size=UDim2.fromOffset(12,12),BackgroundColor3=sel[o.key] and Theme.Cyan or Theme.Track,BorderSizePixel=0,ZIndex=12}, item) Corner(dot, "pill") __FustRuntime:Signal(item.MouseButton1Click):Connect(function() sel[o.key] = not sel[o.key] item.BackgroundTransparency = sel[o.key] and 0.35 or 1 item.TextColor3 = sel[o.key] and Theme.Cyan or Theme.SubText dot.BackgroundColor3 = sel[o.key] and Theme.Cyan or Theme.Track b.Text = summary() fire() end) end place() follow = __FustRuntime:Signal(RunService.RenderStepped):Connect(function() if not b.Parent or not onScreen(b) then close() return end place() end) end __FustRuntime:Signal(b.MouseButton1Click):Connect(function() UI.sfx("click"); if open then close() else openList() end end) local function keysOut() local out = {} for _, o in ipairs(options) do if sel[o.key] then out[#out + 1] = o.key end end return out end local function setKeys(v, fire2) for k in pairs(sel) do sel[k] = false end if type(v) == "table" then for _, k in ipairs(v) do if sel[k] ~= nil then sel[k] = true end end end b.Text = summary() if fire2 ~= false then fire() end end Config.register(flag, "multidropdown", keysOut, function(v) setKeys(v, true) end, def or {}) return { Set=function(v) setKeys(v, true) end, Get=keysOut, row=row } end local function Colorpicker(parent, name, flag, def, cb, desc) desc = nil local row = UI.row(parent, desc and 44 or 34, true) UI.rowText(row, name, desc, 50) local cur = def or Color3.new(1,1,1) local sw = New("TextButton",{AnchorPoint=Vector2.new(1,0.5),Position=UDim2.new(1,0,0.5,0),Size=UDim2.fromOffset(38,20),BackgroundColor3=cur,BorderSizePixel=0,Text="",AutoButtonColor=false}, row) Corner(sw, 4); Outline(sw, Theme.BorderLight, 1, 0.3) sw:SetAttribute("NoTheme", true) local function apply(c, fire) cur = c; sw.BackgroundColor3 = c; if fire ~= false and cb then task.spawn(cb, c) end end local pop, catcher, follow, conns local function close() if not pop then return end if follow then follow:Disconnect(); follow = nil end for _, c in ipairs(conns or {}) do c:Disconnect() end conns = nil pop:Destroy(); pop = nil if catcher then catcher:Destroy(); catcher = nil end if closeOpenDropdown == close then closeOpenDropdown = nil end end local function openPicker() if closeOpenDropdown then closeOpenDropdown() end closeOpenDropdown = close local hh, ss, vv = cur:ToHSV() local layer = popupLayer() catcher = New("TextButton",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1,Text="",AutoButtonColor=false,ZIndex=1}, layer) __FustRuntime:Signal(catcher.MouseButton1Click):Connect(close) local W, H = 176, 140 pop = New("Frame",{Size=UDim2.fromOffset(W,H),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,ZIndex=10}, layer) Corner(pop, 10); Outline(pop, Theme.BorderLight, 1, 0.2) New("UIScale",{Scale=UI.uiScale.Scale}, pop) local sv = New("TextButton",{Position=UDim2.fromOffset(10,10),Size=UDim2.fromOffset(W-20,92),BackgroundColor3=Color3.fromHSV(hh,1,1),BorderSizePixel=0,Text="",AutoButtonColor=false,ZIndex=11}, pop) Corner(sv, 6) local white = New("Frame",{Size=UDim2.fromScale(1,1),BackgroundColor3=Color3.new(1,1,1),BorderSizePixel=0,ZIndex=12}, sv) Corner(white, 6) New("UIGradient",{Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})}, white) local black = New("Frame",{Size=UDim2.fromScale(1,1),BackgroundColor3=Color3.new(0,0,0),BorderSizePixel=0,ZIndex=13}, sv) Corner(black, 6) New("UIGradient",{Rotation=90,Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})}, black) local svKnob = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Size=UDim2.fromOffset(10,10),BackgroundTransparency=1,ZIndex=14}, sv) Corner(svKnob, "pill"); Outline(svKnob, Color3.new(1,1,1), 2) local hueBar = New("TextButton",{Position=UDim2.fromOffset(10,112),Size=UDim2.fromOffset(W-20,14),BackgroundColor3=Color3.new(1,1,1),BorderSizePixel=0,Text="",AutoButtonColor=false,ZIndex=11}, pop) Corner(hueBar, 7) local keys = {} for i = 0, 6 do keys[#keys+1] = ColorSequenceKeypoint.new(i/6, Color3.fromHSV(math.min(i/6, 0.999), 1, 1)) end New("UIGradient",{Color=ColorSequence.new(keys)}, hueBar) local hueKnob = New("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Size=UDim2.fromOffset(6,18),BackgroundColor3=Color3.new(1,1,1),BorderSizePixel=0,ZIndex=14}, hueBar) Corner(hueKnob, 3); Outline(hueKnob, Theme.Panel2, 1) local function refresh() sv.BackgroundColor3 = Color3.fromHSV(hh, 1, 1) svKnob.Position = UDim2.fromScale(ss, 1 - vv) hueKnob.Position = UDim2.fromScale(hh, 0.5) end local mode, dragInput = nil, nil local function drag(p) if mode == "sv" then ss = math.clamp((p.X - sv.AbsolutePosition.X) / math.max(sv.AbsoluteSize.X, 1), 0, 1) vv = 1 - math.clamp((p.Y - sv.AbsolutePosition.Y) / math.max(sv.AbsoluteSize.Y, 1), 0, 1) elseif mode == "hue" then hh = math.clamp((p.X - hueBar.AbsolutePosition.X) / math.max(hueBar.AbsoluteSize.X, 1), 0, 0.999) else return end refresh(); apply(Color3.fromHSV(hh, ss, vv), true) end __FustRuntime:Signal(sv.InputBegan):Connect(function(i) if INP.press(i) then mode, dragInput = "sv", i; drag(UI.pointer(i)) end end) __FustRuntime:Signal(hueBar.InputBegan):Connect(function(i) if INP.press(i) then mode, dragInput = "hue", i; drag(UI.pointer(i)) end end) conns = { __FustRuntime:Signal(UserInputService.InputChanged):Connect(function(i) if mode and INP.move(i, dragInput) then drag(UI.pointer(i)) end end), __FustRuntime:Signal(UserInputService.InputEnded):Connect(function(i) if mode and INP.release(i, dragInput) then mode = nil end end), } refresh() local function place() if not pop then return end local vp = workspace.CurrentCamera and workspace.CurrentCamera.ViewportSize or Vector2.new(1920, 1080) local pos, size = sw.AbsolutePosition, sw.AbsoluteSize local s = UI.uiScale.Scale local w2, h2 = W * s, H * s local x = math.clamp(pos.X + size.X - w2, 4, math.max(vp.X - w2 - 4, 4)) local y = pos.Y + size.Y + 4 if y + h2 > vp.Y - 8 then y = pos.Y - h2 - 4 end pop.Position = UDim2.fromOffset(x, math.max(y, 4)) end place() follow = __FustRuntime:Signal(RunService.RenderStepped):Connect(function() if not sw.Parent or not onScreen(sw) then close() return end place() end) end __FustRuntime:Signal(sw.MouseButton1Click):Connect(function() if pop then close() else openPicker() end end) Config.register(flag, "color", function() return cur end, function(c) if typeof(c)=="Color3" then apply(c, true) end end, cur) return { Set=function(c) apply(c, false) end, Get=function() return cur end, row=row } end local function Button(parent, text, cb) local row = UI.row(parent, 40, false) local b = New("TextButton",{Position=UDim2.fromOffset(0,5),Size=UDim2.new(1,0,0,30),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,Font=UI.fontMed,Text=text,TextColor3=Theme.Text,TextSize=11,AutoButtonColor=false}, row) Corner(b, 4) local s = Outline(b, Theme.Border, 1, 0.1) __FustRuntime:Signal(b.MouseEnter):Connect(function() Tween(s, { Color=Theme.Cyan }, 0.12); Tween(b, { TextColor3=Theme.White }, 0.12) end) __FustRuntime:Signal(b.MouseLeave):Connect(function() Tween(s, { Color=Theme.Border }, 0.12); Tween(b, { TextColor3=Theme.Text }, 0.12) end) __FustRuntime:Signal(b.MouseButton1Click):Connect(function() UI.sfx("click"); if cb then task.spawn(cb) end end) end local function Keybind(parent, name, flag, def, cb, desc) desc = nil if IS_MOBILE then return { Get=function() return def end, Set=function() end } end local row = UI.row(parent, desc and 44 or 34, true) UI.rowText(row, name, desc, 100) local b = New("TextButton",{AnchorPoint=Vector2.new(0,0),Position=UDim2.new(0,0,0,0),Size=UDim2.fromOffset(92,24),BackgroundColor3=Theme.Panel2,BorderSizePixel=0,AutoButtonColor=false,Text="",Font=UI.fontMed,TextSize=11,TextColor3=Theme.Text,TextTruncate=Enum.TextTruncate.AtEnd}, row) Corner(b, 0) local s = Outline(b, Theme.Border, 1, 0.1) local cur, listening, conn = def, false, nil local function render() b.Text = listening and "press a key..." or (cur and cur.Name or "None") b.TextColor3 = listening and Theme.Cyan or (cur and Theme.Text or Theme.Muted) s.Color = listening and Theme.Cyan or Theme.Border end local function set(k, fire) cur = k; render(); if fire ~= false and cb then task.spawn(cb, k) end end local function release() task.delay(0.15, function() VIP.bindListening = false end) end local function stop() listening = false; if conn then conn:Disconnect(); conn = nil end; release(); render() end __FustRuntime:Signal(b.MouseButton1Click):Connect(function() if listening then stop() return end listening = true; VIP.bindListening = true; render() conn = __FustRuntime:Signal(UserInputService.InputBegan):Connect(function(input) if input.UserInputType ~= Enum.UserInputType.Keyboard then return end local k = input.KeyCode if k == Enum.KeyCode.Unknown then return end if k == Enum.KeyCode.Escape or k == Enum.KeyCode.Backspace then set(nil, true) else set(k, true) end stop() end) end) render() Config.register(flag, "keybind", function() return cur and cur.Name or "None" end, function(v) if v == "None" then set(nil, true) elseif type(v) == "string" then local ok, k = pcall(function() return Enum.KeyCode[v] end) if ok and k then set(k, true) end end end, def and def.Name or "None") return {Set=set,Get=function() return cur end} end local function HotkeyHold(kb, down, up) __FustRuntime:Signal(UserInputService.InputBegan):Connect(function(input, p) if p or VIP.bindListening then return end local k = kb.Get() if k and input.KeyCode == k then down() end end) __FustRuntime:Signal(UserInputService.InputEnded):Connect(function(input) local k = kb.Get() if k and input.KeyCode == k then up() end end) end local function HotkeyToggle(kb, tog) __FustRuntime:Signal(UserInputService.InputBegan):Connect(function(input, p) if p or VIP.bindListening then return end local k = kb.Get() if k and input.KeyCode == k then tog.Set(not tog.Get(), true) end end) end -- ===================== FREE VERSION: every control is locked ===================== local FREE_INVITE = "https://discord.gg/SCDA2xV84c" do local fb = VIP.hitFeedback if fb then fb.hitSound = false; fb.hitMarker = false; fb.hitNotify = false; fb.gunNotify = false; fb.damageNumbers = false end if VIP.staff then VIP.staff.enabled = false; VIP.staff.alerts = false end if VIP.watermark then VIP.watermark.enabled = false end VIP.toggleNotify = false end local freePop, freeMsg, freeBox, freeCopy local function FreeCopy() local ok = pcall(function() setclipboard(FREE_INVITE) end) if not ok then pcall(function() toclipboard(FREE_INVITE) end) end return ok end local function FreeBuild() freePop = New("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(440, 250), BackgroundColor3 = Theme.Panel, BorderSizePixel = 0, ZIndex = 200 }, UI.gui) Corner(freePop, 6); Outline(freePop, Theme.Cyan, 2, 0) local t = New("TextLabel", { Position = UDim2.fromOffset(14, 12), Size = UDim2.new(1, -28, 0, 30), BackgroundTransparency = 1, Text = "FREE VERSION - NOTHING WORKS", Font = Enum.Font.GothamBlack, TextSize = 21, TextColor3 = Theme.Cyan, ZIndex = 201 }, freePop) freeMsg = New("TextLabel", { Position = UDim2.fromOffset(18, 48), Size = UDim2.new(1, -36, 0, 62), BackgroundTransparency = 1, TextWrapped = true, Text = "Every feature is locked in the free version. Join the Discord to get the FULL version.", Font = Enum.Font.GothamMedium, TextSize = 14, TextColor3 = Theme.White, ZIndex = 201 }, freePop) freeBox = New("TextBox", { Position = UDim2.fromOffset(18, 118), Size = UDim2.new(1, -36, 0, 40), BackgroundColor3 = Theme.Panel2, BorderSizePixel = 0, Text = FREE_INVITE, TextEditable = false, ClearTextOnFocus = false, Font = Enum.Font.GothamBold, TextSize = 18, TextColor3 = Theme.White, ZIndex = 201 }, freePop) Corner(freeBox, 5); Outline(freeBox, Theme.Border, 1, 0) freeCopy = New("TextButton", { Position = UDim2.fromOffset(18, 170), Size = UDim2.new(0.62, -22, 0, 44), BackgroundColor3 = Theme.Cyan, BorderSizePixel = 0, Text = "COPY DISCORD LINK", Font = Enum.Font.GothamBlack, TextSize = 16, TextColor3 = Color3.fromRGB(10, 12, 14), AutoButtonColor = false, ZIndex = 201 }, freePop) Corner(freeCopy, 5) local closeB = New("TextButton", { AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, -18, 0, 170), Size = UDim2.new(0.38, -22, 0, 44), BackgroundColor3 = Theme.Panel3, BorderSizePixel = 0, Text = "CLOSE", Font = Enum.Font.GothamBold, TextSize = 14, TextColor3 = Theme.White, AutoButtonColor = false, ZIndex = 201 }, freePop) Corner(closeB, 5) __FustRuntime:Signal(freeCopy.MouseButton1Click):Connect(function() local ok = FreeCopy() freeCopy.Text = ok and "COPIED!" or "SELECT THE LINK + CTRL+C" pcall(function() freeBox:CaptureFocus() end) task.delay(1.6, function() if freeCopy.Parent then freeCopy.Text = "COPY DISCORD LINK" end end) end) __FustRuntime:Signal(closeB.MouseButton1Click):Connect(function() freePop.Visible = false end) end local function FreeLock(name) FreeCopy() if not (freePop and freePop.Parent) then FreeBuild() end freePop.Visible = true if name and freeMsg then freeMsg.Text = '"' .. name .. '" is LOCKED in the free version. Join the Discord to get the FULL version.' end end VIP.freeLock = FreeLock task.delay(1.2, function() FreeLock(nil) end) local _Checkbox, _Slider, _Dropdown, _MultiDropdown, _Colorpicker, _Button = Checkbox, Slider, Dropdown, MultiDropdown, Colorpicker, Button local reverting = false Checkbox = function(parent, name, flag, def, cb, desc) local w w = _Checkbox(parent, name, flag, false, function(v) if v and not reverting then FreeLock(name); task.defer(function() reverting = true; w.Set(false, false); reverting = false end) end end, desc) return w end Slider = function(parent, name, flag, min, max, value, suffix, cb, desc, step) local w w = _Slider(parent, name, flag, min, max, value, suffix, function() if not reverting then FreeLock(name); task.defer(function() reverting = true; w.Set(value, false); reverting = false end) end end, desc, step) return w end Dropdown = function(parent, name, flag, options, def, cb, desc) local w w = _Dropdown(parent, name, flag, options, def, function() if not reverting then FreeLock(name); task.defer(function() reverting = true; w.Set(def); reverting = false end) end end, desc) return w end MultiDropdown = function(parent, name, flag, options, def, cb, desc) local w w = _MultiDropdown(parent, name, flag, options, def, function() if not reverting then FreeLock(name); task.defer(function() reverting = true; w.Set(def or {}); reverting = false end) end end, desc) return w end Colorpicker = function(parent, name, flag, def, cb, desc) local w w = _Colorpicker(parent, name, flag, def, function() if not reverting then FreeLock(name); task.defer(function() reverting = true; w.Set(def); reverting = false end) end end, desc) return w end Button = function(parent, text, cb) return _Button(parent, text, function() FreeLock(text) end) end -- ================================================================================= local PG = { combat = CreatePage("combat_general"), weapon = CreatePage("combat_weapon"), players = CreatePage("visuals_players"), screen = CreatePage("visuals_screen"), entities = CreatePage("entities"), world = CreatePage("misc_world"), extras = CreatePage("misc_extras"), settings = CreatePage("settings"), } local MENU_HINT = IS_MOBILE and "tap the floating button" or "RightShift" __run("page: silent aim", function() local g = Layout({ { PG.combat, "L" }, { PG.combat, "R" }, { PG.combat, "R" }, { PG.weapon, "R" }, { PG.weapon, "L" }, { PG.weapon, "R" }, { PG.combat, "L" }, }) local aim = Card(g[1], "Silent Aim") Checkbox(aim, "Silent Aim", "sa_enabled", false, function(v) sa.enabled = v notify(v and "Silent Aim ON" or "Silent Aim OFF", v and "success" or "info") end, "Redirects your shots onto the locked target") local saFovControl Dropdown(aim,"Mode","sa_mode",{"Threat Level","Closest Crosshair","Closest Distance"},"Threat Level",function(value) sa.mode=value if saFovControl then saFovControl.row.Visible=value~="Threat Level" end end) saFovControl=Checkbox(aim,"FOV Limit","sa_fovonly",true,function(value) sa.fovOnly=value end) saFovControl.row.Visible=(sa.mode or "Threat Level")~="Threat Level" Dropdown(aim, "Hit Part", "sa_hitpart", { "Auto", "Head", "Torso", "Pelvis", "Arms", "Legs", "Random" }, "Auto", function(v) sa.hitPart = v end) Checkbox(aim, "Team Check", "sa_team", true, function(v) sa.teamCheck = v end, "Never targets your teammates") Checkbox(aim, "Visible Check", "sa_vis", false, function(v) sa.visCheck = v end, "Skips targets behind walls") Checkbox(aim, "Target AI", "sa_ai", false, function(v) sa.targetAI = v end, "Also locks onto the AI types picked below") MultiDropdown(aim, "AI Types", "ai_types", { { label="Combat NPCs", key="npcs" }, { label="Sleepers", key="sleepers" }, { label="Animals", key="animals" }, { label="Dinos", key="dinos" }, }, {"npcs"}, function(sel) local f = VIP.aiFilter f.npcs, f.sleepers, f.animals, f.dinos = sel.npcs, sel.sleepers, sel.animals, sel.dinos if VIP.aiRefresh then VIP.aiRefresh() end if VIP.clearEsp then VIP.clearEsp() end end, "Which AI silent aim, manipulation and ESP are allowed to use") Slider(aim, "Hit Chance", "sa_hitchance", 1, 100, 100, "%", function(v) sa.hitChance = v end, "The chance of hitting the target") if VIP.hudBars and VIP.hudBars.range then Checkbox(aim, "Range Meter", "sa_rangebar", false, function(v) VIP.hudBars.range.enabled = v end, "Bar showing whether the bullet can actually reach the target before it expires") end if VIP.setLeadMult then end if VIP.setAttComp then Checkbox(aim, "Attachment Compensation", "sa_attcomp", false, function(v) VIP.setAttComp(v) end, "Folds muzzle brake cone and laser sight hip into the spread solve - A/B test it, the game may already apply them") end if VIP.setPlatVel then Checkbox(aim, "Platform Velocity Comp", "sa_platvel", false, function(v) VIP.setPlatVel(v) end) end if VIP.setRicochet then Checkbox(aim, "Ricochet", "sa_ricochet", false, function(v) VIP.setRicochet(v) end) Slider(aim, "Ricochet Checks", "sa_ricochetsegs", 4, 24, 10, "", function(v) if VIP.ricochet then VIP.ricochet.segs = v end end) Slider(aim, "Ricochet Max Angle", "sa_ricochetang", 5, 85, 45, " deg", function(v) if VIP.ricochet then VIP.ricochet.maxAng = v end end) end if VIP.setThickBullet then local tbBox tbBox = Checkbox(aim, "Bigger Hitbox", "sa_thick", false, function(v) local ok = VIP.setThickBullet(v) if v and ok == false then tbBox.Set(false, false); return end notify(v and "Bigger hitbox on" or "Bigger hitbox off", v and "success" or "info", 3) end, "Makes your bullets hit a bigger area around the target, so near misses still count") -- the slider is the real width of the hitbox sphere, the same size as the sphere that Show Hitbox draws (the cast uses half of it as its radius) Slider(aim, "Hitbox Size", "sa_hitboxsize", 0.2, 5, 4, " studs", function(v) VIP.setThickRadius(v / 2) end, "The real width of the hitbox sphere in studs, exactly the size of the sphere you see with Show Hitbox", 0.1) Dropdown(aim, "Hitbox Part", "sa_thickpart", { "Head", "Torso", "Any" }, "Head", function(v) VIP.setThickPart(v) end) end Checkbox(aim, "Wall Manipulation", "manip_enabled", false, function(v) VIP.manip.enabled = v end, "Shifts the bullet origin to shoot around walls") Slider(aim, "Manip Max Distance", "manip_max2", 1, 9.2, 9.2, " studs", function(v) VIP.manip.maxShift = v * 8 / 9.2 end, "Max origin shift", 0.1) if VIP.setGunPush then local offsetToggle offsetToggle=Checkbox(aim,"Shot Offset","manip_push",false,function(on) VIP.setGunPush(on) offsetToggle.Set(VIP.gunPush.enabled,false) end,"Starts local gun projectiles ahead along their firing direction") Slider(aim,"Shot Offset Distance","manip_push_dist",0,50,6," studs",function(value) value=tonumber(value) if value and value==value and math.abs(value)