-- Zen Hub - Unseen Liminality -- Press Right Control to toggle local ps=game:GetService("Players")local rs=game:GetService("ReplicatedStorage")local ru=game:GetService("RunService")local ui=game:GetService("UserInputService")local tw=game:GetService("TweenService")local lt=game:GetService("Lighting") local LP=ps.LocalPlayer local E=rs:WaitForChild("Events")local LI=E:WaitForChild("LightsEvent")local PA=E:WaitForChild("SetPassiveMode")local FP=E:WaitForChild("FirstPersonEvent") local LV={"Lobby","Hotel","PoolRooms","EmptyLounge","Cheated","Frutiger","Desolate Office","Pipedreams","DreamCore","LiminalHome","LevelSelector"}local AO={"Aero","LiminalHome","RedCity","GrandmasBasement","Original Poolrooms","Clarks","Dreamcore","Houses","Dinner Room","ExitSign","DryRooms","Angel","Eyes","SideOrder","ChristmasTree1","Theatre","Road"}local NN={"StillLife","Pirate"} local S={on=false,ss=false,nc=false,ij=false,nf=false,aa=false,is=false,hj=false,en=false,ep=false,ib=false,nd=false,nv=false,oj=36,os=11,jv=100}local ui2={}local cn={}local es={}local nc2,jc2=nil,nil local pe={} local function chr()return LP.Character or LP.CharacterAdded:Wait()end local function hum()local c=chr()return c:FindFirstChild("Humanoid")end local function rp()local c=chr()return c:FindFirstChild("HumanoidRootPart")or c:FindFirstChild("Torso")end local function tp(p)local r=rp()if not r then return end tw:Create(r,TweenInfo.new(0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.Out),{CFrame=CFrame.new(p)}):Play()end local function np(m)return m:FindFirstChild("HumanoidRootPart")or m:FindFirstChild("RootPart")or m:FindFirstChild("Root")or m:FindFirstChildOfClass("Part")end local csm,csd=nil,nil local function sm()if csm then return csm end for _,v in pairs(getgc(true))do if type(v)=="table"and rawget(v,"Stamina")~=nil and rawget(v,"Start")~=nil then csm=v return v end end end local function cs()if csd then return csd end local m=rs:FindFirstChild("CharacterSettings",true)if not m then m=rs:FindFirstChild("Gameplay")and rs.Gameplay:FindFirstChild("CharacterSettings")end if m then csd=require(m)end return csd end sm()cs() local function hk()local s=cs()if s then s.StaminaDrain=0 s.StaminaRecovery=999 s.StaminaWaitToRegen=0 end end local function ti(on)local s=sm()if s then if on then s.Stamina=9999 hk()if not cn.st then local c=ru.Heartbeat:Connect(function()if sm()then sm().Stamina=9999 end end)cn.st=c table.insert(cn,c)end elseif cn.st then cn.st:Disconnect()cn.st=nil end end end local function tss(on)local s=cs()if s then s.SprintSpeed=on and 120 or 25 end end local function th(on)local h=hum()if h then if on then S.oj=h.JumpPower h.JumpPower=S.jv else h.JumpPower=S.oj end end end local function tn(on)if on then local c=chr()for _,p in ipairs(c:GetDescendants())do if p:IsA("BasePart")then p.CanCollide=false end end if not nc2 then nc2=ru.Stepped:Connect(function()if not S.nc then return end local cc=chr()for _,p in ipairs(cc:GetDescendants())do if p:IsA("BasePart")then p.CanCollide=false end end end)table.insert(cn,nc2)end elseif nc2 then nc2:Disconnect()nc2=nil local c=chr()for _,p in ipairs(c:GetDescendants())do if p:IsA("BasePart")then pcall(function()p.CanCollide=true end)end end end end local function tj(on)if on then if not jc2 then jc2=ui.JumpRequest:Connect(function()if not S.ij then return end local h=hum()if h then h:ChangeState(Enum.HumanoidStateType.Jumping)end end)table.insert(cn,jc2)end elseif jc2 then jc2:Disconnect()jc2=nil end end local function tf(on)S.nf=on for _,n in ipairs(NN)do local m=workspace:FindFirstChild("Stuff")and workspace.Stuff:FindFirstChild("NPCs")and workspace.Stuff.NPCs:FindFirstChild(n)if m then local h=m:FindFirstChild("Humanoid")if h then h.WalkSpeed=on and 0 or 16 h.JumpPower=on and 0 or 50 end local r=np(m)if r then r.Anchored=on end end end end local function td(on)for _,n in ipairs(NN)do local m=workspace:FindFirstChild("Stuff")and workspace.Stuff:FindFirstChild("NPCs")and workspace.Stuff.NPCs:FindFirstChild(n)if m then m:SetAttribute("State",on and"DORMANT"or"ACTIVE")end end end local function tb(on)local bp=LP:FindFirstChild("Backpack")if bp then for _,tool in ipairs(bp:GetChildren())do local sc=tool:FindFirstChild("FlashlightScript")or tool:FindFirstChild("LightScript")if sc then sc.Disabled=on end local bat=tool:FindFirstChild("Battery")or tool:FindFirstChild("BatteryValue")if bat and bat:IsA("NumberValue")then bat.Value=on and 9999 or 100 end end end end local function tg(on)if on then S.bk={B=lt.Brightness,C=lt.ClockTime,F=lt.FogEnd,A=lt.Ambient}lt.Brightness=3 lt.ClockTime=12 lt.FogEnd=99999 lt.Ambient=Color3.fromRGB(140,140,140)elseif S.bk then lt.Brightness=S.bk.B lt.ClockTime=S.bk.C lt.FogEnd=S.bk.F lt.Ambient=S.bk.A end end local function ae(obj,lbl,col)if es[obj]then return end local p=np(obj)or(obj:IsA("BasePart")and obj)or obj:FindFirstChild("HumanoidRootPart")or obj:FindFirstChildOfClass("Part")if not p then return end local bb=Instance.new("BillboardGui")bb.Name="ZE"bb.Adornee=p bb.Size=UDim2.new(0,200,0,50)bb.StudsOffset=Vector3.new(0,3,0)bb.AlwaysOnTop=true local bg=Instance.new("Frame")bg.Size=UDim2.fromScale(1,1)bg.BackgroundColor3=Color3.fromRGB(10,10,15)bg.BackgroundTransparency=0.2 bg.BorderSizePixel=1 bg.BorderColor3=col local nl=Instance.new("TextLabel")nl.Size=UDim2.fromScale(1,0.5)nl.Parent=bg nl.BackgroundTransparency=1 nl.TextColor3=Color3.fromRGB(255,255,255)nl.Text=lbl nl.Font=Enum.Font.GothamBold nl.TextSize=14 local dl=Instance.new("TextLabel")dl.Name="D"dl.Size=UDim2.fromScale(1,0.5)dl.Position=UDim2.fromScale(0,0.5)dl.Parent=bg dl.BackgroundTransparency=1 dl.TextColor3=Color3.fromRGB(160,160,160)dl.Text="0m"dl.Font=Enum.Font.Gotham dl.TextSize=12 bg.Parent=bb bb.Parent=obj es[obj]=bb local c=ru.Heartbeat:Connect(function()if not bb or not bb.Parent then c:Disconnect()return end local r=rp()local p=bb.Adornee if r and p then local d=(r.Position-p.Position).Magnitude local d2=bb:FindFirstChild("Frame",true):FindFirstChild("D",true)if d2 then d2.Text=tostring(math.floor(d+0.5)).."m"end end end)table.insert(cn,c)end local function ce()for obj,bb in pairs(es)do bb:Destroy()end es={}end local function te(on)if on then for _,plr in ipairs(ps:GetPlayers())do if plr~=LP and plr.Character then ae(plr.Character,plr.Name,Color3.fromRGB(50,150,255))end end if not pe.add then pe.add=ps.PlayerAdded:Connect(function(plr)plr.CharacterAdded:Connect(function(m)task.wait(0.5)if S.ep and m and m.Parent then ae(m,plr.Name,Color3.fromRGB(50,150,255))end end)end)end if not pe.rem then pe.rem=ps.PlayerRemoving:Connect(function(plr)local m=plr.Character if m and es[m]then es[m]:Destroy()es[m]=nil end end)end else if pe.add then pe.add:Disconnect()pe.add=nil end if pe.rem then pe.rem:Disconnect()pe.rem=nil end for obj in pairs(es)do if obj:IsA("Model")and obj:FindFirstChild("Humanoid")then local isP=false for _,plr in ipairs(ps:GetPlayers())do if plr.Character==obj then isP=true break end end if isP and es[obj]then es[obj]:Destroy()es[obj]=nil end end end end end local function tne(on) if on then local function scan(m) if not es[m]and m:IsA("Model")and m:FindFirstChild("Humanoid")then local isPlr=false for _,plr in ipairs(ps:GetPlayers())do if plr.Character==m then isPlr=true break end end if not isPlr then local r=np(m)if r then ae(m,m.Name,Color3.fromRGB(200,50,50))end end end end for _,m in ipairs(workspace:GetDescendants())do scan(m)end local npcF=workspace:FindFirstChild("Stuff")and workspace.Stuff:FindFirstChild("NPCs") if npcF then for _,m in ipairs(npcF:GetChildren())do scan(m)end end else for obj in pairs(es)do if obj:IsA("Model")then local isP=false for _,plr in ipairs(ps:GetPlayers())do if plr.Character==obj then isP=true break end end if not isP and es[obj]then es[obj]:Destroy()es[obj]=nil end end end end end local function tl(n)local lc=workspace:WaitForChild("Stuff"):WaitForChild("LevelChangers")for _,p in ipairs(lc:GetChildren())do if p:IsA("BasePart")and p:GetAttribute("LevelName")==n then tp(p.Position+Vector3.new(0,3,0))return end end end local function ta(n)local at=workspace:WaitForChild("Stuff"):WaitForChild("AoiTriggers")local t=at:FindFirstChild(n)if t and t:IsA("BasePart")then tp(t.Position+Vector3.new(0,3,0))end end local function da()local at=workspace:WaitForChild("Stuff"):WaitForChild("AoiTriggers")local r=rp()if not r then return end local sp=r.Position for _,t in ipairs(at:GetChildren())do if t:IsA("BasePart")then r.CFrame=CFrame.new(t.Position)task.wait(1)end end local spawn=workspace:FindFirstChild("Stuff")and workspace.Stuff:FindFirstChild("SpawnLocations")and workspace.Stuff.SpawnLocations:FindFirstChild("SpawnLocation")tp(spawn and spawn.Position+Vector3.new(0,3,0)or sp)end local function mu() if ui2.sg then ui2.sg:Destroy()end ce()if nc2 then nc2:Disconnect()nc2=nil end if jc2 then jc2:Disconnect()jc2=nil end if pe.add then pe.add:Disconnect()pe.add=nil end if pe.rem then pe.rem:Disconnect()pe.rem=nil end for _,c in ipairs(cn)do pcall(function()c:Disconnect()end)end cn={} local sg=Instance.new("ScreenGui")sg.Name="ZenHub"sg.ResetOnSpawn=false local mf=Instance.new("Frame")mf.Size=UDim2.new(0,320,0,420)mf.Position=UDim2.new(0.5,-160,0.5,-210)mf.BackgroundColor3=Color3.fromRGB(6,6,14)mf.BackgroundTransparency=0.08 mf.BorderSizePixel=0 mf.Active=true mf.Draggable=true mf.ClipsDescendants=true local function mk(i,p)local o=Instance.new(i)for k,v in pairs(p)do o[k]=v end return o end mk("UICorner",{CornerRadius=UDim.new(0,12),Parent=mf})mk("UIStroke",{Color=Color3.fromRGB(55,55,80),Thickness=1.5,Parent=mf}) local hd=mk("Frame",{Size=UDim2.new(1,0,0,44),BackgroundColor3=Color3.fromRGB(12,12,24),BorderSizePixel=0,Parent=mf})mk("UICorner",{CornerRadius=UDim.new(0,12),Parent=hd})mk("Frame",{Size=UDim2.new(1,0,0,22),Position=UDim2.new(0,0,0.5,0),BackgroundColor3=Color3.fromRGB(12,12,24),BorderSizePixel=0,Parent=hd})mk("TextLabel",{Size=UDim2.new(1,-42,1,0),Position=UDim2.new(0,15,0,0),BackgroundTransparency=1,Text="ZEN HUB -- Unseen Liminality",TextColor3=Color3.fromRGB(225,225,248),Font=Enum.Font.GothamBold,TextSize=14,TextXAlignment=Enum.TextXAlignment.Left,Parent=hd})mk("TextButton",{Size=UDim2.new(0,28,0,28),Position=UDim2.new(1,-36,0,8),BackgroundTransparency=1,Text="X",TextColor3=Color3.fromRGB(180,60,60),Font=Enum.Font.GothamBold,TextSize=16,Parent=hd}).MouseButton1Click:Connect(function()mf.Visible=false end) local tb=mk("TextButton",{Size=UDim2.new(0,40,0,40),Position=UDim2.new(0,8,1,-48),BackgroundColor3=Color3.fromRGB(10,10,22),BackgroundTransparency=0.1,Text="ZH",TextColor3=Color3.fromRGB(225,225,248),Font=Enum.Font.GothamBold,TextSize=12,BorderSizePixel=0})mk("UICorner",{CornerRadius=UDim.new(0,8),Parent=tb})mk("UIStroke",{Color=Color3.fromRGB(55,55,80),Thickness=1,Parent=tb}) tb.MouseButton1Click:Connect(function()mf.Visible=not mf.Visible end) local tabBar=mk("Frame",{Size=UDim2.new(1,0,0,32),Position=UDim2.new(0,0,0,44),BackgroundColor3=Color3.fromRGB(10,10,18),BorderSizePixel=0,Parent=mf})local ca=mk("Frame",{Size=UDim2.new(1,0,1,-76),Position=UDim2.new(0,0,0,76),BackgroundTransparency=1,BorderSizePixel=0,ClipsDescendants=true,Parent=mf}) local curTab=nil local tc={} local function sw(n)if curTab==n then return end curTab=n for _,ch in ipairs(tabBar:GetChildren())do if ch:IsA("TextButton")then ch.BackgroundColor3=ch.Text==n and Color3.fromRGB(55,55,85)or Color3.fromRGB(10,10,18)ch.BackgroundTransparency=ch.Text==n and 0.2 or 1 end end for name,frame in pairs(tc)do frame.Visible=(name==n)end end local tw=320 local tn=4 local tSize=math.floor(tw/tn) local function ad(name)local idx=#tabBar:GetChildren()local b=mk("TextButton",{Size=UDim2.new(0,tSize,1,0),Position=UDim2.new(0,idx*tSize,0,0),BackgroundColor3=Color3.fromRGB(10,10,18),BackgroundTransparency=1,Text=name,TextColor3=Color3.fromRGB(200,200,225),Font=Enum.Font.GothamBold,TextSize=11,BorderSizePixel=0})mk("UICorner",{CornerRadius=UDim.new(0,4),Parent=b})local sf=mk("ScrollingFrame",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,BorderSizePixel=0,ScrollBarThickness=3,ScrollBarImageColor3=Color3.fromRGB(50,50,75),AutomaticCanvasSize=Enum.AutomaticSize.Y,CanvasSize=UDim2.new(0,0,0,0),Parent=ca,Visible=false})tc[name]=sf b.MouseButton1Click:Connect(function()sw(name)end)b.Parent=tabBar return sf end local function btn(name,parent,cb)local y=#parent:GetChildren()*32+6 local b=mk("TextButton",{Size=UDim2.new(0,290,0,26),Position=UDim2.new(0,15,0,y),BackgroundColor3=Color3.fromRGB(16,16,28),BackgroundTransparency=0.15,Text="",BorderSizePixel=0})local dot=mk("TextLabel",{Size=UDim2.new(0,10,0,10),Position=UDim2.new(0,8,0.5,-5),BackgroundTransparency=1,Text="",TextColor3=Color3.fromRGB(45,45,45),Font=Enum.Font.GothamBold,TextSize=12})local lbl=mk("TextLabel",{Size=UDim2.new(1,-52,1,0),Position=UDim2.new(0,24,0,0),BackgroundTransparency=1,Text=name,TextColor3=Color3.fromRGB(195,195,225),Font=Enum.Font.Gotham,TextSize=12,TextXAlignment=Enum.TextXAlignment.Left})local arr=mk("TextLabel",{Size=UDim2.new(0,14,0,14),Position=UDim2.new(1,-20,0.5,-7),BackgroundTransparency=1,Text="",TextColor3=Color3.fromRGB(80,80,100),Font=Enum.Font.Gotham,TextSize=11})mk("UICorner",{CornerRadius=UDim.new(0,5),Parent=b})dot.Parent=b lbl.Parent=b arr.Parent=b b.MouseButton1Click:Connect(function()cb(b,dot,arr,lbl)end)b.MouseEnter:Connect(function()b.BackgroundColor3=Color3.fromRGB(24,24,40)end)b.MouseLeave:Connect(function()b.BackgroundColor3=Color3.fromRGB(16,16,28)end)b.Parent=parent return{btn=b,dot=dot,arrow=arr,label=lbl}end local function hdr(name,parent)mk("TextLabel",{Size=UDim2.new(0,290,0,16),Position=UDim2.new(0,18,0,(#parent:GetChildren())*32+6),BackgroundTransparency=1,Text=name,TextColor3=Color3.fromRGB(140,140,195),Font=Enum.Font.GothamBold,TextSize=10,TextXAlignment=Enum.TextXAlignment.Left,Parent=parent})end local function tgl(name,key,parent)return btn(name,parent,function(b,dot)S[key]=not S[key]dot.Text=S[key]and"*"or""dot.TextColor3=S[key]and Color3.fromRGB(60,230,60)or Color3.fromRGB(45,45,45)b.BackgroundColor3=S[key]and Color3.fromRGB(22,38,22)or Color3.fromRGB(16,16,28)if key=="en"then tne(S[key])elseif key=="ep"then te(S[key])elseif key=="nc"then tn(S[key])elseif key=="ij"then tj(S[key])elseif key=="is"then ti(S[key])elseif key=="ss"then tss(S[key])elseif key=="hj"then th(S[key])elseif key=="nf"then tf(S[key])elseif key=="nd"then td(S[key])elseif key=="ib"then tb(S[key])elseif key=="nv"then tg(S[key])elseif key=="aa"and S[key]then S.aa=false dot.Text=""dot.TextColor3=Color3.fromRGB(45,45,45)b.BackgroundColor3=Color3.fromRGB(16,16,28)task.spawn(da)end end)end local function act(name,cb,parent)return btn(name,parent,function(_,_,arr)cb()arr.Text="v"arr.TextColor3=Color3.fromRGB(100,220,100)task.delay(0.4,function()arr.Text=""end)end)end local pt=ad("Player")hdr("MOVEMENT",pt)tgl("Super Sprint","ss",pt)tgl("High Jump","hj",pt)tgl("Infinite Stamina","is",pt)tgl("Infinite Jump","ij",pt)tgl("Noclip","nc",pt) local wt=ad("World")hdr("VISUALS",wt)tgl("NPC ESP","en",wt)tgl("Player ESP","ep",wt)tgl("Night Vision","nv",wt)hdr("NPCs",wt)tgl("NPC Freeze","nf",wt)tgl("No NPC Detection","nd",wt)hdr("ITEMS",wt)tgl("Infinite Battery","ib",wt)hdr("OTHER",wt)tgl("Auto AOI","aa",wt) local tt=ad("Teleports")hdr("LEVELS",tt)for _,l in ipairs(LV)do act(l,function()task.spawn(tl,l)end,tt)end hdr("AOIs",tt)for _,a in ipairs(AO)do act(a,function()task.spawn(ta,a)end,tt)end local at2=ad("Actions")hdr("GAMEPLAY",at2)act("Toggle Lights",function()LI:FireServer()end,at2)act("Toggle Passive",function()PA:FireServer()end,at2)act("Toggle First Person",function()FP:FireServer()end,at2) sw("Player")mf.Parent=sg tb.Parent=sg sg.Parent=LP:WaitForChild("PlayerGui")ui2.sg=sg ui2.mf=mf end local function det()S.on=false ce()if nc2 then nc2:Disconnect()nc2=nil end if jc2 then jc2:Disconnect()jc2=nil end if pe.add then pe.add:Disconnect()pe.add=nil end if pe.rem then pe.rem:Disconnect()pe.rem=nil end for _,c in ipairs(cn)do pcall(function()c:Disconnect()end)end cn={}if ui2.sg then ui2.sg:Destroy()end local h=hum()if h then h.WalkSpeed=S.os h.JumpPower=S.oj end tf(false)td(false)tb(false)tss(false)tg(false)end ui.InputBegan:Connect(function(input,gp)if gp then return end if input.KeyCode==Enum.KeyCode.RightControl then if not S.on then S.on=true mu()else det()end end end) LP.AncestryChanged:Connect(function()if not LP or not LP.Parent then det()end end)