Guest User

Untitled

a guest
Aug 12th, 2019
31,676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.84 KB | None | 0 0
  1.  
  2. local gui = Instance.new("ScreenGui")
  3. gui.Name = "FleeTheFacilityGUI"
  4. gui.Parent = game.CoreGui
  5. gui.ResetOnSpawn = false
  6.  
  7. local holder = Instance.new("Frame")
  8. holder.Name = "Holder"
  9. holder.Parent = gui
  10. holder.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
  11. holder.BorderSizePixel = 0
  12. holder.Position = UDim2.new(0.085, 0, 0.3, 0)
  13. holder.Active = true
  14. holder.Selectable = true
  15. holder.Draggable = true
  16. holder.Size = UDim2.new(0, 500, 0, 348)
  17.  
  18. local title = Instance.new("Frame")
  19. title.Name = "Title"
  20. title.Parent = holder
  21. title.BackgroundColor3 = Color3.fromRGB(145, 145, 145)
  22. title.BorderSizePixel = 0
  23. title.Position = UDim2.new(0.02, 0, 0.037, 0)
  24. title.Size = UDim2.new(0, 479, 0, 43)
  25.  
  26. local menu = Instance.new("Frame")
  27. menu.Name = "Menu"
  28. menu.Parent = holder
  29. menu.BackgroundColor3 = Color3.fromRGB(145, 145, 145)
  30. menu.BorderSizePixel = 0
  31. menu.Position = UDim2.new(0.02, 0, 0.196, 0)
  32. menu.Size = UDim2.new(0, 479, 0, 239)
  33.  
  34. local closebutton = Instance.new("TextButton")
  35. closebutton.Name = "CloseButton"
  36. closebutton.Parent = title
  37. closebutton.BackgroundColor3 = Color3.fromRGB(255, 80, 80)
  38. closebutton.BorderSizePixel = 0
  39. closebutton.Position = UDim2.new(0.925, 0, 0.186, 0)
  40. closebutton.Size = UDim2.new(0, 26, 0, 26)
  41. closebutton.Font = Enum.Font.SourceSansSemibold
  42. closebutton.Text = "X"
  43. closebutton.TextColor3 = Color3.fromRGB(255, 255, 255)
  44. closebutton.TextScaled = true
  45. closebutton.TextStrokeTransparency = 0
  46. closebutton.TextWrapped = true
  47.  
  48. local name = Instance.new("TextLabel")
  49. name.Name = "Name"
  50. name.Parent = title
  51. name.BackgroundTransparency = 1
  52. name.Position = UDim2.new(0, 0, 0, 0)
  53. name.Size = UDim2.new(0, 479, 0, 43)
  54. name.Font = Enum.Font.SourceSansSemibold
  55. name.Text = "Flee the Facility"
  56. name.TextColor3 = Color3.fromRGB(255, 255, 255)
  57. name.TextStrokeTransparency = 0
  58. name.TextScaled = true
  59. name.TextWrapped = true
  60.  
  61. local tptopc = Instance.new("TextButton")
  62. tptopc.Name = "TpToPc"
  63. tptopc.Parent = menu
  64. tptopc.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  65. tptopc.BorderSizePixel = 0
  66. tptopc.Position = UDim2.new(0.02, 0, 0.423, 0)
  67. tptopc.Size = UDim2.new(0, 210, 0, 30)
  68. tptopc.Font = Enum.Font.SourceSansSemibold
  69. tptopc.Text = "Teleport to the computer"
  70. tptopc.TextColor3 = Color3.fromRGB(255, 255, 255)
  71. tptopc.TextSize = 22
  72. tptopc.TextStrokeTransparency = 0
  73. tptopc.TextWrapped = true
  74.  
  75. local facility_0 = Instance.new("TextButton")
  76. facility_0.Name = "Facility_0"
  77. facility_0.Parent = menu
  78. facility_0.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  79. facility_0.BorderSizePixel = 0
  80. facility_0.Position = UDim2.new(0.507, 0, 0.143, 0)
  81. facility_0.Size = UDim2.new(0,109, 0, 30)
  82. facility_0.Font = Enum.Font.SourceSansSemibold
  83. facility_0.Text = "Facility_0"
  84. facility_0.TextColor3 = Color3.fromRGB(255, 255, 255)
  85. facility_0.TextSize = 14
  86. facility_0.TextStrokeTransparency = 0
  87. facility_0.TextWrapped = true
  88.  
  89. local homestead = Instance.new("TextButton")
  90. homestead.Name = "Homestead"
  91. homestead.Parent = menu
  92. homestead.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  93. homestead.BorderSizePixel = 0
  94. homestead.Position = UDim2.new(0.749, 0, 0.143, 0)
  95. homestead.Size = UDim2.new(0,109, 0, 30)
  96. homestead.Font = Enum.Font.SourceSansSemibold
  97. homestead.Text = "Homestead"
  98. homestead.TextColor3 = Color3.fromRGB(255, 255, 255)
  99. homestead.TextSize = 14
  100. homestead.TextStrokeTransparency = 0
  101. homestead.TextWrapped = true
  102.  
  103. local abandonedprison = Instance.new("TextButton")
  104. abandonedprison.Name = "AbandonedPrison"
  105. abandonedprison.Parent = menu
  106. abandonedprison.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  107. abandonedprison.BorderSizePixel = 0
  108. abandonedprison.Position = UDim2.new(0.262, 0, 0.143, 0)
  109. abandonedprison.Size = UDim2.new(0,109, 0, 30)
  110. abandonedprison.Font = Enum.Font.SourceSansSemibold
  111. abandonedprison.Text = "Abandoned Prison"
  112. abandonedprison.TextColor3 = Color3.fromRGB(255, 255, 255)
  113. abandonedprison.TextSize = 14
  114. abandonedprison.TextStrokeTransparency = 0
  115. abandonedprison.TextWrapped = true
  116.  
  117. local abandonedfacility = Instance.new("TextButton")
  118. abandonedfacility.Name = "AbandonedFacility"
  119. abandonedfacility.Parent = menu
  120. abandonedfacility.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  121. abandonedfacility.BorderSizePixel = 0
  122. abandonedfacility.Position = UDim2.new(0.02, 0, 0.143, 0)
  123. abandonedfacility.Size = UDim2.new(0,109, 0, 30)
  124. abandonedfacility.Font = Enum.Font.SourceSansSemibold
  125. abandonedfacility.Text = "Abandoned Facility"
  126. abandonedfacility.TextColor3 = Color3.fromRGB(255, 255, 255)
  127. abandonedfacility.TextSize = 14
  128. abandonedfacility.TextStrokeTransparency = 0
  129. abandonedfacility.TextWrapped = true
  130.  
  131. local playername = Instance.new("TextBox")
  132. playername.Name = "PlayerName"
  133. playername.Parent = menu
  134. playername.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  135. playername.BorderSizePixel = 0
  136. playername.Position = UDim2.new(0.534, 0, 0.519, 0)
  137. playername.Size = UDim2.new(0, 211, 0, 30)
  138. playername.Font = Enum.Font.SourceSansSemibold
  139. playername.Text = "Player Name Here"
  140. playername.TextColor3 = Color3.fromRGB(255, 255, 255)
  141. playername.TextSize = 22
  142. playername.TextStrokeTransparency = 0
  143. playername.TextWrapped = true
  144.  
  145. local tpfrombeast = Instance.new("TextButton")
  146. tpfrombeast.Name = "TpFromBeast"
  147. tpfrombeast.Parent = menu
  148. tpfrombeast.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  149. tpfrombeast.BorderSizePixel = 0
  150. tpfrombeast.Position = UDim2.new(0.02, 0, 0.607, 0)
  151. tpfrombeast.Size = UDim2.new(0, 210, 0, 30)
  152. tpfrombeast.Font = Enum.Font.SourceSansSemibold
  153. tpfrombeast.Text = "Teleport from beast"
  154. tpfrombeast.TextColor3 = Color3.fromRGB(255, 255, 255)
  155. tpfrombeast.TextSize = 22
  156. tpfrombeast.TextStrokeTransparency = 0
  157. tpfrombeast.TextWrapped = true
  158.  
  159. local tptoplayer = Instance.new("TextButton")
  160. tptoplayer.Name = "TpToPlayer"
  161. tptoplayer.Parent = menu
  162. tptoplayer.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  163. tptoplayer.BorderSizePixel = 0
  164. tptoplayer.Position = UDim2.new(0.565, 0, 0.703, 0)
  165. tptoplayer.Size = UDim2.new(0, 180, 0, 30)
  166. tptoplayer.Font = Enum.Font.SourceSansSemibold
  167. tptoplayer.Text = "Teleport to the player"
  168. tptoplayer.TextColor3 = Color3.fromRGB(255, 255, 255)
  169. tptoplayer.TextSize = 22
  170. tptoplayer.TextStrokeTransparency = 0
  171. tptoplayer.TextWrapped = true
  172.  
  173. local tptoexit = Instance.new("TextButton")
  174. tptoexit.Name = "TpToExit"
  175. tptoexit.Parent = menu
  176. tptoexit.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  177. tptoexit.BorderSizePixel = 0
  178. tptoexit.Position = UDim2.new(0.02, 0, 0.795, 0)
  179. tptoexit.Size = UDim2.new(0, 210, 0, 30)
  180. tptoexit.Font = Enum.Font.SourceSansSemibold
  181. tptoexit.Text = "Teleport to an exit"
  182. tptoexit.TextColor3 = Color3.fromRGB(255, 255, 255)
  183. tptoexit.TextSize = 22
  184. tptoexit.TextStrokeTransparency = 0
  185. tptoexit.TextWrapped = true
  186.  
  187. local choosethemap = Instance.new("TextLabel")
  188. choosethemap.Name = "ChooseTheMap"
  189. choosethemap.Parent = menu
  190. choosethemap.BackgroundTransparency = 1
  191. choosethemap.Position = UDim2.new(0.29, 0, 0, 0)
  192. choosethemap.Size = UDim2.new(0, 200, 0, 28)
  193. choosethemap.Font = Enum.Font.SourceSansSemibold
  194. choosethemap.Text = "Choose the Map:"
  195. choosethemap.TextColor3 = Color3.fromRGB(255, 255, 255)
  196. choosethemap.TextStrokeTransparency = 0
  197. choosethemap.TextScaled = true
  198. choosethemap.TextWrapped = true
  199.  
  200. local chosenmap = Instance.new("TextLabel")
  201. chosenmap.Name = "ChosenMap"
  202. chosenmap.Parent = menu
  203. chosenmap.BackgroundTransparency = 1
  204. chosenmap.Position = UDim2.new(0.262, 0, 0.275, 0)
  205. chosenmap.Size = UDim2.new(0, 225, 0, 14)
  206. chosenmap.Font = Enum.Font.SourceSansSemibold
  207. chosenmap.Text = "Chosen Map: None"
  208. chosenmap.TextColor3 = Color3.fromRGB(255, 255, 255)
  209. chosenmap.TextStrokeTransparency = 0
  210. chosenmap.TextScaled = true
  211. chosenmap.TextWrapped = true
  212.  
  213. local credits = Instance.new("TextLabel")
  214. credits.Name = "Credits"
  215. credits.Parent = holder
  216. credits.BackgroundTransparency = 1
  217. credits.Position = UDim2.new(0.3, 0, 0.881, 0)
  218. credits.Size = UDim2.new(0, 200, 0, 41)
  219. credits.Font = Enum.Font.SourceSansSemibold
  220. credits.Text = "Hamburghini#6590"
  221. credits.TextColor3 = Color3.fromRGB(255, 255, 255)
  222. credits.TextStrokeTransparency = 0
  223. credits.TextScaled = true
  224. credits.TextWrapped = true
  225.  
  226. local mapvalue = Instance.new("StringValue")
  227.  
  228. closebutton.MouseButton1Down:connect(function()
  229. gui:Destroy()
  230. end)
  231.  
  232. abandonedfacility.MouseButton1Down:connect(function()
  233. mapvalue.Value = "Abandoned Facility by iiGalaxyKoala, Vexhins, and cyrda"
  234. chosenmap.Text = "Chosen Map: Abandoned Facility"
  235. end)
  236.  
  237. abandonedprison.MouseButton1Down:connect(function()
  238. mapvalue.Value = "Abandoned Prison by AtomixKing and Duck_Ify"
  239. chosenmap.Text = "Chosen Map: Abandoned Prison"
  240. end)
  241.  
  242. facility_0.MouseButton1Down:connect(function()
  243. mapvalue.Value = "Facility_0 by MrWindy"
  244. chosenmap.Text = "Chosen Map: Facility_0"
  245. end)
  246.  
  247. homestead.MouseButton1Down:connect(function()
  248. mapvalue.Value = "Homestead by MrWindy"
  249. chosenmap.Text = "Chosen Map: Homestead"
  250. end)
  251.  
  252. tptopc.MouseButton1Down:connect(function()
  253. local pc = game.Workspace:FindFirstChild(mapvalue.Value):FindFirstChild("ComputerTable")
  254.  
  255. if pc.Screen.BrickColor == BrickColor.new("Dark green") then
  256. pc.Name = "HackedPC"
  257. game.StarterGui:SetCore("ChatMakeSystemMessage", {Text = "Found PC is already hacked. Click again to find another PC.", Color = Color3.fromRGB(255, 0, 0), FontSize = Enum.FontSize.Size24,})
  258. return
  259. end
  260.  
  261. if pc.Screen.BrickColor == BrickColor.new("Bright blue") or pc.Screen.BrickColor == BrickColor.new("Bright red") then
  262. if mapvalue.Value == "Abandoned Facility by iiGalaxyKoala, Vexhins, and cyrda" then
  263. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(pc.BasePart.Position.X, pc.BasePart.Position.Y + 6, pc.BasePart.Position.Z)
  264. elseif mapvalue.Value == "Facility_0 by MrWindy" or mapvalue.Value == "Abandoned Prison by AtomixKing and Duck_Ify" or mapvalue.Value == "Homestead by MrWindy" then
  265. pc.ClearWall.CanCollide = false
  266. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(pc.BasePart.Position.X, pc.BasePart.Position.Y + 6, pc.BasePart.Position.Z)
  267. end
  268. end
  269. end)
  270.  
  271. tptoplayer.MouseButton1Down:connect(function()
  272. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace:FindFirstChild(playername.Text).HumanoidRootPart.Position)
  273. end)
  274.  
  275. tptoexit.MouseButton1Down:connect(function()
  276. local exit = game.Workspace:FindFirstChild(mapvalue.Value):FindFirstChild("ExitDoor")
  277. local exdoorpos = exit.Light.Position
  278. local humrootpart = game.Players.LocalPlayer.Character.HumanoidRootPart
  279. humrootpart.CFrame = CFrame.new(exdoorpos.X, exdoorpos.Y - 4.5, exdoorpos.Z)
  280. end)
  281.  
  282. tpfrombeast.MouseButton1Down:connect(function()
  283. local collide = game.Workspace:FindFirstChild(mapvalue.Value):FindFirstChild("FreezePod"):GetChildren()
  284. local tp = game.Workspace:FindFirstChild(mapvalue.Value):FindFirstChild("FreezePod").BasePart
  285. collide.CanCollide = false
  286. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(tp.Position.X, tp.Position.Y + 3, tp.Position.Z)
  287. end)
Add Comment
Please, Sign In to add comment