Advertisement
DontDoItIDareU

[FE] ESP Flee The Facility

Jun 22nd, 2018
2,072
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. players = true
  2. computers = true
  3. pods = true
  4. exitdoors = true
  5. doors = true
  6. vents = true
  7.  
  8.  
  9.  
  10. --------------------------------------------------
  11.  
  12.  
  13. game.Lighting.FogEnd = 10000000
  14.  
  15. if workspace:findFirstChild("ESP") then
  16. workspace.ESP:remove()
  17. end
  18.  
  19. if workspace:findFirstChild("ESPComputer") then
  20. workspace.ESPComputer:remove()
  21. end
  22.  
  23. if workspace:findFirstChild("ESPPod") then
  24. workspace.ESPPod:remove()
  25. end
  26.  
  27. if workspace:findFirstChild("ESPExitDoor") then
  28. workspace.ESPExitDoor:remove()
  29. end
  30.  
  31. if workspace:findFirstChild("ESPDoors") then
  32. workspace.ESPDoors:remove()
  33. end
  34.  
  35. if workspace:findFirstChild("ESPVents") then
  36. workspace.ESPVents:remove()
  37. end
  38.  
  39.  
  40. function GetSizeOfObject(Obj)
  41. if Obj:IsA("BasePart") then
  42. return Obj.Size
  43. elseif Obj:IsA("Model") then
  44. return Obj:GetExtentsSize()
  45. end
  46. end
  47.  
  48. local ESP = Instance.new("Folder",workspace)
  49. ESP.Name = "ESP"
  50.  
  51.  
  52.  
  53. function CreateESPPart(BodyPart,r,g,b)
  54. local ESPPartparent = BodyPart
  55. local Box = Instance.new("BoxHandleAdornment")
  56. Box.Size = GetSizeOfObject(ESPPartparent) + Vector3.new(0.1, 0.1, 0.1)
  57. Box.Name = "ESPPart"
  58. Box.Adornee = ESPPartparent
  59. Box.Color3 = Color3.fromRGB(r,g,b)
  60. Box.AlwaysOnTop = true
  61. Box.ZIndex = 5
  62. Box.Transparency = 0.4
  63. Box.Parent = ESP
  64. if BodyPart.Parent.Name == game.Players.LocalPlayer.Name then
  65. Box:remove()
  66. spawn (function()
  67. while true do
  68. wait(0.1)
  69. if BodyPart ~= nil then
  70. Box:remove()
  71. end
  72. end
  73. end)
  74. end
  75. end
  76.  
  77.  
  78. local player = game.Players:GetChildren()
  79. for i =1, #player do
  80. local bodyparts = player[i].Character:GetChildren()
  81. for i =1, #bodyparts do
  82. if bodyparts[i].ClassName == "Part" then
  83. if bodyparts[i].Parent:findFirstChild("BeastPowers") then
  84. CreateESPPart(bodyparts[i],255,0,0)
  85. else
  86. CreateESPPart(bodyparts[i],170,170,255)
  87. end
  88. end
  89. end
  90. end
  91.  
  92.  
  93. local ESPPC = Instance.new("Folder",workspace)
  94. ESPPC.Name = "ESPComputer"
  95.  
  96. local ESPPod = Instance.new("Folder",workspace)
  97. ESPPod.Name = "ESPPod"
  98.  
  99. local ESPExitDoor = Instance.new("Folder",workspace)
  100. ESPExitDoor.Name = "ESPExitDoor"
  101.  
  102. local ESPDoors = Instance.new("Folder",workspace)
  103. ESPDoors.Name = "ESPDoors"
  104.  
  105. local ESPVents = Instance.new("Folder",workspace)
  106. ESPVents.Name = "ESPVents"
  107.  
  108.  
  109. local map = workspace:findFirstChild(tostring(game.ReplicatedStorage.CurrentMap.Value))
  110. local children = map:GetChildren()
  111. for i =1, #children do
  112. if children[i].Name == "ComputerTable" then
  113. local Box = Instance.new("BoxHandleAdornment")
  114. Box.Size = GetSizeOfObject(children[i].Screen) + Vector3.new(-0.5, -0.5, -0.5)
  115. Box.Name = "ESPPart"
  116. Box.Adornee = children[i].Screen
  117. spawn (function()
  118. while true do
  119. wait(0.1)
  120. Box.Color3 = children[i].Screen.Color
  121. end
  122. end)
  123. Box.AlwaysOnTop = true
  124. Box.ZIndex = 5
  125. Box.Transparency = 0.4
  126. Box.Parent = ESPPC
  127. end
  128. if children[i].Name == "FreezePod" then
  129. local Box = Instance.new("BoxHandleAdornment")
  130. Box.Size = GetSizeOfObject(children[i].BasePart) + Vector3.new(0.1, 5, 0.1)
  131. Box.Name = "ESPPart"
  132. Box.Adornee = children[i].BasePart
  133. Box.Color3 = Color3.fromRGB(0,0,255)
  134. Box.AlwaysOnTop = true
  135. Box.ZIndex = 5
  136. Box.Transparency = 0.8
  137. Box.Parent = ESPPod
  138. end
  139. if children[i].Name == "ExitDoor" then
  140. local Box = Instance.new("BoxHandleAdornment")
  141. Box.Size = GetSizeOfObject(children[i].ExitDoorTrigger) + Vector3.new(-1, 5, -1)
  142. Box.Name = "ESPPart"
  143. Box.Adornee = children[i].ExitDoorTrigger
  144. Box.Color3 = Color3.fromRGB(255,255,0)
  145. Box.AlwaysOnTop = true
  146. Box.ZIndex = 5
  147. Box.Transparency = 0.8
  148. Box.Parent = ESPExitDoor
  149. end
  150. if children[i].Name == "SingleDoor" then
  151. local Box = Instance.new("BoxHandleAdornment")
  152. Box.Size = GetSizeOfObject(children[i].Door.DoorBoard) + Vector3.new(0.1, 0.1, 0.1)
  153. Box.Name = "ESPPart"
  154. Box.Adornee = children[i].Door.DoorBoard
  155. Box.Color3 = Color3.fromRGB(204,142,105)
  156. Box.AlwaysOnTop = true
  157. Box.ZIndex = 5
  158. Box.Transparency = 0.8
  159. Box.Parent = ESPDoors
  160. end
  161. if children[i].Name == "DoubleDoor" then
  162. local Box = Instance.new("BoxHandleAdornment")
  163. Box.Size = GetSizeOfObject(children[i].DoorL.DoorBoard) + Vector3.new(0.1, 0.1, 0.1)
  164. Box.Name = "ESPPart"
  165. Box.Adornee = children[i].DoorL.DoorBoard
  166. Box.Color3 = Color3.fromRGB(204,142,105)
  167. Box.AlwaysOnTop = true
  168. Box.ZIndex = 5
  169. Box.Transparency = 0.8
  170. Box.Parent = ESPDoors
  171. end
  172. if children[i].Name == "DoubleDoor" then
  173. local Box = Instance.new("BoxHandleAdornment")
  174. Box.Size = GetSizeOfObject(children[i].DoorR.DoorBoard) + Vector3.new(0.1, 0.1, 0.1)
  175. Box.Name = "ESPPart"
  176. Box.Adornee = children[i].DoorR.DoorBoard
  177. Box.Color3 = Color3.fromRGB(204,142,105)
  178. Box.AlwaysOnTop = true
  179. Box.ZIndex = 5
  180. Box.Transparency = 0.8
  181. Box.Parent = ESPDoors
  182. end
  183.  
  184. if children[i].Name == "AirVent" then
  185. local Box = Instance.new("BoxHandleAdornment")
  186. Box.Size = GetSizeOfObject(children[i].Part) + Vector3.new(4, 0.1, 4)
  187. Box.Name = "ESPPart"
  188. Box.Adornee = children[i].Part
  189. Box.Color3 = Color3.fromRGB(100,100,100)
  190. Box.AlwaysOnTop = true
  191. Box.ZIndex = 5
  192. Box.Transparency = 0.8
  193. Box.Parent = ESPVents
  194. end
  195. end
  196.  
  197. if players == false then
  198. workspace.ESP:remove()
  199. end
  200.  
  201. if computers == false then
  202. workspace.ESPComputer:remove()
  203. end
  204.  
  205. if pods == false then
  206. workspace.ESPPod:remove()
  207. end
  208.  
  209. if exitdoors == false then
  210. workspace.ESPExitDoor:remove()
  211. end
  212.  
  213. if doors == false then
  214. workspace.ESPDoors:remove()
  215. end
  216.  
  217. if vents == false then
  218. workspace.ESPVents:remove()
  219. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement