Advertisement
JaimeJiang

The Backdoor script (With Haste visuals)

Jun 10th, 2024 (edited)
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.10 KB | None | 0 0
  1. if _G.Executed then
  2. warn("Already executed!")
  3. return
  4. end
  5. _G.Executed = true
  6.  
  7. if game:GetService("ReplicatedStorage").GameData.Floor.Value ~= "Backdoor" then
  8. return
  9. end
  10.  
  11. local screen_gui = Instance.new("ScreenGui")
  12. screen_gui.DisplayOrder = 999999999
  13. screen_gui.IgnoreGuiInset = false
  14. screen_gui.ResetOnSpawn = false
  15. screen_gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16. screen_gui.Parent = game.CoreGui
  17.  
  18. local frame = Instance.new("Frame")
  19. frame.AnchorPoint = Vector2.new(0, 1)
  20. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  21. frame.BackgroundTransparency = 1
  22. frame.BorderColor3 = Color3.new(0, 0, 0)
  23. frame.BorderSizePixel = 0
  24. frame.Position = UDim2.new(0, 0, 1, 0)
  25. frame.Size = UDim2.new(0.386924595, 0, 0.576817155, 0)
  26. frame.Visible = true
  27. frame.Parent = screen_gui
  28.  
  29. local uigrid_layout = Instance.new("UIGridLayout")
  30. uigrid_layout.CellPadding = UDim2.new(0, 0, 0.0500000007, 0)
  31. uigrid_layout.CellSize = UDim2.new(0.800000012, 0, 0.200000003, 0)
  32. uigrid_layout.StartCorner = Enum.StartCorner.BottomLeft
  33. uigrid_layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  34. uigrid_layout.SortOrder = Enum.SortOrder.LayoutOrder
  35. uigrid_layout.VerticalAlignment = Enum.VerticalAlignment.Bottom
  36. uigrid_layout.Parent = frame
  37.  
  38. local uipadding = Instance.new("UIPadding")
  39. uipadding.PaddingBottom = UDim.new(0.02500000037252903, 0)
  40. uipadding.Parent = frame
  41.  
  42. local template = Instance.new("Frame")
  43. template.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  44. template.BorderColor3 = Color3.new(0, 0, 0)
  45. template.BorderSizePixel = 0
  46. template.Position = UDim2.new(0, 0, 0.605726838, 0)
  47. template.Size = UDim2.new(0, 231, 0, 286)
  48. template.Visible = false
  49. template.Name = "template"
  50. template.Parent = frame
  51.  
  52. local uiscale = Instance.new("UIScale")
  53. uiscale.Parent = template
  54.  
  55. local uicorner = Instance.new("UICorner")
  56. uicorner.Parent = template
  57.  
  58. local uistroke = Instance.new("UIStroke")
  59. uistroke.Color = Color3.new(0.588235, 0.588235, 0.588235)
  60. uistroke.Thickness = 2.5
  61. uistroke.Parent = template
  62.  
  63. local uigradient = Instance.new("UIGradient")
  64. uigradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0.996078, 0.0392157, 0)), ColorSequenceKeypoint.new(0.1599999964237213, Color3.new(1, 0.615686, 0)), ColorSequenceKeypoint.new(0.3199999928474426, Color3.new(1, 1, 0)), ColorSequenceKeypoint.new(0.47999998927116394, Color3.new(0, 1, 0)), ColorSequenceKeypoint.new(0.6399999856948853, Color3.new(0, 0.666667, 1)), ColorSequenceKeypoint.new(0.800000011920929, Color3.new(1, 0.333333, 1)), ColorSequenceKeypoint.new(1, Color3.new(0.666667, 0, 1))})
  65. uigradient.Parent = uistroke
  66.  
  67. local text_label = Instance.new("TextLabel")
  68. text_label.Font = Enum.Font.GothamBold
  69. text_label.Text = "Entity spawned"
  70. text_label.TextColor3 = Color3.new(1, 1, 1)
  71. text_label.TextScaled = true
  72. text_label.TextSize = 14
  73. text_label.TextWrapped = true
  74. text_label.BackgroundColor3 = Color3.new(1, 1, 1)
  75. text_label.BackgroundTransparency = 1
  76. text_label.BorderColor3 = Color3.new(0, 0, 0)
  77. text_label.BorderSizePixel = 0
  78. text_label.Size = UDim2.new(1, 0, 1, 0)
  79. text_label.Visible = true
  80. text_label.ZIndex = 3
  81. text_label.Parent = template
  82.  
  83. local uistroke_2 = Instance.new("UIStroke")
  84. uistroke_2.Thickness = 2.5
  85. uistroke_2.Parent = text_label
  86.  
  87. local uipadding_2 = Instance.new("UIPadding")
  88. uipadding_2.PaddingBottom = UDim.new(0.10000000149011612, 0)
  89. uipadding_2.PaddingLeft = UDim.new(0.10000000149011612, 0)
  90. uipadding_2.PaddingRight = UDim.new(0.10000000149011612, 0)
  91. uipadding_2.PaddingTop = UDim.new(0.10000000149011612, 0)
  92. uipadding_2.Parent = text_label
  93.  
  94. local uigradient_2 = Instance.new("UIGradient")
  95. uigradient_2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(0.3799654543399811, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(0.5, Color3.new(0.580392, 0.580392, 0.580392)), ColorSequenceKeypoint.new(0.5336787700653076, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1, Color3.new(1, 1, 1))})
  96. uigradient_2.Offset = Vector2.new(-1, 0)
  97. uigradient_2.Rotation = 45
  98. uigradient_2.Parent = template
  99.  
  100. local shadow = Instance.new("ImageLabel")
  101. shadow.Image = "rbxassetid://14001321443"
  102. shadow.ImageColor3 = Color3.new(0, 0, 0)
  103. shadow.ImageTransparency = 0.75
  104. shadow.ScaleType = Enum.ScaleType.Slice
  105. shadow.SliceCenter = Rect.new(50, 50, 150, 150)
  106. shadow.AnchorPoint = Vector2.new(0.5, 0.5)
  107. shadow.BackgroundColor3 = Color3.new(1, 1, 1)
  108. shadow.BackgroundTransparency = 1
  109. shadow.BorderColor3 = Color3.new(0, 0, 0)
  110. shadow.BorderSizePixel = 0
  111. shadow.Position = UDim2.new(0.5, 0, 0.5, 0)
  112. shadow.Size = UDim2.new(1, 35, 1, 35)
  113. shadow.Visible = true
  114. shadow.ZIndex = -1
  115. shadow.Name = "shadow"
  116. shadow.Parent = template
  117.  
  118. local uiaspect_ratio_constraint = Instance.new("UIAspectRatioConstraint")
  119. uiaspect_ratio_constraint.AspectRatio = 1.107398509979248
  120. uiaspect_ratio_constraint.Parent = frame
  121.  
  122. local timer = Instance.new("Frame")
  123. timer.AnchorPoint = Vector2.new(1, 0.9700000286102295)
  124. timer.BackgroundColor3 = Color3.new(1, 1, 1)
  125. timer.BackgroundTransparency = 1
  126. timer.BorderColor3 = Color3.new(0, 0, 0)
  127. timer.BorderSizePixel = 0
  128. timer.Position = UDim2.new(1, 0, 0.982205212, 0)
  129. timer.Size = UDim2.new(1, 0, 0.112479456, 0)
  130. timer.Visible = true
  131. timer.Name = "Timer"
  132. timer.Parent = screen_gui
  133.  
  134. local image_label = Instance.new("ImageLabel")
  135. image_label.Image = "rbxassetid://16781696827"
  136. image_label.BackgroundColor3 = Color3.new(1, 1, 1)
  137. image_label.BackgroundTransparency = 1
  138. image_label.BorderColor3 = Color3.new(0, 0, 0)
  139. image_label.BorderSizePixel = 0
  140. image_label.Position = UDim2.new(0.829316378, 0, 0, 0)
  141. image_label.Size = UDim2.new(0.170516863, 0, 1, 0)
  142. image_label.Visible = true
  143. image_label.ZIndex = 0
  144. image_label.Parent = timer
  145.  
  146. local timer_2 = Instance.new("TextLabel")
  147. timer_2.FontFace = Font.new("rbxasset://fonts/families/Inconsolata.json", Enum.FontWeight.Bold)
  148. timer_2.Text = "01:00"
  149. timer_2.TextColor3 = Color3.new(1, 0.705882, 0.298039)
  150. timer_2.TextScaled = true
  151. timer_2.TextSize = 14
  152. timer_2.TextWrapped = true
  153. timer_2.TextXAlignment = Enum.TextXAlignment.Right
  154. timer_2.AnchorPoint = Vector2.new(0.5, 0.5)
  155. timer_2.BackgroundColor3 = Color3.new(1, 1, 1)
  156. timer_2.BackgroundTransparency = 1
  157. timer_2.BorderColor3 = Color3.new(0, 0, 0)
  158. timer_2.BorderSizePixel = 0
  159. timer_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  160. timer_2.Size = UDim2.new(0.999833286, 0, 1, 0)
  161. timer_2.Visible = true
  162. timer_2.Name = "Timer"
  163. timer_2.Parent = image_label
  164.  
  165. local uipadding_3 = Instance.new("UIPadding")
  166. uipadding_3.PaddingBottom = UDim.new(0.07999999821186066, 0)
  167. uipadding_3.PaddingLeft = UDim.new(0.20000000298023224, 0)
  168. uipadding_3.PaddingRight = UDim.new(0.20000000298023224, 0)
  169. uipadding_3.Parent = timer_2
  170.  
  171. local uiaspect_ratio_constraint_2 = Instance.new("UIAspectRatioConstraint")
  172. uiaspect_ratio_constraint_2.AspectRatio = 15.940258026123047
  173. uiaspect_ratio_constraint_2.Parent = timer
  174.  
  175. function sound()
  176. local notification = Instance.new("Sound", workspace)
  177. notification.SoundId = "rbxassetid://5153734608"
  178. notification.Parent = workspace
  179. notification:Play()
  180. end
  181.  
  182. function notify(entity, bypassed, other)
  183. sound()
  184. local tem = template:Clone()
  185. tem.Visible = true
  186. tem.TextLabel.Text = entity .. " Has just spawned!"
  187. if bypassed then
  188. tem.TextLabel.Text = entity .. " Has been bypassed!"
  189. end
  190. if other then
  191. tem.TextLabel.Text = other
  192. end
  193. tem.Parent = frame
  194. game:GetService("TweenService"):Create(tem.UIScale, TweenInfo.new(0.25, Enum.EasingStyle.Sine), { Scale = 1 }):Play()
  195. spawn(function()
  196. while true do
  197. task.wait(0.01)
  198. if not tem or not tem:FindFirstChild("UIStroke") or not tem:FindFirstChild("UIStroke"):FindFirstChild("UIGradient") then
  199. return
  200. end
  201. tem.UIStroke.UIGradient.Rotation += 1
  202. end
  203. end)
  204.  
  205. spawn(function()
  206. while true do
  207. task.wait(0.01)
  208. if not tem or not tem:FindFirstChild("UIGradient") then
  209. return
  210. end
  211. if tem.UIGradient.Offset.X >= 1 then
  212. tem.UIGradient.Offset = Vector2.new(-1, 0)
  213. end
  214. tem.UIGradient.Offset += Vector2.new(0.01, 0)
  215. end
  216. end)
  217. spawn(function()
  218. task.wait(15)
  219. if tem and tem:FindFirstChild("UIScale") then
  220. game:GetService("TweenService"):Create(tem.UIScale, TweenInfo.new(0.25, Enum.EasingStyle.Sine), { Scale = 0 }):Play()
  221. task.wait(.25)
  222. tem:Destroy()
  223. end
  224. end)
  225. end
  226.  
  227. function billboard(child, name)
  228. local billboard_gui = Instance.new("BillboardGui")
  229. billboard_gui.Active = true
  230. billboard_gui.AlwaysOnTop = true
  231. billboard_gui.ClipsDescendants = true
  232. billboard_gui.LightInfluence = 1
  233. billboard_gui.Size = UDim2.new(10, 0, 2, 0)
  234. billboard_gui.ResetOnSpawn = false
  235. billboard_gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  236. billboard_gui.Parent = child
  237.  
  238. local text_label = Instance.new("TextLabel")
  239. text_label.Font = Enum.Font.GothamBold
  240. text_label.Text = name
  241. text_label.TextColor3 = Color3.new(1, 1, 1)
  242. text_label.TextScaled = true
  243. text_label.TextSize = 14
  244. text_label.TextWrapped = true
  245. text_label.BackgroundColor3 = Color3.new(1, 1, 1)
  246. text_label.BackgroundTransparency = 1
  247. text_label.BorderColor3 = Color3.new(0, 0, 0)
  248. text_label.BorderSizePixel = 0
  249. text_label.Size = UDim2.new(1, 0, 1, 0)
  250. text_label.Visible = true
  251. text_label.Parent = billboard_gui
  252.  
  253. local uistroke = Instance.new("UIStroke")
  254. uistroke.Thickness = 2.5
  255. uistroke.Parent = text_label
  256.  
  257. spawn(function()
  258. while task.wait() do
  259. local hue = tick() % 5 / 5
  260. local color = Color3.fromHSV(hue, 1, 1)
  261. text_label.TextColor3 = color
  262. end
  263. end)
  264. end
  265.  
  266. function selection(child, name)
  267. billboard(child, name)
  268. local hi = Instance.new("Highlight")
  269. hi.Parent = child
  270. hi.Adornee = child
  271. hi.OutlineColor = Color3.fromRGB(161, 0, 0)
  272. hi.FillColor = Color3.fromRGB(255, 0, 0)
  273. hi.FillTransparency = 0.75
  274. if child:IsA("Part") then
  275. child.Color = Color3.fromRGB(0, 0, 0)
  276. child.Transparency = 0
  277. end
  278. spawn(function()
  279. while task.wait() do
  280. local hue = tick() % 5 / 5
  281. local color = Color3.fromHSV(hue, 1, 1)
  282. hi.OutlineColor = color
  283. hi.FillColor = color
  284. end
  285. end)
  286. end
  287.  
  288. workspace.ChildAdded:Connect(function(child)
  289. if child.Name == "BackdoorLookman" then
  290. if child then
  291. task.wait()
  292. child.Parent = game:GetService("Debris")
  293. return
  294. end
  295. notify("👁️ Backdoor Lookman")
  296. selection(child:WaitForChild("Core"), "👁️ Backdoor Lookman")
  297. elseif child.Name == "BackdoorRush" then
  298. notify("💨 Blitz (Backdoor Rush)")
  299. selection(child:WaitForChild("Main"), "💨 Blitz (Backdoor Rush)")
  300. end
  301. end)
  302.  
  303. function checkDistance(part)
  304. if not game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or not part then
  305. return false
  306. end
  307. local distanceToPart = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - part.Position).magnitude
  308. if distanceToPart <= 10 then
  309. return true
  310. end
  311. return false
  312. end
  313.  
  314. for _, v in pairs(workspace.CurrentRooms:GetDescendants()) do
  315. if v:IsA("BasePart") and v.Name == "Door" and v.Parent.Name == "Door" then
  316. selection(v, "🚪 Door")
  317. elseif v.Name == "KeyObtain" then
  318. selection(v, "🔑 Key")
  319. spawn(function()
  320. while task.wait() do
  321. if checkDistance(v:FindFirstChildWhichIsA("BasePart")) then
  322. fireproximityprompt(v.ModulePrompt)
  323. end
  324. end
  325. end)
  326. elseif v.Name == "Backdoor_Wardrobe" then
  327. selection(v, "🗄️ Wardrobe")
  328. elseif v.Name == "TimerLever" then
  329. selection(v, "⏳ Timer Lever")
  330. spawn(function()
  331. while task.wait() do
  332. if checkDistance(v:FindFirstChildWhichIsA("BasePart")) then
  333. fireproximityprompt(v.ActivateEventPrompt)
  334. end
  335. end
  336. end)
  337. elseif v.Name == "ActivateEventPrompt" and v:IsA("ProximityPrompt") and v.Parent.Parent.Name == "DrawerContainer" then
  338. spawn(function()
  339. while task.wait() do
  340. if checkDistance(v:FindFirstChildWhichIsA("BasePart")) then
  341. fireproximityprompt(v)
  342. end
  343. end
  344. end)
  345. elseif v.Name == "LootPrompt" and v:IsA("ProximityPrompt") and v.Parent.Parent.Name == "DrawerContainer" then
  346. spawn(function()
  347. while task.wait() do
  348. if checkDistance(v:FindFirstChildWhichIsA("BasePart")) then
  349. fireproximityprompt(v)
  350. end
  351. end
  352. end)
  353. end
  354. end
  355.  
  356. workspace.CurrentRooms.ChildAdded:Connect(function(child)
  357. spawn(function()
  358. task.wait(5)
  359. if child.Assets:FindFirstChild("TimerLever") then
  360. selection(child.Assets.TimerLever, "⏳ Timer Lever")
  361. spawn(function()
  362. while task.wait() do
  363. fireproximityprompt(child.Assets.TimerLever.ActivateEventPrompt)
  364. end
  365. end)
  366. end
  367. end)
  368. task.wait(1)
  369. for _, v in pairs(child:GetDescendants()) do
  370. if v:IsA("BasePart") and v.Name == "Door" and v.Parent.Name == "Door" then
  371. selection(v, "🚪 Door")
  372. elseif v.Name == "KeyObtain" then
  373. selection(v, "🔑 Key")
  374. spawn(function()
  375. while task.wait() do
  376. if checkDistance(v:FindFirstChildWhichIsA("BasePart")) then
  377. fireproximityprompt(v.ModulePrompt)
  378. end
  379. end
  380. end)
  381. elseif v.Name == "Backdoor_Wardrobe" then
  382. selection(v, "🗄️ Wardrobe")
  383. elseif v.Name == "ActivateEventPrompt" and v:IsA("ProximityPrompt") and v.Parent.Parent.Name == "DrawerContainer" then
  384. spawn(function()
  385. while task.wait() do
  386. if checkDistance(v:FindFirstChildWhichIsA("BasePart")) then
  387. fireproximityprompt(v)
  388. end
  389. end
  390. end)
  391. elseif v.Name == "LootPrompt" and v:IsA("ProximityPrompt") and v.Parent.Parent.Name == "DrawerContainer" then
  392. spawn(function()
  393. while task.wait() do
  394. if checkDistance(v:FindFirstChildWhichIsA("BasePart")) then
  395. fireproximityprompt(v)
  396. end
  397. end
  398. end)
  399. end
  400. end
  401. end)
  402.  
  403. notify("", nil, "🐦 Script made by: kiwib.")
  404. notify("", nil, "🎮 Script edited by: JaimeGN")
  405. notify("👁️ Backdoor Lookman", true)
  406. notify("", nil, "⚡ Haste is now server-sided so it cannot be bypassed, annoying visuals not removed.")
  407. notify("", nil, "⚠️ WARNING: Some things can break because this script is edited, use at your own risk!")
  408.  
  409.  
  410. local Notified = false
  411.  
  412. game:GetService("ReplicatedStorage").FloorClientStuff.DigitalTimer:GetPropertyChangedSignal("Value"):Connect(function()
  413. if game:GetService("ReplicatedStorage").FloorClientStuff.DigitalTimer.Value == 0 then
  414. if not Notified then
  415. Notified = true
  416. notify("", nil, "⚡ Haste has spawned! Quickly get to a lever!")
  417. end
  418. else
  419. Notified = false
  420. end
  421. local formattedTime = string.format("%02d:%02d", math.floor(game:GetService("ReplicatedStorage").FloorClientStuff.DigitalTimer.Value / 60), game:GetService("ReplicatedStorage").FloorClientStuff.DigitalTimer.Value % 60)
  422. timer_2.Text = formattedTime
  423. end)
  424.  
  425. spawn(function()
  426. game:GetService("RunService").RenderStepped:Connect(function()
  427. workspace.CurrentCamera.FieldOfView = 120
  428. game:GetService("ReplicatedStorage").RemotesFolder.MotorReplication:FireServer(0, 90, 0, false)
  429. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 21
  430. game.Lighting.Brightness = 2
  431. game.Lighting.ClockTime = 14
  432. game.Lighting.FogEnd = 100000
  433. game.Lighting.GlobalShadows = false
  434. game.Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  435. for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  436. if child:IsA("BasePart") and child.CanCollide == true then
  437. child.CanCollide = false
  438. end
  439. end
  440. end)
  441. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement