View difference between Paste ID: RmhWnKqK and Z03f2aGZ
SHOW: | | - or go back to the newest paste.
1
local FleeTheFacilityGUI = Instance.new("ScreenGui")
2
local MainFrame = Instance.new("Frame")
3
local PlayersToggleButton = Instance.new("TextButton")
4
local ComputersToggleButton = Instance.new("TextButton")
5
local PodsToggleButton = Instance.new("TextButton")
6
local ExitDoorsToggleButton = Instance.new("TextButton")
7
local DoorsToggleButton = Instance.new("TextButton")
8
local AirVentsToggleButton = Instance.new("TextButton")
9
local ReloadESP = Instance.new("TextButton")
10
local HackingFailToggle = Instance.new("TextButton")
11
12
FleeTheFacilityGUI.Name = "FleeTheFacilityGUI"
13
FleeTheFacilityGUI.Parent = game.CoreGui
14
15
MainFrame.Name = "MainFrame"
16
MainFrame.Parent = FleeTheFacilityGUI
17
MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
18
MainFrame.BackgroundTransparency = 0.60000002384186
19
MainFrame.BorderSizePixel = 0
20
MainFrame.Position = UDim2.new(0.800000012, 0, 0.75, 0)
21
MainFrame.Size = UDim2.new(0.200000003, 0, 0.25, 0)
22
23
PlayersToggleButton.Name = "PlayersToggleButton"
24
PlayersToggleButton.Parent = MainFrame
25
PlayersToggleButton.BackgroundColor3 = Color3.new(0, 0, 0)
26
PlayersToggleButton.BorderColor3 = Color3.new(1, 1, 1)
27
PlayersToggleButton.BorderSizePixel = 2
28
PlayersToggleButton.Position = UDim2.new(0.0500000007, 0, 0.0500000007, 0)
29
PlayersToggleButton.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
30
PlayersToggleButton.Font = Enum.Font.SourceSansBold
31
PlayersToggleButton.FontSize = Enum.FontSize.Size24
32
PlayersToggleButton.Text = "Players: OFF"
33
PlayersToggleButton.TextColor3 = Color3.new(1, 0, 0)
34
PlayersToggleButton.TextScaled = true
35
PlayersToggleButton.TextSize = 24
36
PlayersToggleButton.TextWrapped = true
37
38
ComputersToggleButton.Name = "ComputersToggleButton"
39
ComputersToggleButton.Parent = MainFrame
40
ComputersToggleButton.BackgroundColor3 = Color3.new(0, 0, 0)
41
ComputersToggleButton.BorderColor3 = Color3.new(1, 1, 1)
42
ComputersToggleButton.BorderSizePixel = 2
43
ComputersToggleButton.Position = UDim2.new(0.0500000007, 0, 0.150000006, 0)
44
ComputersToggleButton.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
45
ComputersToggleButton.Font = Enum.Font.SourceSansBold
46
ComputersToggleButton.FontSize = Enum.FontSize.Size24
47
ComputersToggleButton.Text = "Computers: OFF"
48
ComputersToggleButton.TextColor3 = Color3.new(1, 0, 0)
49
ComputersToggleButton.TextScaled = true
50
ComputersToggleButton.TextSize = 24
51
ComputersToggleButton.TextWrapped = true
52
53
PodsToggleButton.Name = "PodsToggleButton"
54
PodsToggleButton.Parent = MainFrame
55
PodsToggleButton.BackgroundColor3 = Color3.new(0, 0, 0)
56
PodsToggleButton.BorderColor3 = Color3.new(1, 1, 1)
57
PodsToggleButton.BorderSizePixel = 2
58
PodsToggleButton.Position = UDim2.new(0.0500000007, 0, 0.25, 0)
59
PodsToggleButton.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
60
PodsToggleButton.Font = Enum.Font.SourceSansBold
61
PodsToggleButton.FontSize = Enum.FontSize.Size24
62
PodsToggleButton.Text = "Freeze Pods: OFF"
63
PodsToggleButton.TextColor3 = Color3.new(1, 0, 0)
64
PodsToggleButton.TextScaled = true
65
PodsToggleButton.TextSize = 24
66
PodsToggleButton.TextWrapped = true
67
68
ExitDoorsToggleButton.Name = "ExitDoorsToggleButton"
69
ExitDoorsToggleButton.Parent = MainFrame
70
ExitDoorsToggleButton.BackgroundColor3 = Color3.new(0, 0, 0)
71
ExitDoorsToggleButton.BorderColor3 = Color3.new(1, 1, 1)
72
ExitDoorsToggleButton.BorderSizePixel = 2
73
ExitDoorsToggleButton.Position = UDim2.new(0.0500000007, 0, 0.349999994, 0)
74
ExitDoorsToggleButton.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
75
ExitDoorsToggleButton.Font = Enum.Font.SourceSansBold
76
ExitDoorsToggleButton.FontSize = Enum.FontSize.Size24
77
ExitDoorsToggleButton.Text = "Exit Doors: OFF"
78
ExitDoorsToggleButton.TextColor3 = Color3.new(1, 0, 0)
79
ExitDoorsToggleButton.TextScaled = true
80
ExitDoorsToggleButton.TextSize = 24
81
ExitDoorsToggleButton.TextWrapped = true
82
83
DoorsToggleButton.Name = "DoorsToggleButton"
84
DoorsToggleButton.Parent = MainFrame
85
DoorsToggleButton.BackgroundColor3 = Color3.new(0, 0, 0)
86
DoorsToggleButton.BorderColor3 = Color3.new(1, 1, 1)
87
DoorsToggleButton.BorderSizePixel = 2
88
DoorsToggleButton.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0)
89
DoorsToggleButton.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
90
DoorsToggleButton.Font = Enum.Font.SourceSansBold
91
DoorsToggleButton.FontSize = Enum.FontSize.Size24
92
DoorsToggleButton.Text = "Doors: OFF"
93
DoorsToggleButton.TextColor3 = Color3.new(1, 0, 0)
94
DoorsToggleButton.TextScaled = true
95
DoorsToggleButton.TextSize = 24
96
DoorsToggleButton.TextWrapped = true
97
98
AirVentsToggleButton.Name = "AirVentsToggleButton"
99
AirVentsToggleButton.Parent = MainFrame
100
AirVentsToggleButton.BackgroundColor3 = Color3.new(0, 0, 0)
101
AirVentsToggleButton.BorderColor3 = Color3.new(1, 1, 1)
102
AirVentsToggleButton.BorderSizePixel = 2
103
AirVentsToggleButton.Position = UDim2.new(0.0500000007, 0, 0.550000012, 0)
104
AirVentsToggleButton.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
105
AirVentsToggleButton.Font = Enum.Font.SourceSansBold
106
AirVentsToggleButton.FontSize = Enum.FontSize.Size24
107
AirVentsToggleButton.Text = "Air Vents: OFF"
108
AirVentsToggleButton.TextColor3 = Color3.new(1, 0, 0)
109
AirVentsToggleButton.TextScaled = true
110
AirVentsToggleButton.TextSize = 24
111
AirVentsToggleButton.TextWrapped = true
112
113
ReloadESP.Name = "ReloadESP"
114
ReloadESP.Parent = MainFrame
115
ReloadESP.BackgroundColor3 = Color3.new(0, 0, 0)
116
ReloadESP.BorderColor3 = Color3.new(1, 1, 1)
117
ReloadESP.BorderSizePixel = 2
118
ReloadESP.Position = UDim2.new(0.0500000007, 0, 0.699999988, 0)
119
ReloadESP.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
120
ReloadESP.Font = Enum.Font.SourceSansBold
121
ReloadESP.FontSize = Enum.FontSize.Size36
122
ReloadESP.Text = "ESP"
123
ReloadESP.TextColor3 = Color3.new(0, 0.447059, 0.454902)
124
ReloadESP.TextScaled = true
125
ReloadESP.TextSize = 34
126
ReloadESP.TextWrapped = true
127
128
HackingFailToggle.Name = "HackingFailToggle"
129
HackingFailToggle.Parent = MainFrame
130
HackingFailToggle.BackgroundColor3 = Color3.new(0, 0, 0)
131
HackingFailToggle.BorderColor3 = Color3.new(1, 1, 1)
132
HackingFailToggle.BorderSizePixel = 2
133
HackingFailToggle.Position = UDim2.new(0.0500000007, 0, 0.850000024, 0)
134
HackingFailToggle.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
135
HackingFailToggle.Font = Enum.Font.SourceSansBold
136
HackingFailToggle.FontSize = Enum.FontSize.Size24
137
HackingFailToggle.Text = "Never fail hacking: OFF"
138
HackingFailToggle.TextColor3 = Color3.new(1, 0, 0)
139
HackingFailToggle.TextScaled = true
140
HackingFailToggle.TextSize = 24
141
HackingFailToggle.TextWrapped = true
142
143
players = false
144
computers = false
145
pods = false
146
exitdoors = false
147
doors = false
148
vents = false
149
150
neverfailhack = false
151
152
--------------------------------------------------
153
PlayersToggleButton.MouseButton1Down:connect(function()
154
if players == false then
155
players = true
156
PlayersToggleButton.Text = "Players: ON"
157
PlayersToggleButton.TextColor3 = Color3.fromRGB(0,255,0)
158
else
159
players = false
160
PlayersToggleButton.Text = "Players: OFF"
161
PlayersToggleButton.TextColor3 = Color3.fromRGB(255,0,0) 
162
end
163
end)
164
165
ComputersToggleButton.MouseButton1Down:connect(function()
166
if computers == false then
167
computers = true
168
ComputersToggleButton.Text = "Computers: ON"
169
ComputersToggleButton.TextColor3 = Color3.fromRGB(0,255,0)
170
else
171
computers = false
172
ComputersToggleButton.Text = "Computers: OFF"
173
ComputersToggleButton.TextColor3 = Color3.fromRGB(255,0,0) 
174
end
175
end)
176
177
PodsToggleButton.MouseButton1Down:connect(function()
178
if pods == false then
179
pods = true
180
PodsToggleButton.Text = "Freeze Pods: ON"
181
PodsToggleButton.TextColor3 = Color3.fromRGB(0,255,0)
182
else
183
pods = false
184
PodsToggleButton.Text = "Freeze Pods: OFF"
185
PodsToggleButton.TextColor3 = Color3.fromRGB(255,0,0) 
186
end
187
end)
188
189
ExitDoorsToggleButton.MouseButton1Down:connect(function()
190
if exitdoors == false then
191
exitdoors = true
192
ExitDoorsToggleButton.Text = "Exit Doors: ON"
193
ExitDoorsToggleButton.TextColor3 = Color3.fromRGB(0,255,0)
194
else
195
exitdoors = false
196
ExitDoorsToggleButton.Text = "Exit Doors: OFF"
197
ExitDoorsToggleButton.TextColor3 = Color3.fromRGB(255,0,0) 
198
end
199
end)
200
201
DoorsToggleButton.MouseButton1Down:connect(function()
202
if doors == false then
203
doors = true
204
DoorsToggleButton.Text = "Doors: ON"
205
DoorsToggleButton.TextColor3 = Color3.fromRGB(0,255,0)
206
else
207
doors = false
208
DoorsToggleButton.Text = "Doors: OFF"
209
DoorsToggleButton.TextColor3 = Color3.fromRGB(255,0,0) 
210
end
211
end)
212
213
AirVentsToggleButton.MouseButton1Down:connect(function()
214
if vents == false then
215
vents = true
216
AirVentsToggleButton.Text = "Air Vents: ON"
217
AirVentsToggleButton.TextColor3 = Color3.fromRGB(0,255,0)
218
else
219
vents = false
220
AirVentsToggleButton.Text = "Air Vents: OFF"
221
AirVentsToggleButton.TextColor3 = Color3.fromRGB(255,0,0) 
222
end
223
end)
224
225
HackingFailToggle.MouseButton1Down:connect(function()
226
if neverfailhack == false then
227
neverfailhack = true
228
HackingFailToggle.Text = "Never fail hacking: ON"
229
HackingFailToggle.TextColor3 = Color3.fromRGB(0,255,0)
230
else
231
neverfailhack = false
232
HackingFailToggle.Text = "Never fail hacking: OFF"
233
HackingFailToggle.TextColor3 = Color3.fromRGB(255,0,0) 
234
end
235
end)
236
237
ReloadESP.MouseButton1Down:connect(function()
238
game.Lighting.FogEnd = 10000000
239
240
if workspace:findFirstChild("ESP") then
241
workspace.ESP:remove()
242
end
243
244
if workspace:findFirstChild("ESPComputer") then
245
workspace.ESPComputer:remove()
246
end
247
248
if workspace:findFirstChild("ESPPod") then
249
workspace.ESPPod:remove()
250
end
251
252
if workspace:findFirstChild("ESPExitDoor") then
253
workspace.ESPExitDoor:remove()
254
end
255
256
if workspace:findFirstChild("ESPDoors") then
257
workspace.ESPDoors:remove()
258
end
259
260
if workspace:findFirstChild("ESPVents") then
261
workspace.ESPVents:remove()
262
end
263
264
265
function GetSizeOfObject(Obj)
266
if Obj:IsA("BasePart") then
267
return Obj.Size
268
elseif Obj:IsA("Model") then
269
return Obj:GetExtentsSize()
270
end
271
end
272
273
local ESP = Instance.new("Folder",workspace)
274
ESP.Name = "ESP"
275
276
277
278
function CreateESPPart(BodyPart,r,g,b)
279
local ESPPartparent = BodyPart
280
local Box = Instance.new("BoxHandleAdornment")
281
Box.Size = GetSizeOfObject(ESPPartparent) + Vector3.new(0.1, 0.1, 0.1)
282
Box.Name = "ESPPart"
283
Box.Adornee = ESPPartparent
284
Box.Color3 = Color3.fromRGB(r,g,b)
285
Box.AlwaysOnTop = true
286
Box.ZIndex = 5
287
Box.Transparency = 0.4
288
Box.Parent = ESP
289
if BodyPart.Parent.Name == game.Players.LocalPlayer.Name then
290
Box:remove()
291
spawn (function()
292
while true do
293
wait(0.1)
294
if BodyPart ~= nil then
295
Box:remove()
296
end
297
end
298
end)
299
end
300
end
301
302
303
local player = game.Players:GetChildren()
304
for i =1, #player do
305
local bodyparts = player[i].Character:GetChildren()
306
for i =1, #bodyparts do
307
if bodyparts[i].ClassName == "Part" then
308
if bodyparts[i].Parent:findFirstChild("BeastPowers") then
309
CreateESPPart(bodyparts[i],255,0,0)
310
else
311
CreateESPPart(bodyparts[i],170,170,255)
312
end
313
end
314
end
315
end
316
317
318
local ESPPC = Instance.new("Folder",workspace)
319
ESPPC.Name = "ESPComputer"
320
321
local ESPPod = Instance.new("Folder",workspace)
322
ESPPod.Name = "ESPPod"
323
324
local ESPExitDoor = Instance.new("Folder",workspace)
325
ESPExitDoor.Name = "ESPExitDoor"
326
327
local ESPDoors = Instance.new("Folder",workspace)
328
ESPDoors.Name = "ESPDoors"
329
330
local ESPVents = Instance.new("Folder",workspace)
331
ESPVents.Name = "ESPVents"
332
333
334
local map = workspace:findFirstChild(tostring(game.ReplicatedStorage.CurrentMap.Value))
335
local children = map:GetChildren()
336
for i =1, #children do
337
if children[i].Name == "ComputerTable" then 
338
local Box = Instance.new("BoxHandleAdornment")
339
Box.Size = GetSizeOfObject(children[i].Screen) + Vector3.new(-0.5, -0.5, -0.5)
340
Box.Name = "ESPPart"
341
Box.Adornee = children[i].Screen
342
spawn (function()
343
while true do
344
wait(0.1)
345
Box.Color3 = children[i].Screen.Color
346
end
347
end)
348
Box.AlwaysOnTop = true
349
Box.ZIndex = 5
350
Box.Transparency = 0.4
351
Box.Parent = ESPPC
352
end
353
if children[i].Name == "FreezePod" then 
354
local Box = Instance.new("BoxHandleAdornment")
355
Box.Size = GetSizeOfObject(children[i].BasePart) + Vector3.new(0.1, 5, 0.1)
356
Box.Name = "ESPPart"
357
Box.Adornee = children[i].BasePart
358
Box.Color3 = Color3.fromRGB(0,0,255)
359
Box.AlwaysOnTop = true
360
Box.ZIndex = 5
361
Box.Transparency = 0.8
362
Box.Parent = ESPPod
363
end
364
if children[i].Name == "ExitDoor" then 
365
local Box = Instance.new("BoxHandleAdornment")
366
Box.Size = GetSizeOfObject(children[i].ExitDoorTrigger) + Vector3.new(-1, 5, -1)
367
Box.Name = "ESPPart"
368
Box.Adornee = children[i].ExitDoorTrigger
369
Box.Color3 = Color3.fromRGB(255,255,0)
370
Box.AlwaysOnTop = true
371
Box.ZIndex = 5
372
Box.Transparency = 0.8
373
Box.Parent = ESPExitDoor
374
end
375
if children[i].Name == "SingleDoor" then 
376
local Box = Instance.new("BoxHandleAdornment")
377
if children[i].Door:findFirstChild("DoorBoard") then
378
Box.Size = GetSizeOfObject(children[i].Door.DoorBoard) + Vector3.new(0.1, 0.1, 0.1)
379
Box.Name = "ESPPart"
380
Box.Adornee = children[i].Door.DoorBoard
381
Box.Color3 = Color3.fromRGB(204,142,105)
382
Box.AlwaysOnTop = true
383
Box.ZIndex = 5
384
Box.Transparency = 0.8
385
Box.Parent = ESPDoors
386
end
387
end
388
if children[i].Name == "DoubleDoor" then 
389
local Box = Instance.new("BoxHandleAdornment")
390
if children[i].DoorL:findFirstChild("DoorBoard") then
391
Box.Size = GetSizeOfObject(children[i].DoorL.DoorBoard) + Vector3.new(0.1, 0.1, 0.1)
392
Box.Name = "ESPPart"
393
Box.Adornee = children[i].DoorL.DoorBoard
394
Box.Color3 = Color3.fromRGB(204,142,105)
395
Box.AlwaysOnTop = true
396
Box.ZIndex = 5
397
Box.Transparency = 0.8
398
Box.Parent = ESPDoors
399
end
400
end
401
if children[i].Name == "DoubleDoor" then 
402
local Box = Instance.new("BoxHandleAdornment")
403
if children[i].DoorR:findFirstChild("DoorBoard") then
404
Box.Size = GetSizeOfObject(children[i].DoorR.DoorBoard) + Vector3.new(0.1, 0.1, 0.1)
405
Box.Name = "ESPPart"
406
Box.Adornee = children[i].DoorR.DoorBoard
407
Box.Color3 = Color3.fromRGB(204,142,105)
408
Box.AlwaysOnTop = true
409
Box.ZIndex = 5
410
Box.Transparency = 0.8
411
Box.Parent = ESPDoors
412
end
413
end
414
if children[i].Name == "SingleDoor" then 
415
local Box = Instance.new("BoxHandleAdornment")
416
if children[i].Door:findFirstChild("DoorBoard") == false then
417
Box.Size = GetSizeOfObject(children[i].Door.Part) + Vector3.new(0.1, 0.1, 0.1)
418
Box.Name = "ESPPart"
419
Box.Adornee = children[i].Door.Part
420
Box.Color3 = Color3.fromRGB(204,142,105)
421
Box.AlwaysOnTop = true
422
Box.ZIndex = 5
423
Box.Transparency = 0.8
424
Box.Parent = ESPDoors
425
end
426
end
427
if children[i].Name == "DoubleDoor" then 
428
local Box = Instance.new("BoxHandleAdornment")
429
if children[i].DoorR:findFirstChild("DoorBoard") == false then
430
Box.Size = GetSizeOfObject(children[i].DoorL.Part) + Vector3.new(0.1, 0.1, 0.1)
431
Box.Name = "ESPPart"
432
Box.Adornee = children[i].DoorL.Part
433
Box.Color3 = Color3.fromRGB(204,142,105)
434
Box.AlwaysOnTop = true
435
Box.ZIndex = 5
436
Box.Transparency = 0.8
437
Box.Parent = ESPDoors
438
end
439
end
440
if children[i].Name == "DoubleDoor" then 
441
local Box = Instance.new("BoxHandleAdornment")
442
if children[i].DoorR:findFirstChild("DoorBoard") == false then
443
Box.Size = GetSizeOfObject(children[i].DoorR.Part) + Vector3.new(0.1, 0.1, 0.1)
444
Box.Name = "ESPPart"
445
Box.Adornee = children[i].DoorR.Part
446
Box.Color3 = Color3.fromRGB(204,142,105)
447
Box.AlwaysOnTop = true
448
Box.ZIndex = 5
449
Box.Transparency = 0.8
450
Box.Parent = ESPDoors
451
end
452
end
453
454
if children[i].Name == "AirVent" then 
455
local Box = Instance.new("BoxHandleAdornment")
456
Box.Size = GetSizeOfObject(children[i].Part) + Vector3.new(4, 0.1, 4)
457
Box.Name = "ESPPart"
458
Box.Adornee = children[i].Part
459
Box.Color3 = Color3.fromRGB(100,100,100)
460
Box.AlwaysOnTop = true
461
Box.ZIndex = 5
462
Box.Transparency = 0.8
463
Box.Parent = ESPVents
464
end
465
end
466
467
if players == false then
468
workspace.ESP:remove()
469
end
470
471
if computers == false then
472
workspace.ESPComputer:remove()
473
end
474
475
if pods == false then
476
workspace.ESPPod:remove()
477
end
478
479
if exitdoors == false then
480
workspace.ESPExitDoor:remove()
481
end
482
483
if doors == false then
484
workspace.ESPDoors:remove()
485
end
486
487
if vents == false then
488
workspace.ESPVents:remove()
489
end
490
end)
491
492
spawn (function()
493
while true do
494
wait()
495
if neverfailhack == true then
496
game.ReplicatedStorage.RemoteEvent:FireServer("SetPlayerMinigameResult",true)
497
end
498
end
499
end)