Advertisement
Plus_Gaming

Doors Script

Aug 24th, 2022 (edited)
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.83 KB | None | 0 0
  1. local a = game:GetService'Players'
  2. local b = game:GetService'Workspace'
  3. local c = game:GetService'ContentProvider'
  4. local d = game:GetService'CoreGui'
  5. do
  6. local e
  7. e = hookfunction(c.PreloadAsync, function(f, g, h)
  8. if table.find(g, d) then
  9. local i = function(i, j)
  10. if i:match'^rbxasset://' or i:match'^rbxthumb://' then
  11. return h(i,j)
  12. end
  13. end
  14. warn'Anticheat Check Detected'
  15. return e(f,g,i)
  16. end
  17. return e(f,g,h)
  18. end)
  19. end
  20. local e = [[https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/]]
  21. local f = loadstring(game:HttpGet(e.. 'Library.lua'))()
  22. local g = loadstring(game:HttpGet(e.. 'addons/SaveManager.lua'))()
  23. local h = loadstring(game:HttpGet(e.. 'addons/ThemeManager.lua'))()
  24. local i = syn and syn.protect_gui or function(i)end
  25. local j = a.LocalPlayer
  26. local k = {
  27. ['Beat'] = true,
  28. ['Creak'] = true,
  29. ['Door'] = true,
  30. ['Doorknob'] = true,
  31. ['Ghost'] = true,
  32. ['Window Knock']= true
  33. }
  34. local l = 10
  35. local m = {}
  36. local n = {}
  37. local o = {}
  38. local p = function(p)
  39. if p then
  40. local q=p:FindFirstChild'HumanoidRootPart'
  41. if q then
  42. local r = p:FindFirstChild'Humanoid'
  43. return r~=nil
  44. end
  45. end
  46. return false
  47. end
  48. local q
  49. do
  50. q = {}
  51. q.__index = q
  52. function q.new(r)
  53. local s = setmetatable({
  54. instance = r,
  55. destructed = false
  56. }, q)
  57. s.instance.AncestryChanged:Connect(function(t,u)
  58. if u == nil then
  59. s:destroy()
  60. end
  61. end)
  62. return s:constructor(r)
  63. end
  64. function q.constructor(r,s)
  65. r.cham = Instance.new'BoxHandleAdornment'
  66. task.defer(r.onStart, r)
  67. return r
  68. end
  69. function q.onStart(r)
  70. local s = r.instance
  71. local t = s:WaitForChild('FigureRagdoll',2.5)
  72. local u = t:WaitForChild('Root',2.5)
  73. local v = r.cham
  74. n[v] = true
  75. v.Visible = Toggles.FIGURE_CHAMS.Value
  76. v.Color3 = Color3.new(1,0,0)
  77. v.Transparency = 0.25
  78. v.Size = Vector3.new(2,5,2)
  79. v.AlwaysOnTop = true
  80. v.ZIndex=5
  81. v.Adornee = u
  82. v.RobloxLocked = true
  83. v.Parent = u
  84. end
  85. function q.destroy(r)
  86. if r.destructed then
  87. return
  88. else
  89. r.destructed = true
  90. end
  91. r.cham:Destroy()
  92. n[r.cham] = nil
  93. end
  94. end
  95. local r
  96. do
  97. r = {}
  98. r.__index = r
  99. function r.new(s)
  100. local t = setmetatable(
  101. {
  102. instance = s,
  103. destructed = false
  104. }, r)
  105. t.instance.AncestryChanged:Connect(function(u,v)
  106. if v == nil then
  107. t:destroy()
  108. end
  109. end)
  110. return t:constructor(s)
  111. end
  112. function r.constructor(s,t)
  113. s.cham = Instance.new'BoxHandleAdornment'
  114. task.defer(s.onStart,s)
  115. return s
  116. end
  117. function r.onStart(s)
  118. local t = s.instance
  119. local u = s.cham
  120. o[u] = true
  121. u.Visible = Toggles.INTERACT_CHAMS.Value
  122. u.Color3 = Color3.new(1,1,1)
  123. u.Transparency = 0.5
  124. u.Size = t.Size + Vector3.new(0.1,0.1,0.1)
  125. u.AlwaysOnTop = true
  126. u.ZIndex = 5
  127. u.Adornee = t
  128. u.RobloxLocked = true
  129. u.Parent = d
  130. end
  131. function r.destroy(s)
  132. if s.destructed then
  133. return
  134. else
  135. s.destructed = true
  136. end s.cham:Destroy()
  137. o[s.cham] = nil
  138. end
  139. end
  140. local s
  141. do
  142. s = {}
  143. s.__index = s
  144. function s.new(t)
  145. local u = setmetatable(
  146. {
  147. instance = t,
  148. destructed = false
  149. }, s)
  150. u.instance.AncestryChanged:Connect(function(v,w)
  151. if w == nil then
  152. u:destroy()
  153. end
  154. end)
  155. return u:constructor(t)
  156. end
  157. function s.constructor(t,u)
  158. task.defer(t.onStart,t)
  159. return t
  160. end
  161. function s.onStart(t)
  162. local u = t.instance
  163. repeat
  164. if u.Name == '50' then
  165. t:onRoom50()
  166. break
  167. end
  168. if u.Name == '100' then
  169. t:onRoom100()
  170. break
  171. end
  172. until true
  173. end
  174. function s.onRoom50(t)
  175. local u = t.instance
  176. local v = u:WaitForChild('FigureSetup',2.5)
  177. local w = q.new(v)
  178. local x = function(x)
  179. if x.Name == 'Super Cool Bookshelf With Hint Book' then
  180. local y = x:WaitForChild('LiveHintBook',2.5)
  181. if y then
  182. local z = y:WaitForChild('Base', 2.5)
  183. if z then
  184. r.new(z)
  185. end
  186. end
  187. end
  188. end
  189. for y, z in ipairs(u.Assets:GetChildren()) do
  190. task.defer(x,z)
  191. end
  192. u.Assets.ChildAdded:Connect(x)
  193.  
  194. end
  195. function s.onRoom100(t)
  196. local u = t.instance
  197. local v = u:WaitForChild('FigureSetup',2.5)
  198. local w = q.new(v)
  199. end
  200. function s.destroy(t)
  201. if t.destructed then
  202. return
  203. else
  204. t.destructed = true
  205. end
  206. end
  207. end
  208. local t = function(t)
  209. local u = s.new(t)
  210. end
  211. local u = function(u)
  212. while not p(u) do
  213. u.DescendantAdded:Wait()
  214. end
  215. l = u.Humanoid.WalkSpeed
  216. u.Humanoid.WalkSpeed = u.Humanoid.WalkSpeed + Options.WALKSPEED.Value
  217. end
  218. local v = function(v)
  219. if v:IsA'Attachment' then
  220. if Toggles.REMOVE_AMBIENCE.Value then
  221. local w
  222. for x = 1, 10 do
  223. w = v:FindFirstChildWhichIsA'Sound'
  224. if w then
  225. break
  226. end
  227. task.wait()
  228. end
  229. if w then
  230. if k[w.Name] then
  231. w.Volume = 0
  232. print(w.Name)
  233. end
  234. end
  235. end
  236. end
  237. end
  238. local w = function(w)
  239. if Toggles.EVENT_NOTIFIER.Value then
  240. if w.Name == 'RushMoving' then
  241. f:Notify'[Event Notifier]: Rush spawned, hide quickly!'
  242. end
  243. if w.Name == 'AmbushMoving' then
  244. f:Notify'[Event Notifier]: Ambush Incoming, get ready to hide!'
  245. end
  246. end
  247. if Toggles.OTHER_NOTIFIER.Value then
  248. if w.Name == 'RushMoving' then
  249. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Rush coming", "All")
  250. end
  251. if w.Name == 'AmbushMoving' then
  252. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Ambush coming", "All")
  253. end
  254. end
  255. end
  256. f:SetWatermark'Roblox Doors Script'
  257. f:Notify'Loading the UI'
  258. do
  259. local x = f:CreateWindow'Doors'
  260. do
  261. local y = x:AddTab'Gameplay'
  262. do
  263. local z = y:AddLeftTabbox'Modifications'
  264. local A = z:AddTab'Character Mods'
  265. A:AddSlider('WALKSPEED',
  266. {
  267. Text = 'Speed Boost',
  268. Min=0,
  269. Max=50,
  270. Default=0,
  271. Rounding=1,
  272. Suffix=''
  273. })
  274. A:AddToggle('GLOW_ENABLED',
  275. {
  276. Text='Body Glow',
  277. Default=false,
  278. Tooltip='Adds a subtle glow for better vision'
  279. })
  280. local B = z:AddTab'World Mods'
  281. B:AddToggle('REMOVE_AMBIENCE',
  282. {
  283. Text = 'Remove Ambience',
  284. Default = false,
  285. Tooltip = 'Removes the unnecessary sounds from the world'
  286. })
  287. end
  288. do
  289. local z = y:AddRightGroupbox'Notifiers'
  290. z:AddToggle('EVENT_NOTIFIER',
  291. {
  292. Text = 'Event Notifier',
  293. Default = true,
  294. Tooltip = 'Notifies you of Rush and Ambush'
  295. })
  296. z:AddToggle('OTHER_NOTIFIER',
  297. {
  298. Text = 'Notify others',
  299. Default = true,
  300. Tooltip = 'Notifies others of Rush and Ambush (Chat)'
  301. })
  302. end
  303. end
  304. do
  305. local y = x:AddTab'Visuals'
  306. do
  307. local z = y:AddLeftTabbox'Visuals'
  308. local A = z:AddTab'Entities'
  309. A:AddToggle('FIGURE_CHAMS',
  310. {
  311. Text = 'Figure Chams',
  312. Default = true,
  313. Tooltip = 'Figure ESP'
  314. })
  315. local B = z:AddTab'Objects'
  316. B:AddToggle('INTERACT_CHAMS',
  317. {
  318. Text = 'Interactable Chams',
  319. Default = true,
  320. Tooltip = 'ESP for items that can be picked up'
  321. })
  322. end
  323. do
  324. local z = y:AddRightGroupbox'World Render'
  325. end
  326. end
  327. do
  328. local y = x:AddTab'Settings'
  329. h:SetLibrary(f)
  330. g:SetLibrary(f)
  331. h:SetFolder'Script'
  332. g:SetFolder'Script/doors'
  333. g:IgnoreThemeSettings()
  334. g:SetIgnoreIndexes{'MenuKeybind'}
  335. g:BuildConfigSection(y)
  336. h:ApplyToTab(y)
  337. local z = y:AddLeftGroupbox'Menu'
  338. z:AddButton('Unload', function()
  339. f:Unload()
  340. end)
  341. z:AddLabel'Menu bind':AddKeyPicker('MenuKeybind',
  342. {
  343. Default = 'End',
  344. NoUI = true,
  345. Text='Menu keybind'
  346. })
  347. z:AddToggle('Keybinds',
  348. {
  349. Text = 'Show Keybinds Menu',
  350. Default = true
  351. }):OnChanged(function()
  352. f.KeybindFrame.Visible = Toggles.Keybinds.Value
  353. end)
  354. z:AddToggle('Watermark',
  355. {
  356. Text = 'Show Watermark',
  357. Default = true
  358. }):OnChanged(function()
  359. f:SetWatermarkVisibility(Toggles.Watermark.Value)
  360. end)
  361. end
  362. end
  363. f:Notify'The UI Has Loaded'
  364. j.CharacterAdded:Connect(u)
  365. b.ChildAdded:Connect(w)
  366. b.Terrain.ChildAdded:Connect(v)
  367. b.CurrentRooms.ChildAdded:Connect(t)
  368. do
  369. do
  370. Options.WALKSPEED:OnChanged(function(x)
  371. local y = j.Character
  372. if p(y) then
  373. y.Humanoid.WalkSpeed = l + Options.WALKSPEED.Value
  374. end
  375. end)
  376. Toggles.GLOW_ENABLED:OnChanged(function()
  377. for x, y in ipairs(m) do
  378. y:Destroy()
  379. end
  380. if Toggles.GLOW_ENABLED.Value then
  381. local z = Instance.new'PointLight'
  382. local A = Instance.new'SurfaceLight'
  383. z.Brightness = 0.75
  384. A.Brightness = 0.25
  385. z.Range = 20
  386. A.Range = 90
  387. m =
  388. {
  389. z,
  390. A
  391. }
  392. i(z)
  393. i(A)
  394. z.Parent = j.Character.HumanoidRootPart
  395. A.Parent = j.Character.Head
  396. else
  397. m = {}
  398. end
  399. end)
  400. end
  401. do
  402. Toggles.FIGURE_CHAMS:OnChanged(function()
  403. for x,y in pairs(n) do
  404. x.Visible = Toggles.FIGURE_CHAMS.Value
  405. end
  406. end)
  407. Toggles.INTERACT_CHAMS:OnChanged(function()
  408. for x, y in ipairs(o) do
  409. y.Visible = Toggles.INTERACT_CHAMS.Value
  410. end
  411. end)
  412. end
  413. end
  414. do
  415. local x
  416. local y
  417. local z = typeof
  418. local A, B = Vector3.new, math.random
  419. local C = game.IsA
  420. x = hookmetamethod(game, '__index', function(D,E)
  421. if not checkcaller() then
  422. if z(D) == 'Instance' then
  423. if C(D, 'Humanoid') then
  424. if E == 'WalkSpeed' then
  425. return l
  426. end
  427. end
  428. end
  429. end
  430. return x(D,E)
  431. end)
  432. y = hookmetamethod(game, '__newindex', function(D,E,F)
  433. if not checkcaller()then
  434. if z(D)=='Instance'then
  435. if C(D,'Humanoid') then
  436. if E == 'WalkSpeed'then
  437. l=F
  438. return y(D, E, F + Options.WALKSPEED.Value)
  439. end
  440. end
  441. end
  442. end
  443. return y(D,E,F)
  444. end)
  445. end
  446. do
  447. local x = j.Character
  448. if x then
  449. u(x)
  450. end
  451. end
  452. do
  453. for x, y in ipairs(b.CurrentRooms:GetChildren()) do
  454. task.defer(t,y)
  455. end
  456. end
  457.  
  458. f:Notify('[Doors] Loaded!')
  459.  
  460. queqeonteleport("loadstring(game:HttpGet('https://pastebin.com/raw/JCKHV4d2', true))()")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement