Advertisement
ustinjamesss

intruder

Mar 11th, 2023
10,936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1. --[[ Credits to:
  2. TerminalVibes
  3. https://v3rmillion.net/member.php?action=profile&uid=1265584
  4. ]]
  5. local a=game:GetService"ContentProvider"
  6. local b=game:GetService"CoreGui"
  7. local c=game:GetService"Lighting"
  8. local d=game:GetService"Players"
  9. local e=game:GetService"ProximityPromptService"
  10. local f=game:GetService"Workspace"
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. local g="Intruder"
  19. local h="v1.0"
  20. local i="TerminalVibes"
  21. local j="intruder"
  22.  
  23. local k={
  24. [12545349775]=12,
  25. [8939045894]=57,
  26. }
  27.  
  28. local l={
  29. ["room"]="Error Room",
  30. ["outside"]="Backyard",
  31. ["street"]="Street",
  32. ["frontDoor"]="Front Door",
  33. ["livingRoom"]="Living Room",
  34. ["stairs"]="Basement Stairs",
  35. ["basement"]="Basement",
  36. ["hallway"]="Hallway",
  37. }
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45. do
  46. local m=game.PlaceId
  47. if not k[m]then
  48. warn"Place not supported"
  49. return setclipboard("["..m.."] = "..game.PlaceVersion..",")
  50. end
  51. end
  52. do
  53. local m=j..h
  54. if getgenv()[m]then
  55. return
  56. end
  57. getgenv()[m]=true
  58. end
  59. do
  60. local m
  61. m=hookfunction(a.PreloadAsync,function(n,o,p)
  62. if table.find(o,b)then
  63. local q=function(q,r)
  64. if q:match"^rbxasset://"or q:match"^rbxthumb://"then
  65. return p(q,r)
  66. end
  67. end
  68. warn"Anticheat Check Detected"
  69. return m(n,o,q)
  70. end
  71. return m(n,o,p)
  72. end)
  73. end
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81. local m="https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/"
  82.  
  83. local n=loadstring(game:HttpGet(m.."Library.lua"))()
  84. local o=loadstring(game:HttpGet(m.."addons/SaveManager.lua"))()
  85. local p=loadstring(game:HttpGet(m.."addons/ThemeManager.lua"))()
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. local q
  116. do
  117. local r,s=type,typeof
  118. q=setmetatable({},{
  119. __tostring=function()
  120. return"Bin"
  121. end,
  122. })
  123. q.__index=q
  124. function q.new(...)
  125. local t=setmetatable({},q)
  126. return t:constructor(...)or t
  127. end
  128. function q.constructor(t)end
  129. function q.add(t,u,v)
  130. local w={
  131. item=u,
  132. method=v,
  133. }
  134. if t.head==nil then
  135. t.head=w
  136. end
  137. if t.tail then
  138. t.tail.next=w
  139. end
  140. t.tail=w
  141. return u
  142. end
  143. function q.destroy(t)
  144. while t.head do
  145. local u=t.head.item
  146. local v=t.head.method
  147. if v then
  148. u[v](u)
  149. elseif r(u)=="function"then
  150. u()
  151. elseif s(u)=="RBXScriptConnection"then
  152. u:Disconnect()
  153. elseif r(u)=="thread"then
  154. task.cancel(u)
  155. elseif u.destroy~=nil then
  156. u:destroy()
  157. elseif u.Destroy~=nil then
  158. u:Destroy()
  159. end
  160. t.head=t.head.next
  161. end
  162. end
  163. function q.isEmpty(t)
  164. return t.head==nil
  165. end
  166. end
  167.  
  168.  
  169.  
  170. local r
  171. do
  172. r={}
  173. r.__index=r
  174. function r.__tostring(s)
  175. return"BaseComponent - "..s.instance:GetFullName()
  176. end
  177.  
  178.  
  179. local s,t,u=setmetatable,assert,task.defer
  180.  
  181.  
  182. function r.new(v,...)
  183. local w=s({},r)
  184. w=w:constructor(v,...)or w
  185. w:run()
  186. return w
  187. end
  188.  
  189.  
  190. function r.constructor(v,w,...)
  191. v.instance=w
  192. v.running=false
  193. v.destructed=false
  194. v._maid=q.new()
  195. v._maid:add(w.Destroying:Connect(function()
  196. if not v.destructed then
  197. v:destroy()
  198. end
  199. end))
  200. end
  201.  
  202.  
  203. function r.onStart(v)end
  204.  
  205.  
  206. function r.run(v)
  207. t(not v.running,"["..v:__tostring().."] is already running")
  208. u(function()
  209. v.running=true
  210. if not v.destructed then
  211. v:onStart()
  212. end
  213. end)
  214. end
  215.  
  216. function r.destroy(v)
  217. t(not v.destructed,"["..v:__tostring().."] is already destroyed")
  218. v.running=false
  219. v.destructed=true
  220. v._maid:destroy()
  221. end
  222. end
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247. local s=d.LocalPlayer
  248. local t=s.PlayerGui
  249.  
  250. local u=f:WaitForChild("Values",25)
  251.  
  252.  
  253.  
  254.  
  255.  
  256. local v local w=function(
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264. w, x)
  265. if w then
  266. local y={
  267. message=x.message or"",
  268. duration=x.duration or 5,
  269. }
  270. n:Notify(y.message,y.duration)
  271. end end
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. do
  283. local x=r
  284. v=setmetatable({},{__index=x})
  285. v.__index=v
  286.  
  287. function v.__tostring(y)
  288. return"MapComponent - "..y.instance:GetFullName()
  289. end
  290. v.attached={}
  291.  
  292.  
  293. function v.new(y,...)
  294. local z=setmetatable({},v)
  295. z=z:constructor(y,...)or z
  296. z:run()
  297. return z
  298. end
  299.  
  300.  
  301. function v.constructor(y,z)
  302. x.constructor(y,z)
  303. y.phone=z:WaitForChild("Phone",10)
  304. end
  305.  
  306.  
  307. function v.onStart(y)
  308. x.onStart(y)
  309. v.attached[y.instance]=y
  310.  
  311. y._maid:add(y.phone.Speaker.isBroken.Changed:Connect(function(z)
  312. w(z and Toggles["alerts.phone.broken"].Value,{
  313. message="Phone is ringing!",
  314. duration=5,
  315. })
  316. end))
  317. end
  318.  
  319.  
  320. function v.destroy(y)
  321. v.attached[y.instance]=nil
  322. x.destroy(y)
  323. end
  324. end
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332. n:SetWatermark"Linoria Community (OminousVibes)"
  333. n:Notify"Loading UI..."
  334.  
  335. do
  336. local x=n:CreateWindow(g.." ("..h..")")
  337.  
  338. do
  339. local y=x:AddTab"Gameplay"
  340.  
  341. do
  342. local z=y:AddLeftGroupbox"Alerts"
  343.  
  344. z:AddToggle("alerts.intruder.entered",{
  345. Text="Intruder Entered",
  346. Default=false,
  347. Tooltip="Alerts you when the intruder enters your room!",
  348. })
  349.  
  350. z:AddToggle("alerts.intruder.position",{
  351. Text="Intruder Moved",
  352. Default=false,
  353. Tooltip="Alerts you when the intruder moves to another room!",
  354. })
  355.  
  356. z:AddToggle("alerts.phone.broken",{
  357. Text="Phone Ringing",
  358. Default=false,
  359. Tooltip="Alerts you when the phone is ringing!",
  360. })
  361. end
  362. end
  363.  
  364. do
  365. local y=x:AddTab"Blatant"
  366.  
  367. do
  368. local z=y:AddLeftGroupbox"Proximity Prompt"
  369. z:AddToggle("blatant.prompt.instant",{
  370. Text="Instant Interact",
  371. Default=false,
  372. Tooltip="Instantly triggers the prompt when interacted!",
  373. })
  374. end
  375. end
  376.  
  377. do
  378. local y=x:AddTab"Visuals"
  379.  
  380. do
  381. local z=y:AddLeftGroupbox"World Render"
  382. z:AddToggle("visuals.lighting.darkvision",{
  383. Text="Dark Vision",
  384. Default=false,
  385. Tooltip="Improves vision in the dark!",
  386. })
  387. end
  388. end
  389.  
  390. do
  391. local y=x:AddTab"Credits"
  392.  
  393. local z=y:AddLeftGroupbox"Credits"
  394. z:AddLabel"OminousVibes - Creator"
  395. z:AddLabel"Inori @v3rm - UI Library"
  396. z:AddDivider()
  397. z:AddLabel"Contributors:"
  398. z:AddLabel"> IAmAGoodScammer @v3rm"
  399. z:AddLabel"> brickmane @v3rm"
  400. z:AddLabel"> yuuiz#1336 @Discord"
  401. z:AddDivider()
  402. z:AddLabel"Donators:"
  403. z:AddLabel"> reversing#2937 @Discord"
  404.  
  405. local A=y:AddRightGroupbox"Socials"
  406. A:AddButton("Discord Server",function()
  407. setclipboard"https://discord.gg/8PATx7UKXZ"
  408. end)
  409. end
  410.  
  411. do
  412. local y=x:AddTab"Settings"
  413.  
  414. p:SetLibrary(n)
  415. o:SetLibrary(n)
  416.  
  417. p:SetFolder(i)
  418. o:SetFolder(i.."/"..j)
  419.  
  420. o:IgnoreThemeSettings()
  421. o:SetIgnoreIndexes{"MenuKeybind"}
  422.  
  423. o:BuildConfigSection(y)
  424. p:ApplyToTab(y)
  425.  
  426. local z=y:AddLeftGroupbox"Menu"
  427. z:AddButton("Unload",function()
  428. n:Unload()
  429. end)
  430. z:AddLabel"Menu bind":AddKeyPicker("MenuKeybind",{Default="End",NoUI=true,Text="Menu keybind"})
  431.  
  432. z:AddToggle("Keybinds",{Text="Show Keybinds Menu",Default=true}):OnChanged(function()
  433. n.KeybindFrame.Visible=Toggles.Keybinds.Value
  434. end)
  435. z:AddToggle("Watermark",{Text="Show Watermark",Default=true}):OnChanged(function()
  436. n:SetWatermarkVisibility(Toggles.Watermark.Value)
  437. end)
  438. end
  439. end
  440.  
  441. n:Notify"UI Built! [Right Ctrl or Right Shift]"
  442. o:LoadAutoloadConfig()
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452. e.PromptButtonHoldBegan:Connect(function(x,y)
  453. local z=Toggles["blatant.prompt.instant"].Value
  454. if z then
  455. fireproximityprompt(x)
  456. end
  457. end)
  458.  
  459.  
  460. u.intruderPos.Changed:Connect(function(x)
  461. if Toggles["alerts.intruder.position"].Value then
  462. local y=l[x]or x.." (Unknown)"
  463. w(true,{
  464. message="Intruder moved to "..y,
  465. duration=10,
  466. })
  467. end
  468. end)
  469. u.isInRoom.Changed:Connect(function(x)
  470. w(Toggles["alerts.intruder.entered"].Value,{
  471. message=x and"Intruder entered your room!"or"Intruder left your room!",
  472. duration=5,
  473. })
  474. end)
  475.  
  476. local x=t.Rooms
  477. local y=x.Vent
  478. local z=y.Close
  479. z:GetPropertyChangedSignal"Visible":Connect(function()
  480. local A=z.Visible
  481. if A then
  482. w(Toggles["alerts.intruder.position"].Value,{
  483. message="Intruder is in vents (Turn off lights)!",
  484. duration=10,
  485. })
  486. else
  487. w(Toggles["alerts.intruder.position"].Value,{
  488. message="Intruder may be entering!",
  489. duration=5,
  490. })
  491. end
  492. end)
  493.  
  494.  
  495. local A=q.new()
  496. Toggles["visuals.lighting.darkvision"]:OnChanged(function()
  497. local B=Toggles["visuals.lighting.darkvision"].Value
  498. if B then
  499. A=q.new()
  500.  
  501.  
  502. local C=20
  503. local D=25
  504.  
  505.  
  506. local E=c.FogEnd
  507. local F=false
  508.  
  509.  
  510. c.FogEnd=E+D
  511.  
  512. local G=A:add(Instance.new"ColorCorrectionEffect")
  513. G.Enabled=E<C and true or false
  514. G.TintColor=Color3.fromRGB(150,255,150)
  515. G.Parent=c
  516.  
  517.  
  518. A:add(c:GetPropertyChangedSignal"FogEnd":Connect(function()
  519. if not F then
  520. local H=c.FogEnd
  521. E=H
  522. G.Enabled=E<C and true or false
  523.  
  524. F=true
  525. c.FogEnd=E+D
  526. F=false
  527. end
  528. end))
  529. A:add(function()
  530. F=true
  531. c.FogEnd=E
  532. F=false
  533. end)
  534. else
  535. A:destroy()
  536. end
  537. end)
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545. local B=f:WaitForChild("Map",25)
  546. if B then
  547. v.new(B)
  548. end
  549.  
  550. do
  551. local C=game.PlaceId
  552. local D=game.PlaceVersion
  553. local E=k[C]
  554. if D>E then
  555. n:Notify"Game has been updated! Please be careful when using this script."
  556. n:Notify"The place ID and Version has been copied to your clipboard."
  557. setclipboard("["..tostring(C).."] = "..tostring(D)..",")
  558. end
  559. end
  560.  
  561. return n:Notify("["..g.."] Loaded! ("..h..")")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement