Marty2000

Test Roblox Doors

Apr 16th, 2024
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.65 KB | None | 0 0
  1. local a = game:GetService "HttpService"
  2. local b = game:GetService "Players"
  3. local c = game:GetService "ProximityPromptService"
  4. local d = game:GetService "ReplicatedStorage"
  5. local e = game:GetService "RunService"
  6. local f = game:GetService "SoundService"
  7. local g = game:GetService "Workspace"
  8. local h = game:GetService "ContentProvider"
  9. local i = game:GetService "CoreGui"
  10. do
  11. if getgenv().doors then
  12. return
  13. end
  14. getgenv().doors = true
  15. end
  16. do
  17. local j
  18. j =
  19. hookfunction(
  20. h.PreloadAsync,
  21. function(k, l, m)
  22. if table.find(l, i) then
  23. local n = function(n, o)
  24. if n:match "^rbxasset://" or n:match "^rbxthumb://" then
  25. return m(n, o)
  26. end
  27. end
  28. warn "Anticheat Check Detected"
  29. return j(k, l, n)
  30. end
  31. return j(k, l, m)
  32. end
  33. )
  34. end
  35. local j = [[https://raw.githubusercontent.com/violin-suzutsuki/LinoriaLib/main/]]
  36. local k = loadstring(game:HttpGet(j .. "Library.lua"))()
  37. local l = loadstring(game:HttpGet(j .. "addons/SaveManager.lua"))()
  38. local m = loadstring(game:HttpGet(j .. "addons/ThemeManager.lua"))()
  39. local n = b.LocalPlayer
  40. local o = g.CurrentCamera
  41. local p = Instance.new "Sound"
  42. local q = Instance.new "PointLight"
  43. local r = Instance.new "SurfaceLight"
  44. local s = d:WaitForChild "GameData"
  45. local t = d:WaitForChild "Bricks"
  46. local u = {
  47. PadlockHint = t:WaitForChild "PadlockHint",
  48. EngageMinigame = t:WaitForChild "EngageMinigame",
  49. ClutchHeartbeat = t:WaitForChild "ClutchHeartbeat",
  50. Screech = t:WaitForChild "Screech"
  51. }
  52. local v = {}
  53. local w = 0
  54. local x = function(x, y)
  55. k:Notify(x)
  56. if y and Toggles.SOUND_NOTIFIER.Value then
  57. p.TimePosition = 0.25
  58. p:Play()
  59. end
  60. end
  61. local y
  62. do
  63. y = {}
  64. y.attached = {}
  65. y.__index = y
  66. local z = Vector3.new(1, 0, 1)
  67. function y.new(A)
  68. local B = setmetatable({instance = A, destructed = false}, y)
  69. B._destroyListener =
  70. B.instance.AncestryChanged:Connect(
  71. function(C, D)
  72. if D == nil then
  73. B:destroy()
  74. end
  75. end
  76. )
  77. return B:constructor(A)
  78. end
  79. function y.constructor(A, B)
  80. A.root = B:WaitForChild("HumanoidRootPart", 5)
  81. A.humanoid = B:WaitForChild("Humanoid", 5)
  82. y.attached[B] = A
  83. task.defer(A.onStart, A)
  84. return A
  85. end
  86. function y.onStart(A)
  87. A.instance.ChildAdded:Connect(
  88. function(B)
  89. if B:IsA "Tool" then
  90. A:onToolAdded(B)
  91. end
  92. end
  93. )
  94. end
  95. function y.onToolAdded(A, B)
  96. if B.Name == "LibraryHintPaper" then
  97. if not Toggles.PADLOCK_CODE.Value then
  98. return
  99. end
  100. local C = B:WaitForChild("UI", 1)
  101. if C then
  102. local D = {}
  103. for E = 1, 5 do
  104. local F = C:FindFirstChild(tostring(E), 1)
  105. if F then
  106. local G = v[F.ImageRectOffset.X / 50]
  107. if G ~= nil then
  108. D[E] = G
  109. end
  110. end
  111. end
  112. local E = ""
  113. for F = 1, 5 do
  114. local G = D[F]
  115. E = E .. (G or "_")
  116. end
  117. k:Notify("[Code Parser]: " .. E, 10)
  118. end
  119. end
  120. end
  121. function y.onPhysics(A, B, C)
  122. local D = Options.SPRINT_BOOST.Value
  123. if D > 0 and Toggles.SPRINT_ENABLED.Value and Options.SPRINT_KEYBIND:GetState() then
  124. local E = A.humanoid.MoveDirection * z
  125. if E.Magnitude > 0 then
  126. A.instance:TranslateBy(E * D * C)
  127. end
  128. end
  129. end
  130. function y.destroy(A)
  131. if A.destructed then
  132. return
  133. else
  134. A.destructed = true
  135. A._destroyListener:Disconnect()
  136. end
  137. y.attached[A.instance] = nil
  138. end
  139. end
  140. local z
  141. do
  142. z = {}
  143. z.attached = {}
  144. z.__index = z
  145. function z.new(A)
  146. local B =
  147. setmetatable(
  148. {
  149. instance = A,
  150. destructed = false
  151. },
  152. z
  153. )
  154. B._destroyListener =
  155. B.instance.AncestryChanged:Connect(
  156. function(C, D)
  157. if D == nil then
  158. B:destroy()
  159. end
  160. end
  161. )
  162. return B:constructor(A)
  163. end
  164. function z.constructor(A, B)
  165. A.root = B:WaitForChild("HumanoidRootPart", 5)
  166. A.humanoid = B:WaitForChild("Humanoid", 5)
  167. z.attached[B] = A
  168. task.defer(A.onStart, A)
  169. return A
  170. end
  171. function z.onStart(A)
  172. end
  173. function z.render(A)
  174. end
  175. function z.destroy(A)
  176. if A.destructed then
  177. return
  178. else
  179. A.destructed = true
  180. A._destroyListener:Disconnect()
  181. end
  182. z.attached[A.instance] = nil
  183. end
  184. end
  185. local A
  186. do
  187. A = {}
  188. A.__index = A
  189. function A.new(B)
  190. local C = setmetatable({instance = B, destructed = false}, A)
  191. C._destroyListener =
  192. b.PlayerRemoving:Connect(
  193. function(D)
  194. if D == B then
  195. C:destroy()
  196. end
  197. end
  198. )
  199. return C:constructor(B)
  200. end
  201. function A.constructor(B, C)
  202. task.defer(B.onStart, B)
  203. return B
  204. end
  205. function A.onStart(B)
  206. local C = B.instance
  207. C.CharacterAdded:Connect(
  208. function(D)
  209. B:onCharacterAdded(D)
  210. end
  211. )
  212. local D = C.Character
  213. if D then
  214. B:onCharacterAdded(D)
  215. end
  216. end
  217. function A.onCharacterAdded(B, C)
  218. z.new(C)
  219. end
  220. function A.destroy(B)
  221. if B.destructed then
  222. return
  223. else
  224. B.destructed = true
  225. end
  226. end
  227. end
  228. local B
  229. do
  230. B = {}
  231. B.attached = {}
  232. B.__index = B
  233. local C = o.WorldToViewportPoint
  234. local D, E = Vector2.new, CFrame.new
  235. local F = E(0, 1, 0)
  236. function B.new(G)
  237. local H =
  238. setmetatable(
  239. {
  240. instance = G,
  241. destructed = false
  242. },
  243. B
  244. )
  245. H._destroyListener =
  246. H.instance.AncestryChanged:Connect(
  247. function(I, J)
  248. if J == nil then
  249. H:destroy()
  250. end
  251. end
  252. )
  253. return H:constructor(G)
  254. end
  255. function B.constructor(G, H)
  256. local I = H
  257. local J = I:WaitForChild("FigureRagdoll", 2.5)
  258. G.root = J:WaitForChild("Root", 2.5)
  259. G.quad = Drawing.new "Quad"
  260. task.defer(
  261. function()
  262. G:onStart()
  263. B.attached[H] = G
  264. end
  265. )
  266. return G
  267. end
  268. function B.onStart(G)
  269. local H = G.quad
  270. H.Visible = false
  271. H.Transparency = 0.75
  272. H.Color = Color3.new(1, 0, 0)
  273. H.Thickness = 3
  274. end
  275. function B.render(G)
  276. local H = G.quad
  277. local I = G.root
  278. if Toggles.FIGURE_ESP.Value then
  279. local J = I.CFrame * F
  280. local K = I.Size * 1.75
  281. local L = C(o, (J * E(K.X, K.Y, 0)).Position)
  282. local M = C(o, (J * E(-K.X, K.Y, 0)).Position)
  283. local N = C(o, (J * E(-K.X, -K.Y, 0)).Position)
  284. local O = C(o, (J * E(K.X, -K.Y, 0)).Position)
  285. if math.min(L.Z, M.Z, N.Z, O.Z) > 0 then
  286. H.PointA = D(M.X, M.Y)
  287. H.PointB = D(L.X, L.Y)
  288. H.PointC = D(O.X, O.Y)
  289. H.PointD = D(N.X, N.Y)
  290. H.Visible = true
  291. else
  292. H.Visible = false
  293. end
  294. else
  295. H.Visible = false
  296. end
  297. end
  298. function B.destroy(G)
  299. if G.destructed then
  300. return
  301. else
  302. G.destructed = true
  303. G._destroyListener:Disconnect()
  304. end
  305. B.attached[G.instance] = nil
  306. G.quad:Remove()
  307. end
  308. end
  309. local C
  310. do
  311. C = {}
  312. C.attached = {}
  313. C.__index = C
  314. local D = o.WorldToViewportPoint
  315. local E, F = Vector2.new, CFrame.new
  316. function C.new(G)
  317. local H = setmetatable({instance = G, destructed = false}, C)
  318. H._destroyListener =
  319. H.instance.AncestryChanged:Connect(
  320. function(I, J)
  321. if J == nil then
  322. H:destroy()
  323. end
  324. end
  325. )
  326. return H:constructor(G)
  327. end
  328. function C.constructor(G, H)
  329. G.quad = Drawing.new "Quad"
  330. G.root = H.PrimaryPart or H:WaitForChild("RushNew", 5)
  331. task.defer(
  332. function()
  333. G:onStart()
  334. C.attached[H] = G
  335. end
  336. )
  337. return G
  338. end
  339. function C.onStart(G)
  340. local H = G.quad
  341. H.Visible = false
  342. H.Transparency = 0.75
  343. H.Color = Color3.new(1, 0, 0)
  344. H.Thickness = 2
  345. end
  346. local G = Vector3.new(0.4, 0.8, 0)
  347. function C.render(H)
  348. local I = H.quad
  349. local J = H.root
  350. if Toggles.RUSH_ESP.Value then
  351. local K = J.CFrame
  352. local L = J.Size * G
  353. local M = D(o, (K * F(L.X, L.Y, 0)).Position)
  354. local N = D(o, (K * F(-L.X, L.Y, 0)).Position)
  355. local O = D(o, (K * F(-L.X, -L.Y, 0)).Position)
  356. local P = D(o, (K * F(L.X, -L.Y, 0)).Position)
  357. if math.min(M.Z, N.Z, O.Z, P.Z) > 0 then
  358. I.PointA = E(N.X, N.Y)
  359. I.PointB = E(M.X, M.Y)
  360. I.PointC = E(P.X, P.Y)
  361. I.PointD = E(O.X, O.Y)
  362. I.Visible = true
  363. else
  364. I.Visible = false
  365. end
  366. else
  367. I.Visible = false
  368. end
  369. end
  370. function C.destroy(H)
  371. if H.destructed then
  372. return
  373. else
  374. H.destructed = true
  375. H._destroyListener:Disconnect()
  376. end
  377. C.attached[H.instance] = nil
  378. H.quad:Remove()
  379. end
  380. end
  381. local D
  382. do
  383. D = {}
  384. D.attached = {}
  385. D.__index = D
  386. local E = o.WorldToViewportPoint
  387. local F, G = Vector2.new, CFrame.new
  388. function D.new(H, I)
  389. local J = setmetatable({instance = H, destructed = false}, D)
  390. J._destroyListener =
  391. J.instance.AncestryChanged:Connect(
  392. function(K, L)
  393. if L == nil then
  394. J:destroy()
  395. end
  396. end
  397. )
  398. return J:constructor(H, I)
  399. end
  400. function D.constructor(H, I, J)
  401. H.roomNumber = J
  402. H.quad = Drawing.new "Quad"
  403. task.defer(
  404. function()
  405. H:onStart()
  406. D.attached[I] = H
  407. end
  408. )
  409. return H
  410. end
  411. function D.onStart(H)
  412. local I = H.quad
  413. I.Visible = false
  414. I.Transparency = 0.6
  415. I.Thickness = 2
  416. end
  417. function D.render(H)
  418. local I = H.quad
  419. local J = H.instance.Door
  420. if s.LatestRoom.Value - H.roomNumber > 2 then
  421. I.Visible = false
  422. return
  423. end
  424. if Toggles.DOOR_ESP.Value then
  425. local K = J.CFrame
  426. local L = J.Size / 2
  427. local M = E(o, (K * G(L.X, L.Y, 0)).Position)
  428. local N = E(o, (K * G(-L.X, L.Y, 0)).Position)
  429. local O = E(o, (K * G(-L.X, -L.Y, 0)).Position)
  430. local P = E(o, (K * G(L.X, -L.Y, 0)).Position)
  431. if math.min(M.Z, N.Z, O.Z, P.Z) > 0 then
  432. I.PointA = F(N.X, N.Y)
  433. I.PointB = F(M.X, M.Y)
  434. I.PointC = F(P.X, P.Y)
  435. I.PointD = F(O.X, O.Y)
  436. I.Color = Options.DOOR_ESP_COLOR.Value
  437. I.Visible = true
  438. else
  439. I.Visible = false
  440. end
  441. else
  442. I.Visible = false
  443. end
  444. end
  445. function D.destroy(H)
  446. if H.destructed then
  447. return
  448. else
  449. H.destructed = true
  450. H._destroyListener:Disconnect()
  451. end
  452. D.attached[H.instance] = nil
  453. H.quad:Remove()
  454. end
  455. end
  456. local E
  457. do
  458. E = {}
  459. E.attached = {}
  460. E.__index = E
  461. local F = o.WorldToViewportPoint
  462. local G, H = Vector2.new, CFrame.new
  463. local I = H(0, 0, -0.5)
  464. function E.new(J, K)
  465. local L = setmetatable({instance = J, destructed = false}, E)
  466. L._destroyListener =
  467. L.instance.AncestryChanged:Connect(
  468. function(M, N)
  469. if N == nil then
  470. L:destroy()
  471. end
  472. end
  473. )
  474. return L:constructor(J, K)
  475. end
  476. function E.constructor(J, K, L)
  477. J.roomNum = L
  478. J.root = K:WaitForChild("Main", 2.5)
  479. J.occupied = K:WaitForChild("HiddenPlayer", 2.5)
  480. J.quad = Drawing.new "Quad"
  481. task.defer(
  482. function()
  483. J:onStart()
  484. E.attached[K] = J
  485. end
  486. )
  487. return J
  488. end
  489. function E.onStart(J)
  490. if J.destructed then
  491. return
  492. end
  493. local K = J.quad
  494. K.Visible = false
  495. K.Thickness = 2
  496. end
  497. function E.render(J)
  498. local K = J.quad
  499. local L = J.root
  500. local M = J.occupied.Value
  501. if not M and Toggles.WARDROBE_ESP.Value then
  502. local N = L.CFrame * I
  503. local O = L.Size * 0.55
  504. local P = F(o, (N * H(O.X, O.Y, 0)).Position)
  505. local Q = F(o, (N * H(-O.X, O.Y, 0)).Position)
  506. local R = F(o, (N * H(-O.X, -O.Y, 0)).Position)
  507. local S = F(o, (N * H(O.X, -O.Y, 0)).Position)
  508. if math.min(P.Z, Q.Z, R.Z, S.Z) > 0 then
  509. K.PointA = G(Q.X, Q.Y)
  510. K.PointB = G(P.X, P.Y)
  511. K.PointC = G(S.X, S.Y)
  512. K.PointD = G(R.X, R.Y)
  513. K.Color = Options.WARDROBE_ESP_COLOR.Value
  514. K.Transparency = (s.LatestRoom.Value - J.roomNum > 1) and 0.1 or 0.4
  515. K.Visible = true
  516. else
  517. K.Visible = false
  518. end
  519. else
  520. K.Visible = false
  521. end
  522. end
  523. function E.destroy(J)
  524. if J.destructed then
  525. return
  526. else
  527. J.destructed = true
  528. J._destroyListener:Disconnect()
  529. end
  530. E.attached[J.instance] = nil
  531. J.quad:Remove()
  532. end
  533. end
  534. local F
  535. do
  536. F = {}
  537. F.attached = {}
  538. F.__index = F
  539. local G = o.WorldToViewportPoint
  540. local H = Vector2.new(0, 3)
  541. function F.new(I, J)
  542. local K = setmetatable({instance = I, destructed = false}, F)
  543. K._destroyListener =
  544. K.instance.AncestryChanged:Connect(
  545. function(L, M)
  546. if M == nil then
  547. K:destroy()
  548. end
  549. end
  550. )
  551. return K:constructor(I, J)
  552. end
  553. function F.constructor(I, J, K)
  554. I.name = K or J.Name
  555. I.label = Drawing.new "Text"
  556. I.indicator = Drawing.new "Circle"
  557. I.outline = Drawing.new "Circle"
  558. task.defer(
  559. function()
  560. I:onStart()
  561. F.attached[J] = I
  562. end
  563. )
  564. return I
  565. end
  566. function F.onStart(I)
  567. local J, K, L = I.label, I.indicator, I.outline
  568. J.Text = I.name
  569. J.Size = 18
  570. J.Center = true
  571. J.Outline = true
  572. J.Visible = false
  573. K.Thickness = 1
  574. K.NumSides = 12
  575. K.Radius = 5
  576. K.Filled = true
  577. K.Visible = false
  578. L.Color = Color3.new()
  579. L.Thickness = 2
  580. L.NumSides = 12
  581. L.Radius = 5
  582. L.Filled = false
  583. L.Visible = false
  584. L.ZIndex = 2
  585. end
  586. function F.render(I)
  587. local J, K, L = I.label, I.indicator, I.outline
  588. if Toggles.OBTAINABLE_ESP.Value then
  589. local M, N = G(o, I.instance.Position)
  590. local O = N and M.Z > 2.5
  591. if O then
  592. local P = Vector2.new(M.X, M.Y)
  593. J.Position = P + H
  594. K.Position = P
  595. L.Position = P
  596. local Q = Options.OBTAINABLE_ESP_COLOR.Value
  597. J.Color = Q
  598. K.Color = Q
  599. end
  600. J.Visible = O
  601. K.Visible = O
  602. L.Visible = O
  603. else
  604. J.Visible = false
  605. K.Visible = false
  606. L.Visible = false
  607. end
  608. end
  609. function F.destroy(I)
  610. if I.destructed then
  611. return
  612. else
  613. I.destructed = true
  614. I._destroyListener:Disconnect()
  615. end
  616. F.attached[I.instance] = nil
  617. I.label:Remove()
  618. I.indicator:Remove()
  619. I.outline:Remove()
  620. end
  621. end
  622. local G
  623. do
  624. G = {}
  625. G.attached = {}
  626. G.__index = G
  627. local H = o.WorldToViewportPoint
  628. local I = Vector2.new(0, 3)
  629. function G.new(J, K)
  630. local L = setmetatable({instance = J, destructed = false}, G)
  631. L._destroyListener =
  632. L.instance.AncestryChanged:Connect(
  633. function(M, N)
  634. if N == nil then
  635. L:destroy()
  636. end
  637. end
  638. )
  639. return L:constructor(J, K)
  640. end
  641. function G.constructor(J, K, L)
  642. J.name = L or K.Name
  643. J.label = Drawing.new "Text"
  644. J.indicator = Drawing.new "Circle"
  645. J.outline = Drawing.new "Circle"
  646. task.defer(
  647. function()
  648. J:onStart()
  649. G.attached[K] = J
  650. end
  651. )
  652. return J
  653. end
  654. function G.onStart(J)
  655. local K, L, M = J.label, J.indicator, J.outline
  656. K.Text = J.name
  657. K.Size = 18
  658. K.Center = true
  659. K.Outline = true
  660. K.Visible = false
  661. L.Thickness = 1
  662. L.NumSides = 12
  663. L.Radius = 5
  664. L.Filled = true
  665. L.Visible = false
  666. M.Color = Color3.new()
  667. M.Thickness = 2
  668. M.NumSides = 12
  669. M.Radius = 5
  670. M.Filled = false
  671. M.Visible = false
  672. M.ZIndex = 2
  673. end
  674. function G.render(J)
  675. local K, L, M = J.label, J.indicator, J.outline
  676. if Toggles.INTERACTABLE_ESP.Value then
  677. local N, O = H(o, J.instance.Position)
  678. local P = O and N.Z > 2.5
  679. if P then
  680. local Q = Vector2.new(N.X, N.Y)
  681. K.Position = Q + I
  682. L.Position = Q
  683. M.Position = Q
  684. local R = Options.INTERACTABLE_ESP_COLOR.Value
  685. K.Color = R
  686. L.Color = R
  687. end
  688. K.Visible = P
  689. L.Visible = P
  690. M.Visible = P
  691. else
  692. K.Visible = false
  693. L.Visible = false
  694. M.Visible = false
  695. end
  696. end
  697. function G.destroy(J)
  698. if J.destructed then
  699. return
  700. else
  701. J.destructed = true
  702. J._destroyListener:Disconnect()
  703. end
  704. G.attached[J.instance] = nil
  705. J.label:Remove()
  706. J.indicator:Remove()
  707. J.outline:Remove()
  708. end
  709. end
  710. local H
  711. do
  712. H = {}
  713. H.__index = H
  714. function H.new(I)
  715. local J = setmetatable({instance = I, destructed = false}, H)
  716. J._destroyListener =
  717. J.instance.AncestryChanged:Connect(
  718. function(K, L)
  719. if L == nil then
  720. J:destroy()
  721. end
  722. end
  723. )
  724. return J:constructor(I)
  725. end
  726. function H.constructor(I, J)
  727. task.defer(I.onStart, I)
  728. return I
  729. end
  730. function H.onStart(I)
  731. local J = I.instance
  732. if J.Name == "50" then
  733. task.defer(I.onLibrary, I)
  734. task.defer(I.onFigure, I)
  735. elseif J.Name == "100" then
  736. task.defer(I.onFigure, I)
  737. end
  738. local K = function(K)
  739. I:onDescendant(K)
  740. end
  741. J.DescendantAdded:Connect(K)
  742. for L, M in ipairs(J:GetDescendants()) do
  743. K(M)
  744. if L % 500 == 0 then
  745. task.wait()
  746. end
  747. end
  748. end
  749. function H.onDescendant(I, J)
  750. local K = J.Parent
  751. if J.Name == "Main" then
  752. if K.Name == "LeverForGate" then
  753. G.new(J, "Lever")
  754. elseif K.Name == "Lighter" then
  755. F.new(J, "Lighter")
  756. elseif K.Name == "Vitamins" then
  757. F.new(J, "Vitamins")
  758. elseif K.Name == "Lockpick" then
  759. F.new(J, "Lockpicks")
  760. elseif K.Name == "Bandage" then
  761. F.new(J, "Bandages")
  762. end
  763. elseif K.Name == "Door" then
  764. if J.Name == "Door" and J:IsA "MeshPart" then
  765. D.new(K, tonumber(I.instance.Name))
  766. local L = K:FindFirstChild "Lock"
  767. if L then
  768. G.new(L, "Lock")
  769. end
  770. end
  771. elseif K.Name == "KeyObtain" then
  772. if J.Name == "Hitbox" then
  773. F.new(J, "Key")
  774. end
  775. elseif J.Name == "Wardrobe" then
  776. E.new(J, tonumber(I.instance.Name))
  777. end
  778. end
  779. function H.onFigure(I)
  780. local J = I.instance
  781. local K = J:WaitForChild("FigureSetup", 2.5)
  782. local L = B.new(K)
  783. end
  784. function H.onLibrary(I)
  785. local J = I.instance
  786. local K = function(K)
  787. if K.Name == "Super Cool Bookshelf With Hint Book" then
  788. local L = K:WaitForChild("LiveHintBook", 2.5)
  789. if L then
  790. local M = L:WaitForChild("Base", 2.5)
  791. if M then
  792. F.new(M, "Book")
  793. end
  794. end
  795. end
  796. end
  797. local L = J:WaitForChild("Assets", 5)
  798. for M, N in ipairs(L:GetChildren()) do
  799. task.defer(K, N)
  800. end
  801. L.ChildAdded:Connect(K)
  802. end
  803. function H.destroy(I)
  804. if I.destructed then
  805. return
  806. else
  807. I.destructed = true
  808. I._destroyListener:Disconnect()
  809. end
  810. end
  811. end
  812. k:SetWatermark "Linoria Community (OminousVibes)"
  813. k:Notify "Loading UI..."
  814. do
  815. local I = k:CreateWindow "Doors"
  816. do
  817. local J = I:AddTab "Gameplay"
  818. do
  819. local K = J:AddLeftTabbox "Modifications"
  820. local L = K:AddTab "Character Mods"
  821. L:AddToggle(
  822. "SPRINT_ENABLED",
  823. {
  824. Text = "Sprint Enabled",
  825. Default = true,
  826. Tooltip = "Enables Sprinting by pressing the Keybind"
  827. }
  828. ):AddKeyPicker(
  829. "SPRINT_KEYBIND",
  830. {
  831. Text = "Sprint",
  832. Default = "Tab"
  833. }
  834. )
  835. L:AddSlider(
  836. "SPRINT_BOOST",
  837. {
  838. Text = "Sprint Boost (in seconds)",
  839. Min = 0,
  840. Max = 30,
  841. Default = 20,
  842. Rounding = 1,
  843. Suffix = " studs"
  844. }
  845. )
  846. L:AddToggle(
  847. "GLOW_ENABLED",
  848. {
  849. Text = "Body Glow",
  850. Default = true,
  851. Tooltip = "Adds a subtle glow for better vision"
  852. }
  853. )
  854. L:AddSlider(
  855. "GLOW_BRIGHTNESS",
  856. {
  857. Text = "Glow Brightness",
  858. Min = 0,
  859. Max = 150,
  860. Default = 100,
  861. Rounding = 0,
  862. Suffix = ""
  863. }
  864. )
  865. local M = K:AddTab "World Mods"
  866. M:AddToggle(
  867. "REMOVE_AMBIENCE",
  868. {
  869. Text = "Remove Ambience",
  870. Default = false,
  871. Tooltip = "Removes the unnecessary sounds from the world"
  872. }
  873. )
  874. end
  875. do
  876. local K = J:AddLeftTabbox "Assists"
  877. local L = K:AddTab "Minigame Assists"
  878. L:AddToggle(
  879. "PADLOCK_CODE",
  880. {
  881. Text = "Padlock Parser",
  882. Default = true,
  883. Tooltip = "Parses the Padlock code using your Books and Paper"
  884. }
  885. )
  886. L:AddToggle(
  887. "BREAKER_WIN",
  888. {
  889. Text = "Breaker Assist",
  890. Default = true,
  891. Tooltip = [[Electrical breaker will be fully completed regardless of the actual state of the switches (Room 100)]]
  892. }
  893. )
  894. L:AddToggle(
  895. "AUTO_HEARTBEAT",
  896. {
  897. Text = "Always Win Heartbeat Minigame",
  898. Default = true,
  899. Tooltip = "Always win the heartbeat minigame (Room 50 & 100)"
  900. }
  901. )
  902. local M = K:AddTab "Entity Assists"
  903. M:AddToggle(
  904. "AUTO_SCREECH",
  905. {
  906. Text = "Anti-Screech",
  907. Default = true,
  908. Tooltip = "Screech attacks no longer damage you."
  909. }
  910. )
  911. end
  912. do
  913. local K = J:AddRightTabbox "Notifiers"
  914. local L = K:AddTab "Alerts"
  915. L:AddToggle(
  916. "EVENT_NOTIFIER",
  917. {
  918. Text = "Event Notifier",
  919. Default = true,
  920. Tooltip = "Notifies you when certain events occur"
  921. }
  922. )
  923. L:AddToggle(
  924. "DEBUG_NOTIFIER",
  925. {
  926. Text = "Debug Notifier",
  927. Default = true,
  928. Tooltip = "Notifies you of certain script changes"
  929. }
  930. )
  931. L:AddButton(
  932. "Example Alert (Testing)",
  933. function()
  934. x(
  935. [[[Example Alert]: This is a test alert to get you familiar with the script's notification system!]],
  936. true
  937. )
  938. end
  939. )
  940. local M = K:AddTab "Advanced"
  941. M:AddToggle(
  942. "SOUND_NOTIFIER",
  943. {
  944. Text = "Sound Alert",
  945. Default = true,
  946. Tooltip = "Important Alerts will have sound cues!"
  947. }
  948. )
  949. end
  950. end
  951. do
  952. local J = I:AddTab "Blatant"
  953. do
  954. local K = J:AddLeftGroupbox "Prompts"
  955. K:AddToggle(
  956. "INSTANT_PROMPT",
  957. {
  958. Text = "Instant Interact",
  959. Default = true,
  960. Tooltip = "Instantly interacts with prompts"
  961. }
  962. )
  963. K:AddToggle(
  964. "AUTO_PROMPT",
  965. {
  966. Text = "Automatic Interact",
  967. Default = true,
  968. Tooltip = "Automaticall interacts with prompts"
  969. }
  970. ):AddKeyPicker("AUTO_PROMPT_KEYBIND", {Text = "Auto-Interact", Default = "V"})
  971. end
  972. end
  973. do
  974. local J = I:AddTab "Visuals"
  975. do
  976. local K = J:AddLeftTabbox "Visuals"
  977. local L = K:AddTab "Entity Visuals"
  978. L:AddToggle(
  979. "RUSH_ESP",
  980. {
  981. Text = "Rush/Ambush ESP",
  982. Default = true,
  983. Tooltip = "ESP for both Rush and Ambush Entities"
  984. }
  985. )
  986. L:AddToggle(
  987. "FIGURE_ESP",
  988. {
  989. Text = "Figure ESP",
  990. Default = true,
  991. Tooltip = "ESP for the entity 'Figure'"
  992. }
  993. )
  994. local M = K:AddTab "Object Visuals"
  995. M:AddToggle(
  996. "DOOR_ESP",
  997. {
  998. Text = "Door ESP",
  999. Default = true,
  1000. Tooltip = "ESP for doors"
  1001. }
  1002. ):AddColorPicker(
  1003. "DOOR_ESP_COLOR",
  1004. {
  1005. Title = "ESP Color",
  1006. Default = Color3.new(0, 0.5, 1)
  1007. }
  1008. )
  1009. M:AddToggle(
  1010. "WARDROBE_ESP",
  1011. {
  1012. Text = "Wardrobe ESP",
  1013. Default = true,
  1014. Tooltip = "ESP for Wardrobe"
  1015. }
  1016. ):AddColorPicker(
  1017. "WARDROBE_ESP_COLOR",
  1018. {
  1019. Title = "ESP Color",
  1020. Default = Color3.new(0, 1, 0.9)
  1021. }
  1022. )
  1023. M:AddToggle(
  1024. "OBTAINABLE_ESP",
  1025. {
  1026. Text = "Obtainable ESP",
  1027. Default = true,
  1028. Tooltip = "ESP for items that can be picked up"
  1029. }
  1030. ):AddColorPicker(
  1031. "OBTAINABLE_ESP_COLOR",
  1032. {
  1033. Title = "ESP Color",
  1034. Default = Color3.new(1, 1, 0)
  1035. }
  1036. )
  1037. M:AddToggle(
  1038. "INTERACTABLE_ESP",
  1039. {
  1040. Text = "Interactable ESP",
  1041. Default = true,
  1042. Tooltip = "ESP for interactable items"
  1043. }
  1044. ):AddColorPicker(
  1045. "INTERACTABLE_ESP_COLOR",
  1046. {
  1047. Title = "ESP Color",
  1048. Default = Color3.new(1, 1, 1)
  1049. }
  1050. )
  1051. end
  1052. do
  1053. local K = J:AddRightGroupbox "World Render"
  1054. end
  1055. end
  1056. do
  1057. local J = I:AddTab "Credits"
  1058. local K = J:AddLeftGroupbox "Credits"
  1059. K:AddLabel "OminousVibes - Creator"
  1060. K:AddLabel "Inori @v3rm - UI Library"
  1061. K:AddLabel "Aztup @v3rm - Breaker Assist"
  1062. K:AddDivider()
  1063. K:AddLabel "Contributors:"
  1064. K:AddLabel "> IAmAGoodScammer @v3rm"
  1065. K:AddLabel "> Bob24 @v3rm"
  1066. K:AddLabel "> brickmane @v3rm"
  1067. K:AddLabel "> yuuiz#1336 @Discord"
  1068. K:AddDivider()
  1069. K:AddLabel "Donators:"
  1070. K:AddLabel "> reversing#2937 @Discord"
  1071. local L = J:AddRightGroupbox "Socials"
  1072. L:AddButton(
  1073. "Discord Server",
  1074. function()
  1075. setclipboard "https://discord.gg/8PATx7UKXZ"
  1076. end
  1077. )
  1078. end
  1079. do
  1080. local J = I:AddTab "Settings"
  1081. m:SetLibrary(k)
  1082. l:SetLibrary(k)
  1083. m:SetFolder "OminousVibes"
  1084. l:SetFolder "OminousVibes/doors"
  1085. l:IgnoreThemeSettings()
  1086. l:SetIgnoreIndexes {"MenuKeybind"}
  1087. l:BuildConfigSection(J)
  1088. m:ApplyToTab(J)
  1089. local K = J:AddLeftGroupbox "Menu"
  1090. K:AddButton(
  1091. "Unload",
  1092. function()
  1093. k:Unload()
  1094. end
  1095. )
  1096. K:AddLabel "Menu bind":AddKeyPicker("MenuKeybind", {Default = "End", NoUI = true, Text = "Menu keybind"})
  1097. K:AddToggle("Keybinds", {Text = "Show Keybinds Menu", Default = true}):OnChanged(
  1098. function()
  1099. k.KeybindFrame.Visible = Toggles.Keybinds.Value
  1100. end
  1101. )
  1102. K:AddToggle(
  1103. "Watermark",
  1104. {
  1105. Text = "Show Watermark",
  1106. Default = true
  1107. }
  1108. ):OnChanged(
  1109. function()
  1110. k:SetWatermarkVisibility(Toggles.Watermark.Value)
  1111. end
  1112. )
  1113. end
  1114. end
  1115. k:Notify "UI Built! [Right Ctrl or Right Shift]"
  1116. l:LoadAutoloadConfig()
  1117. do
  1118. local I
  1119. local J, K = typeof, unpack
  1120. local L = game.IsA
  1121. I =
  1122. hookmetamethod(
  1123. game,
  1124. "__namecall",
  1125. function(M, ...)
  1126. if not checkcaller() then
  1127. if J(M) == "Instance" then
  1128. if L(M, "RemoteEvent") then
  1129. if M == u.ClutchHeartbeat then
  1130. if Toggles.AUTO_HEARTBEAT.Value then
  1131. local N = {...}
  1132. if not N[2] then
  1133. w = (w + 1) % 2
  1134. if w == 0 then
  1135. N[2] = true
  1136. else
  1137. return
  1138. end
  1139. end
  1140. return I(M, K(N))
  1141. end
  1142. elseif M == u.Screech then
  1143. if Toggles.AUTO_SCREECH.Value then
  1144. local N = {
  1145. ...
  1146. }
  1147. N[1] = true
  1148. return I(M, K(N))
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. return I(M, ...)
  1155. end
  1156. )
  1157. end
  1158. local I = function(I, J)
  1159. for K, L in pairs(y.attached) do
  1160. L:onPhysics(I, J)
  1161. end
  1162. end
  1163. local J = function(J)
  1164. do
  1165. local K = Toggles.GLOW_ENABLED.Value
  1166. if K then
  1167. local L = Options.GLOW_BRIGHTNESS.Value
  1168. q.Brightness = L / 100
  1169. r.Brightness = L / 200
  1170. local M = o.CameraSubject.Parent
  1171. if M then
  1172. local N = M.PrimaryPart
  1173. if N then
  1174. q.Parent = N
  1175. r.Parent = N
  1176. end
  1177. end
  1178. end
  1179. q.Enabled = K
  1180. r.Enabled = K
  1181. end
  1182. for K, L in pairs(z.attached) do
  1183. L:render(J)
  1184. end
  1185. for M, N in pairs(B.attached) do
  1186. N:render(J)
  1187. end
  1188. for O, P in pairs(C.attached) do
  1189. P:render(J)
  1190. end
  1191. for Q, R in pairs(D.attached) do
  1192. R:render(J)
  1193. end
  1194. for S, T in pairs(E.attached) do
  1195. T:render(J)
  1196. end
  1197. for U, V in pairs(G.attached) do
  1198. V:render(J)
  1199. end
  1200. for W, X in pairs(F.attached) do
  1201. X:render(J)
  1202. end
  1203. end
  1204. local W = function(W)
  1205. if Toggles.EVENT_NOTIFIER.Value then
  1206. local X = s.ChaseStart.Value - W
  1207. if 0 < X and X < 3 then
  1208. x("[Event Notifier]: There is an event in '" .. tostring(X) .. "' rooms!", false)
  1209. end
  1210. end
  1211. end
  1212. local X = function()
  1213. if Toggles.EVENT_NOTIFIER.Value then
  1214. x([[[Event Notifier]: Screech spawned, quickly turn around to look at it!]], true)
  1215. end
  1216. end
  1217. local aa = function(Y)
  1218. if Y == "ElevatorBreaker" then
  1219. local Z
  1220. do
  1221. local _, aa = type, table.find
  1222. local ab = is_synapse_function or iskrnlclosure
  1223. repeat
  1224. task.wait(0.5)
  1225. for ac, ad in ipairs(getgc()) do
  1226. if _(ad) == "function" and islclosure(ad) and not ab(ad) then
  1227. local ae = getconstants(ad)
  1228. if aa(ae, "BreakerSwitch") and aa(ae, "GetChildren") and ae[9] == 1 then
  1229. if Toggles.DEBUG_NOTIFIER.Value then
  1230. x("Breaker Switch found!", true)
  1231. end
  1232. Z = ad
  1233. break
  1234. end
  1235. end
  1236. if ac % 500 == 0 then
  1237. task.wait()
  1238. end
  1239. end
  1240. until Z ~= nil
  1241. end
  1242. local aa
  1243. aa =
  1244. hookfunction(
  1245. Z,
  1246. function(...)
  1247. if Toggles.BREAKER_WIN.Value then
  1248. return 10
  1249. end
  1250. return aa(...)
  1251. end
  1252. )
  1253. end
  1254. end
  1255. local ab = function(ab)
  1256. A.new(ab)
  1257. end
  1258. local ac = function(ac)
  1259. y.new(ac)
  1260. end
  1261. local ad = function(ad)
  1262. if ad.Name == "RushMoving" then
  1263. if Toggles.EVENT_NOTIFIER.Value then
  1264. x("[Event Notifier]: Rush spawned, hide quickly!", true)
  1265. end
  1266. C.new(ad)
  1267. elseif ad.Name == "AmbushMoving" then
  1268. if Toggles.EVENT_NOTIFIER.Value then
  1269. x([[[Event Notifier]: Ambush spawned, hide quickly! He can return up to 3-4 times!]], true)
  1270. end
  1271. C.new(ad)
  1272. elseif ad.Name == "Lookman" then
  1273. if Toggles.EVENT_NOTIFIER.Value then
  1274. x("[Event Notifier]: Eyes spawned, look away!", true)
  1275. end
  1276. end
  1277. end
  1278. local ae = function(ae)
  1279. H.new(ae)
  1280. end
  1281. e.Stepped:Connect(I)
  1282. e.RenderStepped:Connect(J)
  1283. b.PlayerAdded:Connect(ab)
  1284. n.CharacterAdded:Connect(ac)
  1285. g.ChildAdded:Connect(ad)
  1286. g.CurrentRooms.ChildAdded:Connect(ae)
  1287. s.LatestRoom.Changed:Connect(W)
  1288. u.Screech.OnClientEvent:Connect(X)
  1289. u.EngageMinigame.OnClientEvent:Connect(aa)
  1290. u.PadlockHint.OnClientEvent:Connect(
  1291. function(Y, Z, _)
  1292. if Y and Z then
  1293. v[Y] = tostring(Z)
  1294. else
  1295. v = {}
  1296. end
  1297. end
  1298. )
  1299. if n.Character then
  1300. task.defer(ac, n.Character)
  1301. end
  1302. for Y, Z in ipairs(b:GetPlayers()) do
  1303. if Z ~= n then
  1304. task.defer(ab, Z)
  1305. end
  1306. end
  1307. for _, af in ipairs(g.CurrentRooms:GetChildren()) do
  1308. task.defer(ae, af)
  1309. end
  1310. g:GetPropertyChangedSignal "CurrentCamera":Connect(
  1311. function()
  1312. local ag = g.CurrentCamera
  1313. if ag then
  1314. o = ag
  1315. end
  1316. end
  1317. )
  1318. c.PromptButtonHoldBegan:Connect(
  1319. function(ag, ah)
  1320. if Toggles.INSTANT_PROMPT.Value then
  1321. task.spawn(fireproximityprompt, ag)
  1322. end
  1323. end
  1324. )
  1325. c.PromptShown:Connect(
  1326. function(ag, ah)
  1327. if Toggles.AUTO_PROMPT.Value and Options.AUTO_PROMPT_KEYBIND:GetState() then
  1328. task.spawn(fireproximityprompt, ag)
  1329. end
  1330. end
  1331. )
  1332. p.Name = a:GenerateGUID(false)
  1333. p.SoundId = "rbxassetid://6026984224"
  1334. p.Volume = 6
  1335. p.Parent = f
  1336. q.Range = 40
  1337. r.Range = 200
  1338. return k:Notify "[Doors] Loaded! (v4)"
  1339.  
Add Comment
Please, Sign In to add comment