Advertisement
ALTERSAZ

Untitled

Feb 17th, 2023
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.38 KB | None | 0 0
  1. function waitframes(ii) for i = 1, ii do task.wait() end end
  2.  
  3. local NotificationHolder = loadstring(game:HttpGet("https://pastebin.com/raw/durk3dcC"))()
  4. local Notification = loadstring(game:HttpGet("https://pastebin.com/raw/xwhLR3P2"))()
  5. function message(text)
  6. task.spawn(function()
  7. local notif = Instance.new("Sound");notif.Parent = game.SoundService;notif.SoundId = "rbxassetid://4590657391";notif.Volume = 3;notif:Play();notif.Stopped:Wait();notif:Destroy()
  8. end)
  9.  
  10. task.spawn(function()
  11. local msg = Instance.new("Message",workspace)
  12. msg.Text = tostring(text)
  13. task.wait(5)
  14. msg:Destroy()
  15.  
  16. --firesignal(entityinfo.Caption.OnClientEvent,tostring(text))
  17. end)
  18. end
  19.  
  20. function normalmessage(title, text, timee)
  21. task.spawn(function()
  22. local notif = Instance.new("Sound");notif.Parent = game.SoundService;notif.SoundId = "rbxassetid://4590657391";notif.Volume = 3;notif:Play();notif.Stopped:Wait();notif:Destroy()
  23. end)
  24.  
  25. Notification:Notify(
  26. {Title = title, Description = text},
  27. {OutlineColor = Color3.fromRGB(80, 80, 80),Time = timee or 5, Type = "default"}
  28. )
  29. end
  30.  
  31. function confirmnotification(title, text, timee, callback)
  32. task.spawn(function()
  33. local notif = Instance.new("Sound");notif.Parent = game.SoundService;notif.SoundId = "rbxassetid://4590657391";notif.Volume = 3;notif:Play();notif.Stopped:Wait();notif:Destroy()
  34. end)
  35.  
  36. Notification:Notify(
  37. {Title = title, Description = text},
  38. {OutlineColor = Color3.fromRGB(80, 80, 80), Time = timee or 10, Type = "option"},
  39. {Image = "http://www.roblox.com/asset/?id=6023426923", ImageColor = Color3.fromRGB(255, 84, 84), Callback = callback or function(state)end}
  40. )
  41. end
  42.  
  43. function warnmessage(title, text, timee)
  44. task.spawn(function()
  45. local notif = Instance.new("Sound");notif.Parent = game.SoundService;notif.SoundId = "rbxassetid://4590657391";notif.Volume = 5;notif:Play();notif.Stopped:Wait();notif:Destroy()
  46. end)
  47. Notification:Notify(
  48. {Title = title, Description = text},
  49. {OutlineColor = Color3.fromRGB(80, 80, 80),Time = timee or 5, Type = "image"},
  50. {Image = "http://www.roblox.com/asset/?id=6023426923", ImageColor = Color3.fromRGB(255, 84, 84)}
  51. )
  52. end
  53.  
  54. local currentver = "1.3.3"
  55. local gui_data = nil
  56. local s,e = pcall(function()
  57. gui_data = game:HttpGet(("SET WHEN FINISHED - SET WHEN FINISHED"), true)
  58. gui_data = game:GetService("HttpService"):JSONDecode(gui_data)
  59. end)
  60. if e then
  61. warnmessage("Doors v"..currentver, "Failed to get script data.", 10)
  62. end
  63.  
  64. if POOPDOORSLOADED == true then warnmessage("Doors v"..currentver, "GUI already loaded!", 10) return end
  65. if game.PlaceId ~= 6839171747 and game.PlaceId == 6516141723 then
  66. --warnmessage("Doors v"..currentver, "You need to join a game to run this script.", 10)
  67. confirmnotification("Doors v"..currentver, "Do you want to join a game?", 15, function(state)
  68. if state == true then
  69. task.spawn(function()
  70. loadstring(game:HttpGet(("https://raw.githubusercontent.com/mstudio45/poopdoors_edited/main/joinsolo.lua"), true))()
  71. end)
  72. end
  73. end)
  74. return
  75. end
  76. if game.PlaceId ~= 6839171747 and game.PlaceId ~= 6516141723 then
  77. warnmessage("Doors v"..currentver, "You need to join DOORS to run this script.", 10)
  78. return
  79. end
  80. if gui_data ~= nil then
  81. if currentver ~= gui_data.ver or gui_data.ver ~= currentver then
  82. warnmessage("Doors v"..currentver, "You are using an outdated version of this script. Loading latest version.", 10)
  83. loadstring(game:HttpGet((gui_data.loadstring),true))()
  84. return
  85. else
  86. currentver = tostring(gui_data.ver)
  87. end
  88. end
  89. pcall(function() getgenv().POOPDOORSLOADED = true end)
  90. normalmessage("Doors v"..currentver, "Loading script...", 2)
  91. if gui_data ~= nil then
  92. normalmessage("INFO", gui_data.changelog, 20)
  93. end
  94.  
  95. -- credits alan1508 on v3erm
  96. do task.spawn(function()if hookfunction then local a;a=hookfunction(game:GetService("ContentProvider").PreloadAsync,function(b,c,d)if table.find(c,game:GetService("CoreGui"))then local e=function(e,f)if e:match("^rbxasset://")or e:match("^rbxthumb://")then return d(e,f)end end;warn("Anticheat Check Detected")return a(b,c,e)end;return a(b,c,d)end)end end)end
  97.  
  98. local PathModule = {}
  99. local PathfindingService = game:GetService("PathfindingService")
  100. local VisualizerFolder = game.Workspace:FindFirstChild("PDVisualizer")
  101. if VisualizerFolder == nil then
  102. VisualizerFolder = Instance.new("Folder", workspace)
  103. VisualizerFolder.Name = "PDVisualizer"
  104. end
  105. VisualizerFolder:ClearAllChildren()
  106.  
  107. local VisualizeColors = {
  108. Normal = Color3.fromRGB(255, 139, 0),
  109. Jump = Color3.fromRGB(255, 0, 0),
  110. Finish = Color3.fromRGB(0, 255, 0)
  111. }
  112.  
  113. function PathModule.visualize(waypoints, waypointSpacing)
  114. for _, waypoint in ipairs(waypoints) do
  115. local visualWaypointClone = Instance.new("Part")
  116. visualWaypointClone.Size = Vector3.new(0.3, 0.3, 0.3)
  117. visualWaypointClone.Anchored = true
  118. visualWaypointClone.CanCollide = false
  119. visualWaypointClone.Material = Enum.Material.Neon
  120. visualWaypointClone.Shape = Enum.PartType.Ball
  121. visualWaypointClone.Position = waypoint.Position + Vector3.new(0, 3, 0)
  122. visualWaypointClone.Color =
  123. (
  124. waypoint == waypoints[#waypoints] and VisualizeColors.Finish
  125. or (waypoint == waypoints[#waypoints-1] and VisualizeColors.Finish)
  126. or (waypoint == waypoints[#waypoints-2] and VisualizeColors.Finish)
  127. or (waypoint.Action == Enum.PathWaypointAction.Jump and VisualizeColors.Jump)
  128. or VisualizeColors.Normal
  129. )
  130. visualWaypointClone.Parent = VisualizerFolder
  131. end
  132. end
  133. function PathModule.new(char, goal, agentParameters, jumpingAllowed, offset)
  134. if not (char and char:IsA("Model") and char.PrimaryPart) then return end
  135. if not PathfindingService then PathfindingService = game:GetService("PathfindingService") end
  136.  
  137. local Path = PathfindingService:CreatePath(agentParameters or {})
  138. local HRP = char:FindFirstChild("HumanoidRootPart")
  139. local Humanoid = char:FindFirstChildWhichIsA("Humanoid")
  140.  
  141. if not HRP then HRP = char.PrimaryPart end
  142. if jumpingAllowed == nil or typeof(jumpingAllowed) ~= "boolean" then jumpingAllowed = false end
  143.  
  144. local waypoints
  145.  
  146. pcall(function() HRP:SetNetworkOwner(nil) end)
  147.  
  148. local Success, ErrorMessage = pcall(function()
  149. if offset then
  150. Path:ComputeAsync(HRP.Position - offset, goal)
  151. else
  152. Path:ComputeAsync(HRP.Position, goal)
  153. end
  154. end)
  155.  
  156. if Success and Path.Status == Enum.PathStatus.Success then
  157. waypoints = Path:GetWaypoints()
  158. PathModule.visualize(waypoints)
  159.  
  160. for i, v in pairs(waypoints) do
  161. if POOPDOORSLOADED == false or not v then return end
  162.  
  163. if char.HumanoidRootPart.Anchored == false then
  164. if jumpingAllowed == true then if v.Action == Enum.PathWaypointAction.Jump then Humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end
  165. Humanoid:MoveTo(v.Position)
  166. Humanoid.MoveToFinished:Wait()
  167. end
  168. end
  169.  
  170. VisualizerFolder:ClearAllChildren()
  171. return true
  172. else
  173. return false
  174. end
  175. end
  176.  
  177. --local library = loadstring(game:HttpGet(--[['https://pastebin.com/raw/vPWzQEC8'--]]"https://raw.githubusercontent.com/mstudio45/poopdoors_edited/main/library.lua"))()
  178. local Library = loadstring(game:GetObjects("rbxassetid://7657867786")[1].Source)()
  179. local WaitUntilTerminated = Library.subs.Wait
  180.  
  181. local plr = game.Players.LocalPlayer
  182. local char = plr.Character or plr.CharacterAdded:Wait()
  183. local hum = char:FindFirstChildOfClass("Humanoid") or char:WaitForChild("Humanoid")
  184. local LatestRoom = game:GetService("ReplicatedStorage").GameData.LatestRoom
  185. local Players = game:GetService("Players")
  186.  
  187. local esptableinstances = {}
  188. function esp(what,color,core,name)
  189. local parts
  190.  
  191. if typeof(what) == "Instance" then
  192. if what:IsA("Model") then
  193. parts = what:GetChildren()
  194. elseif what:IsA("BasePart") then
  195. parts = {what,table.unpack(what:GetChildren())}
  196. end
  197. elseif typeof(what) == "table" then
  198. parts = what
  199. end
  200.  
  201. local bill
  202. local boxes = {}
  203.  
  204. for i,v in pairs(parts) do
  205. if v:IsA("BasePart") then
  206. local box = Instance.new("BoxHandleAdornment")
  207. box.Size = v.Size
  208. box.AlwaysOnTop = true
  209. box.ZIndex = 1
  210. box.AdornCullingMode = Enum.AdornCullingMode.Never
  211. box.Color3 = color
  212. box.Transparency = 0.7
  213. box.Adornee = v
  214. box.Parent = game.CoreGui
  215.  
  216. table.insert(boxes,box)
  217.  
  218. task.spawn(function()
  219. while box do
  220. if box.Adornee == nil or not box.Adornee:IsDescendantOf(workspace) then
  221. box.Adornee = nil
  222. box.Visible = false
  223. box:Destroy()
  224. end
  225. task.wait()
  226. end
  227. end)
  228. end
  229. end
  230.  
  231. if core and name then
  232. bill = Instance.new("BillboardGui",game.CoreGui)
  233. bill.AlwaysOnTop = true
  234. bill.Size = UDim2.new(0,400,0,100)
  235. bill.Adornee = core
  236. bill.MaxDistance = 2000
  237.  
  238. local mid = Instance.new("Frame",bill)
  239. mid.AnchorPoint = Vector2.new(0.5,0.5)
  240. mid.BackgroundColor3 = color
  241. mid.Size = UDim2.new(0,8,0,8)
  242. mid.Position = UDim2.new(0.5,0,0.5,0)
  243. Instance.new("UICorner",mid).CornerRadius = UDim.new(1,0)
  244. Instance.new("UIStroke",mid)
  245.  
  246. local txt = Instance.new("TextLabel",bill)
  247. txt.AnchorPoint = Vector2.new(0.5,0.5)
  248. txt.BackgroundTransparency = 1
  249. txt.BackgroundColor3 = color
  250. txt.TextColor3 = color
  251. txt.Size = UDim2.new(1,0,0,20)
  252. txt.Position = UDim2.new(0.5,0,0.7,0)
  253. txt.Text = name
  254. Instance.new("UIStroke",txt)
  255.  
  256. task.spawn(function()
  257. while bill do
  258. if bill.Adornee == nil or not bill.Adornee:IsDescendantOf(workspace) then
  259. bill.Enabled = false
  260. bill.Adornee = nil
  261. bill:Destroy()
  262. end
  263. task.wait()
  264. end
  265. end)
  266. end
  267.  
  268. local ret = {}
  269.  
  270. ret.delete = function()
  271. for i,v in pairs(boxes) do
  272. pcall(function()
  273. table.remove(esptableinstances, table.find(esptableinstances, v.Adornee))
  274. end)
  275. pcall(function()
  276. table.remove(esptableinstances, table.find(esptableinstances, v.Parent))
  277. end)
  278. v.Adornee = nil
  279. v.Visible = false
  280. v:Destroy()
  281. end
  282.  
  283. if bill then
  284. pcall(function()
  285. table.remove(esptableinstances, table.find(esptableinstances, bill.Adornee))
  286. end)
  287. pcall(function()
  288. table.remove(esptableinstances, table.find(esptableinstances, bill.Parent))
  289. end)
  290. bill.Adornee = nil
  291. bill.Enabled = false
  292. bill:Destroy()
  293. end
  294. end
  295.  
  296. return ret
  297. end
  298.  
  299. local entityinfo = nil
  300. task.spawn(function()
  301. if game.ReplicatedStorage:FindFirstChild("EntityInfo") then
  302. entityinfo = game.ReplicatedStorage:FindFirstChild("EntityInfo")
  303. else
  304. entityinfo = game.ReplicatedStorage:WaitForChild("EntityInfo")
  305. end
  306. end)
  307.  
  308. local avoidingYvalue = 22.5
  309. local flags = {
  310. speed = 0,
  311. espdoors = false,
  312. espkeys = false,
  313. espitems = false,
  314. espbooks = false,
  315. esprush = false,
  316. espchest = false,
  317. esplocker = false,
  318. esphumans = false,
  319. espgold = false,
  320. goldespvalue = 0,
  321. hintrush = false,
  322. light = false,
  323. fullbright = false,
  324. instapp = false,
  325. noseek = false,
  326. nogates = false,
  327. nopuzzle = false,
  328. noa90 = false,
  329. noskeledoors = false,
  330. noscreech = false,
  331. getcode = false,
  332. roomsnolock = false,
  333. draweraura = false,
  334. keyaura = false,
  335. autorooms = false,
  336. heartbeatwin = false,
  337. noseekarmsfire = false,
  338. avoidrushambush = false,
  339. autoplayagain = false,
  340. bookcollecter = false,
  341. anticheatbypass = false,
  342. noeyesdamage = false,
  343. predictentities = false,
  344. noclip = false, --fly = false
  345. breakercollecter = false,
  346. autoskiprooms = false
  347. }
  348.  
  349. local DELFLAGS = {table.unpack(flags)}
  350. local esptable = {doors={},keys={},items={},books={},entity={},chests={},lockers={},people={},gold={}}
  351.  
  352. local GUIWindow = Library:CreateWindow({
  353. Name = "Doors v".. currentver,
  354. Themeable = true
  355. })
  356.  
  357. local GUI = GUIWindow:CreateTab({
  358. Name = "Main"
  359. })
  360.  
  361. --local window_player_tab = GUI:CreateTab({ Name = "Player" })
  362. local window_player = GUI:CreateSection({
  363. Name = "Player"
  364. })
  365. --local window_esp_tab = GUI:CreateTab({ Name = "ESP" })
  366. local window_esp = GUI:CreateSection({
  367. Name = "ESP"
  368. })
  369. --local window_entities_tab = GUI:CreateTab({ Name = "Entities" })
  370. local window_entities = GUI:CreateSection({
  371. Name = "Entities"
  372. })
  373. --local window_roomsdoors_tab = GUI:CreateTab({ Name = "Rooms (DOORS)" })
  374. local window_roomsdoors = GUI:CreateSection({
  375. Name = "Rooms (DOORS)",
  376. Side = "Right"
  377. })
  378. --local window_misc_tab = GUI:CreateTab({ Name = "Miscellaneous" })
  379. local window_misc = GUI:CreateSection({
  380. Name = "Miscellaneous",
  381. Side = "Right"
  382. })
  383. --local window_anticheatbyppasses_tab = GUI:CreateTab({ Name = "Anticheat Bypasses" })
  384. local window_anticheatbyppasses = GUI:CreateSection({
  385. Name = "Anticheat Bypasses",
  386. Side = "Right"
  387. })
  388. --local window_experimentals_tab = GUI:CreateTab({ Name = "Experimentals" })
  389. local window_experimentals = GUI:CreateSection({
  390. Name = "Experimentals",
  391. Side = "Right"
  392. })
  393.  
  394. local window_guisettings_tab = GUIWindow:CreateTab({ Name = "GUI" })
  395. local window_guisettings = window_guisettings_tab:CreateSection({
  396. Name = "GUI"
  397. })
  398.  
  399. local window_credits_tab = GUIWindow:CreateTab({ Name = "Credits" })
  400. local window_credits = window_credits_tab:CreateSection({
  401. Name = "Credits"
  402. })
  403. window_credits:AddLabel({ Name = "ZT#0001" })
  404. window_credits:AddLabel({ Name = "Original by:" });window_credits:AddLabel({ Name = "ZT#0001" })
  405. window_credits:AddLabel({ Name = "Edited by: Lyla<3#0001" })
  406. window_credits:AddLabel({ Name = "UI Library suggestion:" });window_credits:AddLabel({ Name = "Lyla<3#0001" })
  407.  
  408. task.spawn(function()
  409. repeat task.wait(1) until flags.anticheatbypass == true
  410.  
  411. window_player:AddToggle({
  412. Name = "Noclip",
  413. Value = false,
  414. Callback = function(val, oldval)
  415. flags.noclip = val
  416.  
  417. if val then
  418. local Nocliprun = game:GetService("RunService").Stepped:Connect(function()
  419. if game.Players.LocalPlayer.Character ~= nil then
  420. for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  421. if v:IsA("BasePart") then
  422. pcall(function()
  423. v.CanCollide = false
  424. end)
  425. end
  426. end
  427. end
  428. end)
  429.  
  430. repeat task.wait() until not flags.noclip
  431. if Nocliprun then Nocliprun:Disconnect() end
  432. end
  433. end
  434. })
  435. end)
  436.  
  437. window_player:AddToggle({
  438. Name = "Client Glow",
  439. Value = false,
  440. Callback = function(val, oldval)
  441. flags.light = val
  442.  
  443. if val then
  444. local l = Instance.new("PointLight")
  445. l.Range = 10000
  446. l.Brightness = 2
  447. l.Parent = char.PrimaryPart
  448.  
  449. repeat task.wait() until not flags.light
  450. l:Destroy()
  451. end
  452. end
  453. })
  454.  
  455. window_player:AddToggle({
  456. Name = "Fullbright",
  457. Value = false,
  458. Callback = function(val, oldval)
  459. flags.fullbright = val
  460.  
  461. if val then
  462. local oldAmbient = game:GetService("Lighting").Ambient
  463. local oldColorShift_Bottom = game:GetService("Lighting").ColorShift_Bottom
  464. local oldColorShift_Top = game:GetService("Lighting").ColorShift_Top
  465. local function dofullbright()
  466. game:GetService("Lighting").Ambient = Color3.new(1, 1, 1)
  467. game:GetService("Lighting").ColorShift_Bottom = Color3.new(1, 1, 1)
  468. game:GetService("Lighting").ColorShift_Top = Color3.new(1, 1, 1)
  469. end
  470.  
  471. dofullbright()
  472. local coneee = game:GetService("Lighting").LightingChanged:Connect(dofullbright)
  473. repeat task.wait() until not flags.fullbright
  474. coneee:Disconnect()
  475. game:GetService("Lighting").Ambient = oldAmbient
  476. game:GetService("Lighting").ColorShift_Bottom = oldColorShift_Bottom
  477. game:GetService("Lighting").ColorShift_Top = oldColorShift_Top
  478. end
  479. end
  480. })
  481.  
  482. if fireproximityprompt then
  483. window_player:AddToggle({
  484. Name = "Instant Use",
  485. Value = false,
  486. Callback = function(val, oldval)
  487. flags.instapp = val
  488.  
  489. local holdconnect
  490. holdconnect = game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(function(p)
  491. fireproximityprompt(p)
  492. end)
  493.  
  494. repeat task.wait() until not flags.instapp
  495. holdconnect:Disconnect()
  496. end
  497. })
  498. else
  499. warnmessage("Doors v"..currentver, "You need to have fireproximityprompt function for 'instant use'.", 7)
  500. end
  501.  
  502. local walkspeedtoggle = false
  503. local walkspeedslider = window_player:AddSlider({
  504. Name = "Walkspeed",
  505. Value = 16,
  506. Min = 16,
  507. Max = 20,
  508.  
  509. Callback = function(val, oldval)
  510. flags.speed = val
  511. if walkspeedtoggle == true then
  512. hum.WalkSpeed = val
  513. end
  514. end
  515. })
  516. window_player:AddToggle({
  517. Name = "Toggle Walkspeed",
  518. Value = false,
  519. Callback = function(val, oldval)
  520. walkspeedtoggle = val
  521. if not val then
  522. hum.WalkSpeed = 16
  523. end
  524. end
  525. })
  526.  
  527. task.spawn(function()
  528. while task.wait() do
  529. if walkspeedtoggle == true then
  530. if hum.WalkSpeed < flags.speed then
  531. hum.WalkSpeed = flags.speed
  532. end
  533. end
  534. end
  535. end)
  536.  
  537. window_player:AddButton({
  538. Name = "Reset Character",
  539. Callback = function()
  540. confirmnotification("Doors v"..currentver, "Are you sure to reset your character? {THIS WILL KILL YOU}", 15, function(state)
  541. if state == true then
  542. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  543. end
  544. end)
  545. end
  546. })
  547.  
  548. --[[window_player.label("\nif you use it anyone will be able to join your game and expose you of exploiting",32)
  549. window_player.button("rejoin revive", function()
  550. if #game:GetService("Players"):GetPlayers() <= 1 or #game:GetService("Players"):GetPlayers() == 0 then
  551. game:GetService("Players").LocalPlayer:Kick("\nRejoining...")
  552. task.wait()
  553. game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
  554. else
  555. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
  556. end
  557. end)--]]
  558.  
  559. window_esp:AddButton({
  560. Name = "Clear ESP",
  561. Callback = function()
  562. pcall(function()
  563. for _,e in pairs(esptable) do
  564. for _,v in pairs(e) do
  565. pcall(function()
  566. v.delete()
  567. end)
  568. end
  569. end
  570. end)
  571. end
  572. })
  573.  
  574. window_esp:AddToggle({
  575. Name = "Door ESP",
  576. Value = false,
  577. Callback = function(val, oldval)
  578. flags.espdoors = val
  579.  
  580. if val then
  581. local function setup(room)
  582. task.wait(.1)
  583. local door = room:WaitForChild("Door"):WaitForChild("Door")
  584.  
  585. if table.find(esptableinstances, door) then
  586. return
  587. end
  588.  
  589. task.wait(0.1)
  590. local h = esp(door,Color3.fromRGB(255,240,0),door,"Door")
  591. table.insert(esptable.doors,h)
  592. table.insert(esptableinstances, door)
  593.  
  594. door:WaitForChild("Open").Played:Connect(function()
  595. h.delete()
  596. end)
  597.  
  598. door.AncestryChanged:Connect(function()
  599. h.delete()
  600. end)
  601. end
  602.  
  603. local addconnect
  604. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  605. setup(room)
  606. end)
  607.  
  608. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  609. if room:FindFirstChild("Assets") then
  610. setup(room)
  611. end
  612. task.wait()
  613. end
  614.  
  615. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  616. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  617. end
  618.  
  619. repeat task.wait() until not flags.espdoors
  620. addconnect:Disconnect()
  621.  
  622. for i,v in pairs(esptable.doors) do
  623. v.delete()
  624. end
  625. end
  626. end
  627. })
  628. window_esp:AddToggle({
  629. Name = "Key/Lever ESP",
  630. Value = false,
  631. Callback = function(val, oldval)
  632. flags.espkeys = val
  633.  
  634. if val then
  635. local function check(v)
  636. if table.find(esptableinstances, v) then
  637. return
  638. end
  639.  
  640. if v:IsA("Model") and (v.Name == "LeverForGate" or v.Name == "KeyObtain") then
  641. task.wait(0.1)
  642. if v.Name == "KeyObtain" then
  643. local hitbox = v:WaitForChild("Hitbox")
  644. local parts = hitbox:GetChildren()
  645. table.remove(parts,table.find(parts,hitbox:WaitForChild("PromptHitbox")))
  646.  
  647. local h = esp(parts,Color3.fromRGB(90,255,40),hitbox,"Key")
  648. table.insert(esptable.keys,h)
  649. table.insert(esptableinstances, v)
  650. elseif v.Name == "LeverForGate" then
  651. local h = esp(v,Color3.fromRGB(90,255,40),v.PrimaryPart,"Lever")
  652. table.insert(esptable.keys,h)
  653. table.insert(esptableinstances, v)
  654. v.PrimaryPart:WaitForChild("SoundToPlay").Played:Connect(function()
  655. h.delete()
  656. end)
  657. end
  658. end
  659. end
  660.  
  661. local function setup(room)
  662. task.wait(.1)
  663. local assets = room:WaitForChild("Assets")
  664.  
  665. assets.DescendantAdded:Connect(function(v)
  666. check(v)
  667. end)
  668.  
  669. for i,v in pairs(assets:GetDescendants()) do
  670. check(v)
  671. end
  672. end
  673.  
  674. local addconnect
  675. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  676. setup(room)
  677. end)
  678.  
  679. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  680. if room:FindFirstChild("Assets") then
  681. setup(room)
  682. end
  683. task.wait()
  684. end
  685.  
  686. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  687. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  688. end
  689.  
  690. repeat task.wait() until not flags.espkeys
  691. addconnect:Disconnect()
  692.  
  693. for i,v in pairs(esptable.keys) do
  694. v.delete()
  695. end
  696. end
  697. end
  698. })
  699. window_esp:AddToggle({
  700. Name = "Item ESP",
  701. Value = false,
  702. Callback = function(val, oldval)
  703. flags.espitems = val
  704.  
  705. if val then
  706. local function check(v)
  707. if table.find(esptableinstances, v) then
  708. return
  709. end
  710.  
  711. if v:IsA("Model") and (v:GetAttribute("Pickup") or v:GetAttribute("PropType")) then
  712. task.wait(0.1)
  713.  
  714. local part = (v:FindFirstChild("Handle") or v:FindFirstChild("Prop"))
  715. local h = esp(part,Color3.fromRGB(160,190,255),part,v.Name)
  716. table.insert(esptable.items,h)
  717. table.insert(esptableinstances, v)
  718. end
  719. end
  720.  
  721. local function setup(room)
  722. task.wait(.1)
  723. local assets = room:WaitForChild("Assets")
  724.  
  725. if assets then
  726. local subaddcon
  727. subaddcon = assets.DescendantAdded:Connect(function(v)
  728. check(v)
  729. end)
  730.  
  731. for i,v in pairs(assets:GetDescendants()) do
  732. check(v)
  733. end
  734.  
  735. task.spawn(function()
  736. repeat task.wait() until not flags.espitems
  737. subaddcon:Disconnect()
  738. end)
  739. end
  740. end
  741.  
  742. local addconnect
  743. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  744. setup(room)
  745. end)
  746.  
  747. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  748. if room:FindFirstChild("Assets") then
  749. setup(room)
  750. end
  751. task.wait()
  752. end
  753.  
  754. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  755. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  756. end
  757.  
  758. repeat task.wait() until not flags.espitems
  759. addconnect:Disconnect()
  760.  
  761. for i,v in pairs(esptable.items) do
  762. v.delete()
  763. end
  764. end
  765. end
  766. })
  767. window_esp:AddToggle({
  768. Name = "Book/Breaker ESP",
  769. Value = false,
  770. Callback = function(val, oldval)
  771. flags.espbooks = val
  772.  
  773. if val then
  774. local function check(v,room)
  775. if table.find(esptableinstances, v) then
  776. return
  777. end
  778.  
  779. if v:IsA("Model") and (v.Name == "LiveHintBook" or v.Name == "LiveBreakerPolePickup") then
  780. task.wait(0.1)
  781. local h
  782. if v.Name == "LiveHintBook" then
  783. h = esp(v,Color3.fromRGB(160,190,255),v.PrimaryPart,"Book")
  784. elseif v.Name == "LiveBreakerPolePickup" then
  785. h = esp(v,Color3.fromRGB(160,190,255),v.PrimaryPart,"Breaker")
  786. end
  787.  
  788. table.insert(esptable.books,h)
  789. table.insert(esptableinstances, v)
  790.  
  791. v.AncestryChanged:Connect(function()
  792. if not v:IsDescendantOf(room) then
  793. h.delete()
  794. end
  795. end)
  796. end
  797. end
  798.  
  799. local function setup(room)
  800. task.wait(.1)
  801. if room.Name == "50" or room.Name == "100" then
  802. room.DescendantAdded:Connect(function(v)
  803. check(v,room)
  804. end)
  805.  
  806. for i,v in pairs(room:GetDescendants()) do
  807. check(v,room)
  808. end
  809. end
  810. end
  811.  
  812. local addconnect
  813. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  814. setup(room)
  815. end)
  816.  
  817. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  818. setup(room)
  819. task.wait()
  820. end
  821.  
  822. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  823. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  824. end
  825.  
  826. repeat task.wait() until not flags.espbooks
  827. addconnect:Disconnect()
  828.  
  829. for i,v in pairs(esptable.books) do
  830. v.delete()
  831. end
  832. end
  833. end
  834. })
  835. local entitynames = {"RushMoving","AmbushMoving","Snare","A60","A120"}
  836. window_esp:AddToggle({
  837. Name = "Entity ESP",
  838. Value = false,
  839. Callback = function(val, oldval)
  840. flags.esprush = val
  841.  
  842. if val then
  843. local addconnect
  844. addconnect = workspace.ChildAdded:Connect(function(v)
  845. if table.find(entitynames,v.Name) then
  846. task.wait(0.1)
  847.  
  848. local h = esp(v,Color3.fromRGB(255,25,25),v.PrimaryPart,v.Name:gsub("Moving",""))
  849. table.insert(esptable.entity,h)
  850. end
  851. end)
  852.  
  853. local function setup(room)
  854. task.wait(.1)
  855. if room.Name == "50" or room.Name == "100" then
  856. local figuresetup = room:WaitForChild("FigureSetup")
  857.  
  858. if figuresetup then
  859. local fig = figuresetup:WaitForChild("FigureRagdoll")
  860. task.wait(0.1)
  861.  
  862. local h = esp(fig,Color3.fromRGB(255,25,25),fig.PrimaryPart,"Figure")
  863. table.insert(esptable.entity,h)
  864. end
  865. else
  866. local assets = room:WaitForChild("Assets")
  867.  
  868. local function check(v)
  869. if v:IsA("Model") and table.find(entitynames,v.Name) then
  870. task.wait(0.1)
  871.  
  872. local h = esp(v:WaitForChild("Base"),Color3.fromRGB(255,25,25),v.Base,"Snare")
  873. table.insert(esptable.entity,h)
  874. end
  875. end
  876.  
  877. assets.DescendantAdded:Connect(function(v)
  878. check(v)
  879. end)
  880.  
  881. for i,v in pairs(assets:GetDescendants()) do
  882. check(v)
  883. end
  884. end
  885. end
  886.  
  887. local roomconnect
  888. roomconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  889. setup(room)
  890. end)
  891.  
  892. for i,v in pairs(workspace.CurrentRooms:GetChildren()) do
  893. task.spawn(function()
  894. setup(v)
  895. end)
  896. end
  897.  
  898. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  899.  
  900. repeat task.wait() until not flags.esprush
  901. addconnect:Disconnect()
  902. roomconnect:Disconnect()
  903.  
  904. for i,v in pairs(esptable.entity) do
  905. v.delete()
  906. end
  907. end
  908. end
  909. })
  910. window_esp:AddToggle({
  911. Name = "Wardrobe/Locker ESP",
  912. Value = false,
  913. Callback = function(val, oldval)
  914. flags.esplocker = val
  915.  
  916. if val then
  917. local function check(v)
  918. if table.find(esptableinstances, v) then
  919. return
  920. end
  921.  
  922. if v:IsA("Model") then
  923. task.wait(0.1)
  924. if v.Name == "Wardrobe" then
  925. pcall(function()
  926. local h = esp(v.PrimaryPart,Color3.fromRGB(145,100,25),v.PrimaryPart,"Closet")
  927. table.insert(esptable.lockers,h)
  928. table.insert(esptableinstances, v)
  929. end)
  930. elseif (v.Name == "Rooms_Locker" or v.Name == "Rooms_Locker_Fridge") then
  931. pcall(function()
  932. local h = esp(v.PrimaryPart,Color3.fromRGB(145,100,25),v.PrimaryPart,"Locker")
  933. table.insert(esptable.lockers,h)
  934. table.insert(esptableinstances, v)
  935. end)
  936. end
  937. end
  938. end
  939.  
  940. local function setup(room)
  941. task.wait(.1)
  942. local assets = room:WaitForChild("Assets")
  943.  
  944. if assets then
  945. local subaddcon
  946. subaddcon = assets.DescendantAdded:Connect(function(v)
  947. check(v)
  948. end)
  949.  
  950. for i,v in pairs(assets:GetDescendants()) do
  951. check(v)
  952. end
  953.  
  954. task.spawn(function()
  955. repeat task.wait() until not flags.esplocker
  956. subaddcon:Disconnect()
  957. end)
  958. end
  959. end
  960.  
  961. local addconnect
  962. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  963. setup(room)
  964. end)
  965.  
  966. for i,v in pairs(workspace.CurrentRooms:GetChildren()) do
  967. setup(v)
  968. task.wait()
  969. end
  970.  
  971. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  972. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  973. end
  974.  
  975. repeat task.wait() until not flags.esplocker
  976. addconnect:Disconnect()
  977.  
  978. for i,v in pairs(esptable.lockers) do
  979. v.delete()
  980. end
  981. end
  982. end
  983. })
  984. window_esp:AddToggle({
  985. Name = "Chest ESP",
  986. Value = false,
  987. Callback = function(val, oldval)
  988. flags.espchest = val
  989.  
  990. if val then
  991. local function check(v)
  992. if table.find(esptableinstances, v) then
  993. return
  994. end
  995.  
  996. if v:IsA("Model") then
  997. task.wait(0.1)
  998. if v.Name == "ChestBox" then
  999. warn(v.Name)
  1000. local h = esp(v,Color3.fromRGB(205,120,255),v.PrimaryPart,"Chest")
  1001. table.insert(esptable.chests,h)
  1002. table.insert(esptableinstances, v)
  1003. elseif v.Name == "ChestBoxLocked" then
  1004. local h = esp(v,Color3.fromRGB(255,120,205),v.PrimaryPart,"Locked Chest")
  1005. table.insert(esptable.chests,h)
  1006. table.insert(esptableinstances, v)
  1007. end
  1008. end
  1009. end
  1010.  
  1011. local function setup(room)
  1012. task.wait(.1)
  1013. local subaddcon
  1014. subaddcon = room.DescendantAdded:Connect(function(v)
  1015. check(v)
  1016. end)
  1017.  
  1018. for i,v in pairs(room:GetDescendants()) do
  1019. check(v)
  1020. end
  1021.  
  1022. task.spawn(function()
  1023. repeat task.wait() until not flags.espchest
  1024. subaddcon:Disconnect()
  1025. end)
  1026. end
  1027.  
  1028. local addconnect
  1029. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1030. setup(room)
  1031. end)
  1032.  
  1033. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  1034. if room:FindFirstChild("Assets") then
  1035. setup(room)
  1036. end
  1037. task.wait()
  1038. end
  1039.  
  1040. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  1041. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  1042. end
  1043.  
  1044. repeat task.wait() until not flags.espchest
  1045. addconnect:Disconnect()
  1046.  
  1047. for i,v in pairs(esptable.chests) do
  1048. v.delete()
  1049. end
  1050. end
  1051. end
  1052. })
  1053. window_esp:AddToggle({
  1054. Name = "Player ESP",
  1055. Value = false,
  1056. Callback = function(val, oldval)
  1057. flags.esphumans = val
  1058.  
  1059. if val then
  1060. local function personesp(v)
  1061. if v:IsA("Player") then
  1062. v.CharacterAdded:Connect(function(vc)
  1063. local vh = vc:WaitForChild("Humanoid")
  1064. local torso = vc:WaitForChild("UpperTorso")
  1065. task.wait(0.1)
  1066.  
  1067. local h = esp(vc,Color3.fromRGB(255,255,255),torso,v.DisplayName)
  1068. table.insert(esptable.people,h)
  1069. end)
  1070.  
  1071. if v.Character then
  1072. local vc = v.Character
  1073. local vh = vc:WaitForChild("Humanoid")
  1074. local torso = vc:WaitForChild("UpperTorso")
  1075. task.wait(0.1)
  1076.  
  1077. local h = esp(vc,Color3.fromRGB(255,255,255),torso,v.DisplayName)
  1078. table.insert(esptable.people,h)
  1079. end
  1080. end
  1081. end
  1082.  
  1083. local addconnect
  1084. addconnect = game.Players.PlayerAdded:Connect(function(v)
  1085. if v ~= plr then
  1086. personesp(v)
  1087. end
  1088. end)
  1089.  
  1090. for i,v in pairs(game.Players:GetPlayers()) do
  1091. if v ~= plr then
  1092. personesp(v)
  1093. end
  1094. task.wait()
  1095. end
  1096.  
  1097. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  1098. personesp(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  1099. end
  1100.  
  1101. repeat task.wait() until not flags.esphumans
  1102. addconnect:Disconnect()
  1103.  
  1104. for i,v in pairs(esptable.people) do
  1105. v.delete()
  1106. end
  1107. end
  1108. end
  1109. })
  1110. window_esp:AddToggle({
  1111. Name = "Gold ESP",
  1112. Value = false,
  1113. Callback = function(val, oldval)
  1114. flags.espgold = val
  1115.  
  1116. if val then
  1117. local function check(v)
  1118. if table.find(esptableinstances, v) then
  1119. return
  1120. end
  1121.  
  1122. if v:IsA("Model") then
  1123. task.wait(0.1)
  1124. local goldvalue = v:GetAttribute("GoldValue")
  1125.  
  1126. if goldvalue and goldvalue >= flags.goldespvalue then
  1127. local hitbox = v:WaitForChild("Hitbox")
  1128. local h = esp(hitbox:GetChildren(),Color3.fromRGB(255,255,0),hitbox,"GoldPile [".. tostring(goldvalue).."]")
  1129. table.insert(esptable.gold,h)
  1130. table.insert(esptableinstances, v)
  1131. end
  1132. end
  1133. end
  1134.  
  1135. local function setup(room)
  1136. task.wait(.1)
  1137. local assets = room:WaitForChild("Assets")
  1138.  
  1139. local subaddcon
  1140. subaddcon = assets.DescendantAdded:Connect(function(v)
  1141. check(v)
  1142. end)
  1143.  
  1144. for i,v in pairs(assets:GetDescendants()) do
  1145. check(v)
  1146. end
  1147.  
  1148. task.spawn(function()
  1149. repeat task.wait() until not flags.espchest
  1150. subaddcon:Disconnect()
  1151. end)
  1152. end
  1153.  
  1154. local addconnect
  1155. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1156. setup(room)
  1157. end)
  1158.  
  1159. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  1160. if room:FindFirstChild("Assets") then
  1161. setup(room)
  1162. end
  1163. task.wait()
  1164. end
  1165.  
  1166. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  1167. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  1168. end
  1169.  
  1170. repeat task.wait() until not flags.espgold
  1171. addconnect:Disconnect()
  1172.  
  1173. for i,v in pairs(esptable.gold) do
  1174. v.delete()
  1175. end
  1176. end
  1177. end
  1178. })
  1179. window_esp:AddSlider({
  1180. Name = "Minimum Gold for Gold ESP",
  1181. Value = 5,
  1182. Min = 5,
  1183. Max = 150,
  1184.  
  1185. Callback = function(val, oldval)
  1186. flags.speed = val
  1187. if walkspeedtoggle == true then
  1188. hum.WalkSpeed = val
  1189. end
  1190. end
  1191. })
  1192.  
  1193. window_entities:AddToggle({
  1194. Name = "Notify Entities",
  1195. Value = false,
  1196. Callback = function(val, oldval)
  1197. flags.hintrush = val
  1198. end
  1199. })
  1200. window_entities:AddToggle({
  1201. Name = "Event Prediction",
  1202. Value = false,
  1203. Callback = function(val, oldval)
  1204. flags.predictentities = val
  1205. end
  1206. })
  1207. game:GetService("ReplicatedStorage").GameData.LatestRoom.Changed:Connect(function(value)
  1208. if flags.predictentities == true then
  1209. local ChaseStartVal = game:GetService("ReplicatedStorage").GameData.ChaseStart.Value - value;
  1210. if ((0 < ChaseStartVal) and (ChaseStartVal < 4)) then
  1211. --'" .. tostring(A) .. "' rooms
  1212. warnmessage("EVENT PREDICTION", "There can be an event in or after Room "..tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value + ChaseStartVal).."!", 10);
  1213. end
  1214. end
  1215. end)
  1216.  
  1217. window_entities:AddToggle({
  1218. Name = "Disable Seek chase",
  1219. Value = false,
  1220. Callback = function(val, oldval)
  1221. flags.noseek = val
  1222.  
  1223. if val then
  1224. local addconnect
  1225. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1226. local trigger = room:WaitForChild("TriggerEventCollision",2)
  1227.  
  1228. if trigger then
  1229. trigger:Destroy()
  1230. end
  1231. end)
  1232.  
  1233. repeat task.wait() until not flags.noseek
  1234. addconnect:Disconnect()
  1235. end
  1236. end
  1237. })
  1238.  
  1239. local screechremote = nil
  1240. if entityinfo ~= nil then
  1241. screechremote = entityinfo:FindFirstChild("Screech")
  1242. end
  1243. window_entities:AddToggle({
  1244. Name = "Harmless Screech",
  1245. Value = false,
  1246. Callback = function(val, oldval)
  1247. flags.noscreech = val
  1248.  
  1249. if val and screechremote then
  1250. screechremote.Parent = nil
  1251. repeat task.wait() until not flags.noscreech
  1252. screechremote.Parent = entityinfo
  1253. end
  1254. end
  1255. })
  1256. workspace.CurrentCamera.ChildAdded:Connect(function(child)
  1257. if child.Name == "Screech" and flags.noscreech == true then
  1258. child:Destroy()
  1259. end
  1260. end)
  1261.  
  1262.  
  1263. if hookmetamethod and newcclosure and getnamecallmethod then
  1264. window_entities:AddLabel({ Name = "Do not click when playing the" })
  1265. window_entities:AddLabel({ Name = "heartbeat minigame if you have" })
  1266. window_entities:AddLabel({ Name = "'always win heartbeat' on!" })
  1267. window_entities:AddToggle({
  1268. Name = "Always win Heartbeat minigame",
  1269. Value = false,
  1270. Callback = function(val, oldval)
  1271. flags.heartbeatwin = val
  1272. end
  1273. })
  1274.  
  1275. local old
  1276. old = hookmetamethod(game,"__namecall",newcclosure(function(self,...)
  1277. local args = {...}
  1278. local method = getnamecallmethod()
  1279.  
  1280. if tostring(self) == 'ClutchHeartbeat' and method == "FireServer" and flags.heartbeatwin == true then
  1281. args[2] = true
  1282. return old(self,unpack(args))
  1283. end
  1284.  
  1285. return old(self,...)
  1286. end))
  1287. else
  1288. warnmessage("Doors v"..currentver, "You need to have hookmetamethod and newcclosure and getnamecallmethod functions for 'always win heartbeat'.", 7)
  1289. end
  1290.  
  1291. window_entities:AddToggle({
  1292. Name = "Avoid Rush & Ambush",
  1293. Value = false,
  1294. Callback = function(val, oldval)
  1295. flags.avoidrushambush = val
  1296. end
  1297. })
  1298. workspace.ChildAdded:Connect(function(inst)
  1299. spawn(function()
  1300. if flags.avoidrushambush == false then
  1301. if flags.hintrush == true then
  1302. if table.find(entitynames, inst.Name) then
  1303. repeat task.wait() until plr:DistanceFromCharacter(inst:GetPivot().Position) < 1000 or not inst:IsDescendantOf(workspace)
  1304.  
  1305. if inst:IsDescendantOf(workspace) then
  1306. --message(inst.Name:gsub("Moving",""):lower().." is coming go hide")
  1307. warnmessage("ENTITIES", inst.Name:gsub("Moving","").." is coming. Hide!", 7)
  1308. inst.Destroying:Wait()
  1309. warnmessage("ENTITIES", "It's now completely safe to leave the hiding spot.", 7)
  1310. end
  1311. end
  1312. end
  1313. end
  1314. end)
  1315.  
  1316. if flags.avoidrushambush == true then
  1317. if inst.Name == "RushMoving" or inst.Name == "AmbushMoving" then
  1318. repeat task.wait() until plr:DistanceFromCharacter(inst:GetPivot().Position) < 1000 or not inst:IsDescendantOf(workspace)
  1319.  
  1320. if inst:IsDescendantOf(workspace) then
  1321. warnmessage("ENTITIES", "Avoiding "..inst.Name:gsub("Moving","")..". Please wait...", 10)
  1322.  
  1323. local OldPos = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  1324. local oldwalkspeed = hum.WalkSpeed
  1325.  
  1326. local function getrecentroom(index)
  1327. local rooms = workspace.CurrentRooms:GetChildren()
  1328. table.sort(rooms,function(a,b)
  1329. return tonumber(a.Name) > tonumber(b.Name)
  1330. end)
  1331.  
  1332. return rooms[index]
  1333. end
  1334. local room = getrecentroom(2)
  1335. local door = room:WaitForChild("Door")
  1336. local con = game:GetService("RunService").Heartbeat:Connect(function()
  1337. -- hum.WalkSpeed = 0
  1338. if door then
  1339. game.Players.LocalPlayer.Character:MoveTo(door.Door.Position + Vector3.new(0,avoidingYvalue,0))
  1340. else
  1341. game.Players.LocalPlayer.Character:MoveTo(OldPos + Vector3.new(0,avoidingYvalue,0))
  1342. end
  1343. --game.Players.LocalPlayer.Character:MoveTo(OldPos + Vector3.new(0,125,0))
  1344. end)
  1345.  
  1346. inst.Destroying:Wait()
  1347. con:Disconnect()
  1348.  
  1349. for i = 1,5 do
  1350. game.Players.LocalPlayer.Character:MoveTo(door.Door.Position)--OldPos)
  1351. end
  1352. end
  1353. end
  1354. end
  1355. end)
  1356.  
  1357. window_roomsdoors:AddToggle({
  1358. Name = "No Seek Arms & Fire",
  1359. Value = false,
  1360. Callback = function(val, oldval)
  1361. flags.noseekarmsfire = val
  1362.  
  1363. if val then
  1364. for _,descendant in pairs(game:GetService("Workspace").CurrentRooms:GetDescendants()) do
  1365. if descendant.Name == "Seek_Arm" or descendant.Name == "ChandelierObstruction" then
  1366. descendant.Parent = nil
  1367. descendant:Destroy()
  1368. end
  1369. end
  1370. end
  1371. end
  1372. })
  1373. game:GetService("Workspace").CurrentRooms.ChildAdded:Connect(function(descendant)
  1374. if flags.noseekarmsfire == true then
  1375. for _,descendant in pairs(game:GetService("Workspace").CurrentRooms:GetDescendants()) do
  1376. if descendant.Name == "Seek_Arm" or descendant.Name == "ChandelierObstruction" then
  1377. descendant.Parent = nil
  1378. descendant:Destroy()
  1379. end
  1380. end
  1381. end
  1382. end)
  1383.  
  1384. if fireproximityprompt then
  1385. window_roomsdoors:AddButton({
  1386. Name = "Skip Current Room",
  1387. Callback = function()
  1388. pcall(function()
  1389. local key = false
  1390. local lever = false
  1391. local CurrentDoor = workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:WaitForChild("Door")
  1392. for _,object in ipairs(CurrentDoor.Parent:GetDescendants()) do
  1393. if object.Name == "KeyObtain" then
  1394. key = object
  1395. end
  1396. end
  1397. for _,object in ipairs(CurrentDoor.Parent:GetDescendants()) do
  1398. if object.Name == "LeverForGate" then
  1399. lever = object
  1400. end
  1401. end
  1402. if LatestRoom.Value == 50 then
  1403. CurrentDoor = workspace.CurrentRooms[tostring(LatestRoom.Value + 1)]:WaitForChild("Door")
  1404. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1405. else
  1406. if key then
  1407. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(key.Hitbox.Position))
  1408. task.wait(.3)
  1409. fireproximityprompt(key.ModulePrompt)
  1410. task.wait(.3)
  1411. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1412. task.wait(.3)
  1413. fireproximityprompt(CurrentDoor.Lock.UnlockPrompt)
  1414. end
  1415. if lever then
  1416. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(lever.Main.Position))
  1417. task.wait(.3)
  1418. fireproximityprompt(lever.ActivateEventPrompt)
  1419. task.wait(.3)
  1420. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1421. end
  1422. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1423. end
  1424. task.wait(.45)
  1425. CurrentDoor.ClientOpen:FireServer()
  1426. end)
  1427. end
  1428. })
  1429. else
  1430. warnmessage("Doors v"..currentver, "You need to have fireproximityprompt function for 'skip room'.", 7)
  1431. end
  1432.  
  1433. window_roomsdoors:AddButton({
  1434. Name = "Skip Room 50",
  1435. Callback = function()
  1436. pcall(function()
  1437. if LatestRoom.Value == 50 then
  1438. local CurrentDoor = workspace.CurrentRooms[tostring(LatestRoom.Value + 1)]:WaitForChild("Door")
  1439. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1440. end
  1441. end)
  1442. end
  1443. })
  1444.  
  1445. if fireproximityprompt then
  1446. window_roomsdoors:AddToggle({
  1447. Name = "Auto Room-Skip",
  1448. Value = false,
  1449. Callback = function(val, oldval)
  1450. flags.autoskiprooms = val
  1451.  
  1452. pcall(function()
  1453. if val then
  1454. repeat
  1455. local key = false
  1456. local lever = false
  1457. local CurrentDoor = workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:WaitForChild("Door")
  1458. for _,object in ipairs(CurrentDoor.Parent:GetDescendants()) do
  1459. if object.Name == "KeyObtain" then
  1460. key = object
  1461. end
  1462. end
  1463. for _,object in ipairs(CurrentDoor.Parent:GetDescendants()) do
  1464. if object.Name == "LeverForGate" then
  1465. lever = object
  1466. end
  1467. end
  1468. if LatestRoom.Value == 50 then
  1469. CurrentDoor = workspace.CurrentRooms[tostring(LatestRoom.Value + 1)]:WaitForChild("Door")
  1470. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1471. else
  1472. if key then
  1473. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(key.Hitbox.Position))
  1474. task.wait(.3)
  1475. fireproximityprompt(key.ModulePrompt)
  1476. task.wait(.3)
  1477. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1478. task.wait(.3)
  1479. fireproximityprompt(CurrentDoor.Lock.UnlockPrompt)
  1480. end
  1481. if lever then
  1482. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(lever.Main.Position))
  1483. task.wait(.3)
  1484. fireproximityprompt(lever.ActivateEventPrompt)
  1485. task.wait(.3)
  1486. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1487. end
  1488. game.Players.LocalPlayer.Character:PivotTo(CFrame.new(CurrentDoor.Door.Position))
  1489. end
  1490. task.wait(.45)
  1491. CurrentDoor.ClientOpen:FireServer()
  1492. task.wait(.1)
  1493. until not flags.autoskiprooms
  1494. end
  1495. end)
  1496. end
  1497. })
  1498. else
  1499. warnmessage("Doors v"..currentver, "You need to have fireproximityprompt function for 'skip room'.", 7)
  1500. end
  1501.  
  1502. window_misc:AddToggle({
  1503. Name = "Delete Gates",
  1504. Value = false,
  1505. Callback = function(val, oldval)
  1506. flags.nogates = val
  1507.  
  1508. if val then
  1509. spawn(function()
  1510. for _,room in pairs(workspace.CurrentRooms:GetChildren()) do
  1511. local gate = room:WaitForChild("Gate",2)
  1512.  
  1513. if gate then
  1514. local door = gate:WaitForChild("ThingToOpen",2)
  1515.  
  1516. if door then
  1517. door:Destroy()
  1518. end
  1519. end
  1520. end
  1521. end)
  1522.  
  1523. local addconnect
  1524. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1525. local gate = room:WaitForChild("Gate",2)
  1526.  
  1527. if gate then
  1528. local door = gate:WaitForChild("ThingToOpen",2)
  1529.  
  1530. if door then
  1531. door:Destroy()
  1532. end
  1533. end
  1534. end)
  1535.  
  1536. spawn(function()
  1537. local gate = workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:WaitForChild("Gate",2)
  1538. if gate then
  1539. local door = gate:WaitForChild("ThingToOpen",2)
  1540. if door then
  1541. door:Destroy()
  1542. end
  1543. end
  1544. end)
  1545.  
  1546. repeat task.wait() until not flags.nogates
  1547. addconnect:Disconnect()
  1548. end
  1549. end
  1550. })
  1551. window_misc:AddToggle({
  1552. Name = "Delete Puzzle Doors",
  1553. Value = false,
  1554. Callback = function(val, oldval)
  1555. flags.nopuzzle = val
  1556.  
  1557. if val then
  1558. spawn(function()
  1559. for _,room in pairs(workspace.CurrentRooms:GetChildren()) do
  1560. local assets = room:WaitForChild("Assets")
  1561. local paintings = assets:WaitForChild("Paintings",2)
  1562.  
  1563. if paintings then
  1564. local door = paintings:WaitForChild("MovingDoor",2)
  1565.  
  1566. if door then
  1567. door:Destroy()
  1568. end
  1569. end
  1570. end
  1571. end)
  1572.  
  1573. local addconnect
  1574. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1575. local assets = room:WaitForChild("Assets")
  1576. local paintings = assets:WaitForChild("Paintings",2)
  1577.  
  1578. if paintings then
  1579. local door = paintings:WaitForChild("MovingDoor",2)
  1580.  
  1581. if door then
  1582. door:Destroy()
  1583. end
  1584. end
  1585. end)
  1586.  
  1587. spawn(function()
  1588. local assets = workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:WaitForChild("Assets")
  1589. local paintings = assets:WaitForChild("Paintings",2)
  1590. if paintings then
  1591. local door = paintings:WaitForChild("MovingDoor",2)
  1592. if door then
  1593. door:Destroy()
  1594. end
  1595. end
  1596. end)
  1597.  
  1598. repeat task.wait() until not flags.nopuzzle
  1599. addconnect:Disconnect()
  1600. end
  1601. end
  1602. })
  1603. window_misc:AddToggle({
  1604. Name = "Delete Skeleten Doors",
  1605. Value = false,
  1606. Callback = function(val, oldval)
  1607. flags.noskeledoors = val
  1608.  
  1609. if val then
  1610. local addconnect
  1611. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1612. local door = room:WaitForChild("Wax_Door",2)
  1613.  
  1614. if door then
  1615. door:Destroy()
  1616. end
  1617. end)
  1618.  
  1619. spawn(function()
  1620. local door = workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:WaitForChild("Wax_Door",2)
  1621. if door then
  1622. door:Destroy()
  1623. end
  1624. end)
  1625.  
  1626. repeat task.wait() until not flags.noskeledoors
  1627. addconnect:Disconnect()
  1628. end
  1629. end
  1630. })
  1631. window_misc:AddToggle({
  1632. Name = "Auto Library Code",
  1633. Value = false,
  1634. Callback = function(val, oldval)
  1635. flags.getcode = val
  1636.  
  1637. if val then
  1638. local function deciphercode()
  1639. local paper = char:FindFirstChild("LibraryHintPaper")
  1640. local hints = plr.PlayerGui:WaitForChild("PermUI"):WaitForChild("Hints")
  1641.  
  1642. local code = {[1]="_",[2]="_",[3]="_",[4]="_",[5]="_"}
  1643.  
  1644. if paper then
  1645. for i,v in pairs(paper:WaitForChild("UI"):GetChildren()) do
  1646. if v:IsA("ImageLabel") and v.Name ~= "Image" then
  1647. for i,img in pairs(hints:GetChildren()) do
  1648. if img:IsA("ImageLabel") and img.Visible and v.ImageRectOffset == img.ImageRectOffset then
  1649. local num = img:FindFirstChild("TextLabel").Text
  1650.  
  1651. code[tonumber(v.Name)] = num
  1652. end
  1653. end
  1654. end
  1655. end
  1656. end
  1657.  
  1658. return code
  1659. end
  1660.  
  1661. local addconnect
  1662. addconnect = char.ChildAdded:Connect(function(v)
  1663. if v:IsA("Tool") and v.Name == "LibraryHintPaper" then
  1664. task.wait()
  1665. local code = table.concat(deciphercode())
  1666.  
  1667. if code:find("_") then
  1668. warnmessage("ROOM 50", "You are still missing some books! ('".. code.."').", 7)
  1669. else
  1670. normalmessage("ROOM 50", "The code is '".. code.."'.", 10)
  1671. end
  1672. end
  1673. end)
  1674.  
  1675. repeat task.wait() until not flags.getcode
  1676. addconnect:Disconnect()
  1677. end
  1678. end
  1679. })
  1680. window_misc:AddToggle({
  1681. Name = "A-000 Door No Locks",
  1682. Value = false,
  1683. Callback = function(val, oldval)
  1684. flags.roomsnolock = val
  1685.  
  1686. if val then
  1687. local function check(room)
  1688. local door = room:WaitForChild("RoomsDoor_Entrance",2)
  1689.  
  1690. if door then
  1691. local prompt = door:WaitForChild("Door"):WaitForChild("EnterPrompt")
  1692. prompt.Enabled = true
  1693. end
  1694. end
  1695.  
  1696. local addconnect
  1697. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1698. check(room)
  1699. end)
  1700.  
  1701. for i,v in pairs(workspace.CurrentRooms:GetChildren()) do
  1702. check(v)
  1703. end
  1704.  
  1705. spawn(function()
  1706. check(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  1707. end)
  1708.  
  1709. repeat task.wait() until not flags.roomsnolock
  1710. addconnect:Disconnect()
  1711. end
  1712. end
  1713. })
  1714.  
  1715. if fireproximityprompt then
  1716. window_misc:AddToggle({
  1717. Name = "Loot Aura",
  1718. Value = false,
  1719. Callback = function(val, oldval)
  1720. flags.draweraura = val
  1721.  
  1722. if val then
  1723. local function setup(room)
  1724. local function check(v)
  1725. task.wait()
  1726. if v:IsA("Model") then
  1727. if v.PrimaryPart then
  1728. if v.Name == "DrawerContainer" then
  1729. local knob = v:WaitForChild("Knobs")
  1730.  
  1731. if knob then
  1732. local prompt = knob:WaitForChild("ActivateEventPrompt")
  1733. local interactions = prompt:GetAttribute("Interactions")
  1734.  
  1735. if not interactions then
  1736. task.spawn(function()
  1737. repeat task.wait(0.1)
  1738. if plr:DistanceFromCharacter(knob.Position) <= 12 then
  1739. fireproximityprompt(prompt)
  1740. end
  1741. until prompt:GetAttribute("Interactions") or not flags.draweraura
  1742. end)
  1743. end
  1744. end
  1745. elseif v.Name == "KeyObtain" then
  1746. pcall(function()
  1747. local prompt = v:WaitForChild("ModulePrompt")
  1748. local interactions = prompt:GetAttribute("Interactions")
  1749.  
  1750. if not interactions then
  1751. task.spawn(function()
  1752. repeat task.wait(0.1)
  1753. pcall(function()
  1754. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1755. fireproximityprompt(prompt)
  1756. end
  1757. end)
  1758. until prompt:GetAttribute("Interactions") or not flags.draweraura
  1759. end)
  1760. end
  1761. end)
  1762. elseif v.Name == "PickupItem" then
  1763. if game:GetService("ReplicatedStorage").GameData.LatestRoom.Value == 51 or game:GetService("ReplicatedStorage").GameData.LatestRoom.Value == 52 then
  1764. return
  1765. end
  1766.  
  1767. pcall(function()
  1768. local prompt = v:WaitForChild("ModulePrompt")
  1769.  
  1770. local okcanckl = 0
  1771. task.spawn(function()
  1772. repeat task.wait(0.1)
  1773. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1774. fireproximityprompt(prompt)
  1775. okcanckl += 1
  1776. end
  1777. until not v:IsDescendantOf(workspace) or not prompt:IsDescendantOf(workspace) or not flags.draweraura or okcanckl > 20
  1778. end)
  1779. end)
  1780. elseif v:GetAttribute("Pickup") or v:GetAttribute("PropType") then
  1781. if game:GetService("ReplicatedStorage").GameData.LatestRoom.Value == 51 or game:GetService("ReplicatedStorage").GameData.LatestRoom.Value == 52 then
  1782. return
  1783. end
  1784.  
  1785. pcall(function()
  1786. local prompt = v:WaitForChild("ModulePrompt", 2)
  1787. if prompt == nil then
  1788. prompt = v:FindFirstChildWhichIsA("ProximityPrompt")
  1789. if prompt == nil then
  1790. for _,vvvvv in pairs(v:GetDescendants()) do
  1791. if vvvvv:IsA("ProximityPrompt") then
  1792. prompt = vvvvv
  1793. break
  1794. end
  1795. end
  1796. end
  1797. end
  1798.  
  1799. task.spawn(function()
  1800. repeat task.wait(0.1)
  1801. pcall(function()
  1802. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1803. fireproximityprompt(prompt)
  1804. end
  1805. end)
  1806. until not v:IsDescendantOf(workspace) or not prompt:IsDescendantOf(workspace) or not flags.draweraura
  1807. end)
  1808. end)
  1809. elseif v.Name == "GoldPile" then
  1810. pcall(function()
  1811. local prompt = v:WaitForChild("LootPrompt")
  1812. local interactions = prompt:GetAttribute("Interactions")
  1813.  
  1814. if not interactions then
  1815. task.spawn(function()
  1816. repeat task.wait(0.1)
  1817. pcall(function()
  1818. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1819. fireproximityprompt(prompt)
  1820. end
  1821. end)
  1822. until prompt:GetAttribute("Interactions") or not flags.draweraura
  1823. end)
  1824. end
  1825. end)
  1826. elseif v.Name:sub(1,8) == "ChestBox" then
  1827. local prompt = v:WaitForChild("ActivateEventPrompt")
  1828. local interactions = prompt:GetAttribute("Interactions")
  1829.  
  1830. if not interactions then
  1831. task.spawn(function()
  1832. repeat task.wait(0.1)
  1833. pcall(function()
  1834. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1835. fireproximityprompt(prompt)
  1836. end
  1837. end)
  1838. until prompt:GetAttribute("Interactions") or not flags.draweraura
  1839. end)
  1840. end
  1841. elseif v.Name == "RolltopContainer" then
  1842. local prompt = v:WaitForChild("ActivateEventPrompt")
  1843. local interactions = prompt:GetAttribute("Interactions")
  1844.  
  1845. if not interactions then
  1846. task.spawn(function()
  1847. repeat task.wait(0.1)
  1848. pcall(function()
  1849. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1850. fireproximityprompt(prompt)
  1851. end
  1852. end)
  1853. until prompt:GetAttribute("Interactions") or not flags.draweraura
  1854. end)
  1855. end
  1856. end
  1857. end
  1858. end
  1859. end
  1860.  
  1861. local subaddcon
  1862. subaddcon = room.DescendantAdded:Connect(function(v)
  1863. check(v)
  1864. end)
  1865.  
  1866. for i,v in pairs(room:GetDescendants()) do
  1867. check(v)
  1868. end
  1869.  
  1870. task.spawn(function()
  1871. repeat task.wait() until not flags.draweraura
  1872. subaddcon:Disconnect()
  1873. end)
  1874. end
  1875.  
  1876. local addconnect
  1877. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1878. setup(room)
  1879. end)
  1880.  
  1881. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  1882. if room:FindFirstChild("Assets") then
  1883. setup(room)
  1884. end
  1885. end
  1886. if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  1887. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  1888. end
  1889.  
  1890. repeat task.wait() until not flags.draweraura
  1891. addconnect:Disconnect()
  1892. end
  1893. end
  1894. })
  1895. else
  1896. warnmessage("Doors v"..currentver, "You need to have fireproximityprompt function for 'loot aura'.", 7)
  1897. end
  1898.  
  1899. if fireproximityprompt then
  1900. window_misc:AddToggle({
  1901. Name = "Book Aura",
  1902. Value = false,
  1903. Callback = function(val, oldval)
  1904. flags.bookcollecter = val
  1905.  
  1906. if val then
  1907. local function setup(room)
  1908. local function check(v)
  1909. if v:IsA("Model") then
  1910. if v.PrimaryPart then
  1911. if v.Name == "LiveHintBook" then
  1912. local prompt = v:WaitForChild("ActivateEventPrompt")
  1913.  
  1914. local okcanckl = 0
  1915. task.spawn(function()
  1916. repeat task.wait(0.1)
  1917. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1918. fireproximityprompt(prompt)
  1919. okcanckl += 1
  1920. end
  1921. until not v:IsDescendantOf(workspace) or not prompt:IsDescendantOf(workspace) or not flags.bookcollecter or okcanckl > 50
  1922. end)
  1923. end
  1924. end
  1925. end
  1926.  
  1927. end
  1928.  
  1929. local subaddcon
  1930. subaddcon = room.DescendantAdded:Connect(function(v)
  1931. check(v)
  1932. end)
  1933.  
  1934. for i,v in pairs(room:GetDescendants()) do
  1935. check(v)
  1936. end
  1937.  
  1938. task.spawn(function()
  1939. repeat task.wait() until not flags.bookcollecter
  1940. subaddcon:Disconnect()
  1941. end)
  1942. end
  1943.  
  1944. repeat task.wait()if flags.bookcollecter == false then break end until game:GetService("ReplicatedStorage").GameData.LatestRoom.Value == 50
  1945.  
  1946. if flags.bookcollecter == true then
  1947. local addconnect
  1948. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  1949. setup(room)
  1950. end)
  1951.  
  1952. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  1953. if room:FindFirstChild("Assets") then
  1954. setup(room)
  1955. end
  1956. end
  1957. -- if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  1958. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  1959. -- end
  1960.  
  1961. repeat task.wait() until not flags.bookcollecter
  1962. addconnect:Disconnect()
  1963. end
  1964. end
  1965. end
  1966. })
  1967. else
  1968. warnmessage("Doors v"..currentver, "You need to have fireproximityprompt function for 'book aura'.", 7)
  1969. end
  1970.  
  1971. if fireproximityprompt then
  1972. window_misc:AddToggle({
  1973. Name = "Breaker Aura",
  1974. Value = false,
  1975. Callback = function(val, oldval)
  1976. flags.breakercollecter = val
  1977.  
  1978. if val then
  1979. local function setup(room)
  1980. local function check(v)
  1981. if v:IsA("Model") then
  1982. if v.PrimaryPart then
  1983. if v.Name == "LiveBreakerPolePickup" then
  1984. local prompt = v:WaitForChild("ActivateEventPrompt")
  1985.  
  1986. local okcanckl = 0
  1987. task.spawn(function()
  1988. repeat task.wait(0.1)
  1989. if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
  1990. fireproximityprompt(prompt)
  1991. okcanckl += 1
  1992. end
  1993. until not v:IsDescendantOf(workspace) or not prompt:IsDescendantOf(workspace) or not flags.breakercollecter or okcanckl > 50
  1994. end)
  1995. end
  1996. end
  1997. end
  1998.  
  1999. end
  2000.  
  2001. local subaddcon
  2002. subaddcon = room.DescendantAdded:Connect(function(v)
  2003. check(v)
  2004. end)
  2005.  
  2006. for i,v in pairs(room:GetDescendants()) do
  2007. check(v)
  2008. end
  2009.  
  2010. task.spawn(function()
  2011. repeat task.wait() until not flags.breakercollecter
  2012. subaddcon:Disconnect()
  2013. end)
  2014. end
  2015.  
  2016. repeat task.wait()if flags.breakercollecter == false then break end until game:GetService("ReplicatedStorage").GameData.LatestRoom.Value == 100
  2017.  
  2018. if flags.breakercollecter == true then
  2019. local addconnect
  2020. addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
  2021. setup(room)
  2022. end)
  2023.  
  2024. for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
  2025. if room:FindFirstChild("Assets") then
  2026. setup(room)
  2027. end
  2028. end
  2029. -- if workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)]:FindFirstChild("Assets") then
  2030. setup(workspace.CurrentRooms[tostring(game:GetService("ReplicatedStorage").GameData.LatestRoom.Value)])
  2031. -- end
  2032.  
  2033. repeat task.wait() until not flags.breakercollecter
  2034. addconnect:Disconnect()
  2035. end
  2036. end
  2037. end
  2038. })
  2039. else
  2040. warnmessage("Doors v"..currentver, "You need to have fireproximityprompt function for 'book aura'.", 7)
  2041. end
  2042.  
  2043. if #game.Players:GetChildren() <= 1 or #game.Players:GetChildren() == 0 then
  2044. window_misc:AddButton({
  2045. Name = "Instant leave",
  2046. Callback = function()
  2047. confirmnotification("CONFIRM", "Are you sure you want to leave?", 15, function(state)
  2048. if state == true then
  2049. task.spawn(function()
  2050. task.wait(.05)
  2051. game:Shutdown()
  2052. end)
  2053. game.Players.LocalPlayer:Kick()
  2054. end
  2055. end)
  2056. end
  2057. })
  2058. end
  2059.  
  2060.  
  2061. window_anticheatbyppasses:AddLabel({ Name = "Method 1 Info:"})
  2062. window_anticheatbyppasses:AddLabel({ Name = "This method will make it so"})
  2063. window_anticheatbyppasses:AddLabel({ Name = " you CANT pick up ANYTHING so"})
  2064. window_anticheatbyppasses:AddLabel({ Name = " only do this in multiplayer." })
  2065. window_anticheatbyppasses:AddLabel({ Name = "If you use this in rooms you" })
  2066. window_anticheatbyppasses:AddLabel({ Name = " will NOT get the a-1000 badge!" })
  2067. window_anticheatbyppasses:AddButton({
  2068. Name = "Method 1",
  2069. Callback = function()
  2070. confirmnotification("AC BYPASS", "Are you sure you want to bypass anticheat with method 1?", 15, function(state)
  2071. if state == true then
  2072. normalmessage("AC BYPASS", "Anticheat bypassed with method 1!", 7)
  2073. flags.anticheatbypass = true
  2074. local newhum = hum:Clone()
  2075. newhum.Name = "humlol"
  2076. newhum.Parent = char
  2077. task.wait()
  2078. hum.Parent = nil
  2079.  
  2080. hum = newhum
  2081. walkspeedslider:SetMax(75)
  2082. end
  2083. end)
  2084. end
  2085. })
  2086.  
  2087. --[[window_anticheatbyppasses.label("method 2 info:",30)
  2088. window_anticheatbyppasses.label("with this method you will not see proximity prompts but some still works",50)
  2089. window_anticheatbyppasses.label("if you want to use this method run it after the elevator is closed",30)
  2090. window_anticheatbyppasses.label("credits: Renzoo#5106", 10)
  2091. window_anticheatbyppasses.label("Roblox did a thing that you lose net ownership when you die so this method is patched (invisfling too)",70)
  2092. window_anticheatbyppasses.button("method 2 (patched)", function()
  2093. confirmnotification("AC BYPASS", "Are you sure you want to bypass anticheat with method 2?", 15, function(state)
  2094. if state == true then
  2095. function getRoot(char)
  2096. local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
  2097. return rootPart
  2098. end
  2099.  
  2100. local RunService = game:GetService("RunService")
  2101. local Players = game:GetService("Players")
  2102. local IYMouse = game.Players.LocalPlayer:GetMouse()
  2103. FLYING = false
  2104. QEfly = true
  2105. iyflyspeed = 1
  2106. vehicleflyspeed = 1
  2107. function sFLY(vfly)
  2108. repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  2109. repeat wait() until IYMouse
  2110. if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  2111.  
  2112. local T = getRoot(Players.LocalPlayer.Character)
  2113. local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  2114. local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  2115. local SPEED = 0
  2116.  
  2117. local function FLY()
  2118. FLYING = true
  2119. local BG = Instance.new('BodyGyro')
  2120. local BV = Instance.new('BodyVelocity')
  2121. BG.P = 9e4
  2122. BG.Parent = T
  2123. BV.Parent = T
  2124. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2125. BG.cframe = T.CFrame
  2126. BV.velocity = Vector3.new(0, 0, 0)
  2127. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2128. task.spawn(function()
  2129. repeat wait()
  2130. if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  2131. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  2132. end
  2133. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
  2134. SPEED = 50
  2135. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
  2136. SPEED = 0
  2137. end
  2138. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
  2139. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  2140. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  2141. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
  2142. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  2143. else
  2144. BV.velocity = Vector3.new(0, 0, 0)
  2145. end
  2146. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  2147. until not FLYING
  2148. CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  2149. lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  2150. SPEED = 0
  2151. BG:Destroy()
  2152. BV:Destroy()
  2153. if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  2154. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  2155. end
  2156. end)
  2157. end
  2158. flyKeyDown = IYMouse.KeyDown:Connect(function(KEY)
  2159. if KEY:lower() == 'w' then
  2160. CONTROL.F = (vfly and vehicleflyspeed or iyflyspeed)
  2161. elseif KEY:lower() == 's' then
  2162. CONTROL.B = - (vfly and vehicleflyspeed or iyflyspeed)
  2163. elseif KEY:lower() == 'a' then
  2164. CONTROL.L = - (vfly and vehicleflyspeed or iyflyspeed)
  2165. elseif KEY:lower() == 'd' then
  2166. CONTROL.R = (vfly and vehicleflyspeed or iyflyspeed)
  2167. elseif QEfly and KEY:lower() == 'e' then
  2168. CONTROL.Q = (vfly and vehicleflyspeed or iyflyspeed)*2
  2169. elseif QEfly and KEY:lower() == 'q' then
  2170. CONTROL.E = -(vfly and vehicleflyspeed or iyflyspeed)*2
  2171. end
  2172. pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Track end)
  2173. end)
  2174. flyKeyUp = IYMouse.KeyUp:Connect(function(KEY)
  2175. if KEY:lower() == 'w' then
  2176. CONTROL.F = 0
  2177. elseif KEY:lower() == 's' then
  2178. CONTROL.B = 0
  2179. elseif KEY:lower() == 'a' then
  2180. CONTROL.L = 0
  2181. elseif KEY:lower() == 'd' then
  2182. CONTROL.R = 0
  2183. elseif KEY:lower() == 'e' then
  2184. CONTROL.Q = 0
  2185. elseif KEY:lower() == 'q' then
  2186. CONTROL.E = 0
  2187. end
  2188. end)
  2189. FLY()
  2190. end
  2191.  
  2192. function NOFLY()
  2193. FLYING = false
  2194. if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  2195. if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  2196. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  2197. end
  2198. pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
  2199. end
  2200.  
  2201. task.spawn(function()
  2202. local speaker = game.Players.LocalPlayer
  2203. local ch = speaker.Character
  2204. local prt=Instance.new("Model")
  2205. prt.Parent = speaker.Character
  2206.  
  2207. local z1 = Instance.new("Part")
  2208. z1.Name="Torso"
  2209. z1.CanCollide = false
  2210. z1.Anchored = true
  2211.  
  2212. local z2 = Instance.new("Part")
  2213. z2.Name="Head"
  2214. z2.Parent = prt
  2215. z2.Anchored = true
  2216. z2.CanCollide = false
  2217.  
  2218. local z3 =Instance.new("Humanoid")
  2219. z3.Name="Humanoid"
  2220. z3.Parent = prt
  2221.  
  2222. z1.Position = Vector3.new(0,9999,0)
  2223. speaker.Character=prt
  2224. task.wait(3)
  2225. speaker.Character=ch
  2226. task.wait(3)
  2227. local Hum = Instance.new("Humanoid")
  2228. z2:Clone()
  2229. Hum.Parent = speaker.Character
  2230.  
  2231. hum = hum
  2232.  
  2233. local root = getRoot(speaker.Character)
  2234. for i,v in pairs(speaker.Character:GetChildren()) do
  2235. if v ~= root and v.Name ~= "Humanoid" then
  2236. v:Destroy()
  2237. end
  2238. end
  2239. root.Transparency = 0
  2240. root.Color = Color3.new(1, 1, 1)
  2241.  
  2242. local invisflingStepped
  2243. invisflingStepped = RunService.Stepped:Connect(function()
  2244. if speaker.Character and getRoot(speaker.Character) then
  2245. getRoot(speaker.Character).CanCollide = false
  2246. else
  2247. invisflingStepped:Disconnect()
  2248. end
  2249. end)
  2250. task.spawn(function()
  2251. iyflyspeed = 1.5
  2252. sFLY()
  2253. end)
  2254. workspace.CurrentCamera.CameraSubject = root
  2255. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
  2256. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2257. normalmessage("AC BYPASS", "Done!", 5)
  2258. end)
  2259. end
  2260. end)
  2261. end)
  2262. --]]
  2263.  
  2264.  
  2265. if syn then
  2266. if syn.queue_on_teleport then
  2267. window_experimentals:AddButton({
  2268. Name = "Start a new solo run",
  2269. Callback = function()
  2270. syn.queue_on_teleport([[
  2271. game.Loaded:Wait()
  2272. loadstring(game:HttpGet(("https://raw.githubusercontent.com/mstudio45/poopdoors_edited/main/joinsolo.lua"),true))()
  2273. ]])
  2274. game:GetService("TeleportService"):Teleport(6516141723, game:GetService("Players").LocalPlayer)
  2275. end
  2276. })
  2277. end
  2278. elseif queue_on_teleport then
  2279. window_experimentals:AddButton({
  2280. Name = "Start a new solo run",
  2281. Callback = function()
  2282. queue_on_teleport([[
  2283. game.Loaded:Wait()
  2284. loadstring(game:HttpGet(("https://raw.githubusercontent.com/mstudio45/poopdoors_edited/main/joinsolo.lua"),true))()
  2285. ]])
  2286. game:GetService("TeleportService"):Teleport(6516141723, game:GetService("Players").LocalPlayer)
  2287. end
  2288. })
  2289. end
  2290.  
  2291. local Path = nil
  2292. local Wardrobes = {}
  2293. local Wardrobe = nil
  2294. local CurrentWardrobe = nil
  2295. local inRooms = false
  2296.  
  2297. local window_rooms = GUI:CreateSection({
  2298. Name = "The Rooms"
  2299. })
  2300.  
  2301. if game.ReplicatedStorage:WaitForChild("GameData"):WaitForChild("Floor").Value == "Rooms" then
  2302. -- anti afk by geodude#2619
  2303. task.spawn(function()
  2304. -- pcall(function()
  2305. local GC = getconnections or get_signal_cons
  2306. if GC then
  2307. for i,v in pairs(GC(plr.Idled)) do
  2308. if v["Disable"] then
  2309. v["Disable"](v)
  2310. elseif v["Disconnect"] then
  2311. v["Disconnect"](v)
  2312. end
  2313. end
  2314. end
  2315. --end)
  2316. end)
  2317.  
  2318. inRooms = true
  2319.  
  2320. local a90remote = nil
  2321. task.spawn(function() pcall(function() a90remote = game.ReplicatedStorage:WaitForChild("EntityInfo"):WaitForChild("A90") end) end)
  2322. function removea90()
  2323. pcall(function()
  2324. a90remote = game.ReplicatedStorage:WaitForChild("EntityInfo"):WaitForChild("A90")
  2325. local jumpscare = plr.PlayerGui:WaitForChild("MainUI"):WaitForChild("Jumpscare"):FindFirstChild("Jumpscare_A90")
  2326. if jumpscare then jumpscare:Destroy() end
  2327. if a90remote then a90remote:Destroy() end
  2328. if plr.PlayerGui.MainUI.Initiator.Main_Game.RemoteListener.Modules:FindFirstChild("A90") then plr.PlayerGui.MainUI.Initiator.Main_Game.RemoteListener.Modules.A90:Destroy() end
  2329. end)
  2330. end
  2331. window_rooms:AddButton({
  2332. Name = "Disable (harmless) A-90",
  2333. Callback = function()
  2334. if flags.noa90 == true then return end
  2335. flags.noa90 = true
  2336. removea90()
  2337. normalmessage("A-90", "A-90 disabled.")
  2338. end
  2339. })
  2340. plr.PlayerGui:WaitForChild("MainUI"):WaitForChild("Jumpscare").ChildAdded:Connect(function(a)if a.Name=="Jumpscare_A90"then if flags.noa90==true then pcall(function()a:Destroy()end)end end end)
  2341. plr.PlayerGui.MainUI.Initiator.Main_Game.RemoteListener.Modules.ChildAdded:Connect(function(a)if a.Name=="A90"then if flags.noa90==true then pcall(function()a:Destroy()end)end end end)
  2342. game.ReplicatedStorage:WaitForChild("EntityInfo").ChildAdded:Connect(function(a)if a.Name=="A90"then if flags.noa90==true then pcall(function()a:Destroy()end)end end end)
  2343.  
  2344. function clearWardrobes()
  2345. Wardrobes = {}
  2346. Wardrobe = nil
  2347. CurrentWardrobe = nil
  2348. end
  2349.  
  2350. function loadWardrobes()
  2351. clearWardrobes()
  2352. local function check(assets)
  2353. for _,v in pairs(assets:GetDescendants()) do
  2354. if (v.Name == "Rooms_Locker" or v.Name == "Rooms_Locker_Fridge") and v:FindFirstChild("HidePrompt") and not table.find(Wardrobes, v) then
  2355. if v.Door.Position.Y > -3 and v.HiddenPlayer.Value == nil then
  2356. table.insert(Wardrobes, v)
  2357. end
  2358. end
  2359. end
  2360. end
  2361.  
  2362. check(game:GetService("Workspace").CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value])
  2363. for i = 1, 2 do
  2364. check(game:GetService("Workspace").CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value-i])
  2365. end
  2366. check(game:GetService("Workspace").CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value])
  2367.  
  2368. Wardrobe = Wardrobes[1]
  2369. if #Wardrobes == 1 then
  2370. Wardrobe = Wardrobes[1]
  2371. else
  2372. for i,v in pairs(Wardrobes) do
  2373. if (game.Players.LocalPlayer.Character.PrimaryPart.Position - v.Door.Position).Magnitude < (Wardrobe.Door.Position - game.Players.LocalPlayer.Character.PrimaryPart.Position).Magnitude then
  2374. Wardrobe = v
  2375. end
  2376. end
  2377. end
  2378. end
  2379. function getWardrobe()
  2380. loadWardrobes()
  2381. return Wardrobe
  2382. end
  2383.  
  2384. function getWalkPart()
  2385. local P = nil
  2386. local A60_A120 = workspace:FindFirstChild("A60") or workspace:FindFirstChild("A120")
  2387. if A60_A120 and A60_A120.Main.Position.Y > -2 then
  2388. P = getWardrobe()
  2389. else
  2390. P = game:GetService("Workspace").CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value].Door
  2391. end
  2392. return P
  2393. end
  2394.  
  2395. --[[function hidefunc()
  2396. loadWardrobes()
  2397.  
  2398. task.spawn(function()
  2399. repeat
  2400. fireproximityprompt(Wardrobe.HidePrompt)
  2401. if Wardrobe.HiddenPlayer.Value ~= nil then
  2402. if Wardrobe.HiddenPlayer.Value.Name == game.Players.LocalPlayer.Name then
  2403. CurrentWardrobe = Wardrobe
  2404. break
  2405. end
  2406. end
  2407. task.wait()
  2408. until true
  2409. end)
  2410. end
  2411.  
  2412. local robloxMenuOpened = false
  2413. local GuiService = game:GetService("GuiService")
  2414. GuiService.MenuOpened:Connect(function()
  2415. robloxMenuOpened = true
  2416. end)
  2417. GuiService.MenuClosed:Connect(function()
  2418. robloxMenuOpened = false
  2419. end)
  2420.  
  2421. local UnhideDebounce = false
  2422. local VirtualInputManager = game:GetService("VirtualInputManager")
  2423. function closerobloxgui()
  2424. VirtualInputManager:SendKeyEvent(true, "Escape", false, game)
  2425. task.wait()
  2426. VirtualInputManager:SendKeyEvent(false, "Escape", false, game)
  2427. end
  2428. function unhidefunc()
  2429. if UnhideDebounce == true then return end
  2430. plr.DevComputerMovementMode = Enum.DevComputerMovementMode.KeyboardMouse
  2431.  
  2432. UnhideDebounce = true
  2433. if robloxMenuOpened == true then
  2434. closerobloxgui()
  2435. end
  2436.  
  2437. VirtualInputManager:SendKeyEvent(true, "W", false, game)
  2438. waitframes(3)
  2439. VirtualInputManager:SendKeyEvent(false, "W", false, game)
  2440.  
  2441. CurrentWardrobe = nil
  2442. task.wait(3)
  2443. UnhideDebounce = false
  2444. plr.DevComputerMovementMode = Enum.DevComputerMovementMode.Scriptable
  2445. end--]]
  2446. function unhidefunc() plr.Character:SetAttribute("Hiding",false) end
  2447.  
  2448. function isLocker(Part)
  2449. return (Part.Name == "Rooms_Locker" or Part.Name == "Rooms_Locker_Fridge")
  2450. end
  2451.  
  2452. local autoa1000 = nil
  2453. autoa1000 = window_rooms:AddToggle({
  2454. Name = "Auto A-1000",
  2455. Value = false,
  2456. Callback = function(val, oldval)
  2457. if flags.noa90 == false then
  2458. flags.noa90 = true
  2459. removea90()
  2460. --normalmessage("A-90", "A-90 disabled.")
  2461. end
  2462.  
  2463. if Path == true or Path == false or Path ~= nil then
  2464. warnmessage("AUTO A-1000", "Please wait...", 5)
  2465. autoa1000:RawSet(flags.autorooms)
  2466. repeat task.wait() until Path == true or Path == false or Path == nil
  2467. autoa1000:RawSet(val)
  2468. end
  2469.  
  2470. flags.autorooms = val
  2471. if val then
  2472. local goingToHide = false
  2473. local HideCheck = game:GetService("RunService").RenderStepped:Connect(function()
  2474. if flags.autorooms == true then
  2475. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  2476. game.Players.LocalPlayer.Character.Collision.CanCollide = false
  2477. game.Players.LocalPlayer.Character.Collision.Size = Vector3.new(8, game.Players.LocalPlayer.Character.Collision.Size.Y, 8)
  2478. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 21
  2479.  
  2480. local Part = getWalkPart()
  2481. local A60_A120 = workspace:FindFirstChild("A60") or workspace:FindFirstChild("A120")
  2482. if A60_A120 then
  2483. if Part then
  2484. if isLocker(Part) then
  2485. if A60_A120.Main.Position.Y > -2 then
  2486. local doorpart = nil;if Part:FindFirstChild("Door") then doorpart = Part.Door else doorpart = Part.PrimaryPart end
  2487. if plr:DistanceFromCharacter(doorpart.Position) <= 9 then
  2488. goingToHide = true
  2489. if plr.Character.HumanoidRootPart.Anchored == false then
  2490. fireproximityprompt(Part.HidePrompt)
  2491. end
  2492. --else if plr:DistanceFromCharacter(Part.Door.Position) <= 11.5 then plr.Character:PivotTo(Part.Door.CFrame) end
  2493. end
  2494. end
  2495. end
  2496. end
  2497. else
  2498. if plr.Character.HumanoidRootPart.Anchored == true then
  2499. repeat task.wait() until not (workspace:FindFirstChild("A60") or workspace:FindFirstChild("A120"))
  2500. unhidefunc();goingToHide = false
  2501. end
  2502. end
  2503.  
  2504. if game.Players.LocalPlayer.Character.Humanoid.Health < 1 then autoa1000:Set(false) end
  2505. end
  2506. end)
  2507.  
  2508. while flags.autorooms do
  2509. if flags.noa90 == false then flags.noa90 = true;removea90() end
  2510.  
  2511. waitframes(1)
  2512. local Part = getWalkPart()
  2513. repeat task.wait() until goingToHide == false and plr.Character.HumanoidRootPart.Anchored == false
  2514. if plr.Character.HumanoidRootPart.Anchored == false then
  2515. local doorpart = nil;if Part:FindFirstChild("Door") then doorpart = Part.Door else doorpart = Part.PrimaryPart end
  2516. if isLocker(Part) then
  2517. task.spawn(function()
  2518. repeat
  2519. if plr:DistanceFromCharacter(doorpart.Position) <= 9 then
  2520. if plr.Character.HumanoidRootPart.Anchored == false then
  2521. fireproximityprompt(Part.HidePrompt)
  2522. end
  2523. end
  2524. task.wait()
  2525. until (Part.HiddenPlayer.Value ~= nil and Part.HiddenPlayer.Value.Name == plr.Name)
  2526. end)
  2527. end
  2528.  
  2529. Path = PathModule.new(
  2530. plr.Character,
  2531. doorpart.Position,
  2532. {
  2533. WaypointSpacing = 1,
  2534. AgentRadius = 0.8,
  2535. AgentCanJump = false
  2536. },
  2537. false,
  2538. Vector3.new(0, 3, 0)
  2539. )
  2540. repeat task.wait() until Path == true or Path == false
  2541. end
  2542. end
  2543.  
  2544. task.spawn(function()
  2545. repeat task.wait() until flags.autorooms == false and goingToHide == false
  2546. HideCheck:Disconnect()
  2547. end)
  2548. else
  2549. plr.DevComputerMovementMode = Enum.DevComputerMovementMode.KeyboardMouse
  2550. end
  2551. end
  2552. })
  2553.  
  2554. LatestRoom:GetPropertyChangedSignal("Value"):Connect(function()
  2555. if flags.autorooms == true then
  2556. if LatestRoom.Value ~= 1000 then
  2557. plr.DevComputerMovementMode = Enum.DevComputerMovementMode.Scriptable
  2558. else
  2559. plr.DevComputerMovementMode = Enum.DevComputerMovementMode.KeyboardMouse
  2560. autoa1000:Set(false)
  2561. normalmessage("AUTO A-1000", "Finished walking to A-1000!\nThanks for using Doors Auto A-1000.", 10)
  2562. end
  2563. end
  2564. end)
  2565. end
  2566.  
  2567. if inRooms == false then
  2568. window_rooms:AddLabel({ Name = "You need to be in Rooms for this\nsection." })
  2569. end
  2570.  
  2571. function closegui()
  2572. flags = DELFLAGS
  2573. walkspeedtoggle = false
  2574. pcall(function()
  2575. for _,e in pairs(esptable) do
  2576. for _,v in pairs(e) do
  2577. pcall(function()
  2578. v.delete()
  2579. end)
  2580. end
  2581. end
  2582. end)
  2583.  
  2584. VisualizerFolder:Destroy()
  2585. pcall(function() getgenv().POOPDOORSLOADED = false;POOPDOORSLOADED = false end)
  2586.  
  2587. task.wait(.1)
  2588. normalmessage("Doors v"..currentver, "GUI closed!")
  2589. end
  2590. window_guisettings:AddButton({
  2591. Name = "Close gui",
  2592. Callback = function()
  2593. Library.unload()
  2594. end
  2595. })
  2596.  
  2597. task.spawn(function()
  2598. while WaitUntilTerminated() do task.wait() end
  2599. closegui()
  2600. end)
  2601.  
  2602. normalmessage("Doors v"..currentver, "Script loaded!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement