Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.24 KB | None | 0 0
  1. local gui = Instance.new("ScreenGui") local holder = Instance.new("Frame") local welcome = Instance.new("TextLabel") local close = Instance.new("TextButton") local menu = Instance.new("Frame") local choosemap = Instance.new("TextLabel") local abandonedfacility = Instance.new("TextButton") local abandonedprison = Instance.new("TextButton") local facility0 = Instance.new("TextButton") local tptocomp = Instance.new("TextButton") local tpfrombeast = Instance.new("TextButton") local playername = Instance.new("TextBox") local tptoplayer = Instance.new("TextButton") local tptoexit = Instance.new("TextButton") local currentmap = Instance.new("TextLabel") local currentmapvalue = Instance.new("StringValue") local discord = Instance.new("TextLabel") gui.Name = "FleeTheFacilityGUI" gui.Parent = game.CoreGui holder.Name = "Holder" holder.Parent = gui holder.Active = true holder.Selectable = true holder.Draggable = true holder.BackgroundColor3 = Color3.fromRGB(49, 49, 49) holder.BorderSizePixel = 0 holder.Position = UDim2.new(0.032, 0, 0.504, 0) holder.Size = UDim2.new(0, 455, 0, 31) welcome.Name = "Welcome" welcome.Parent = holder welcome.BackgroundTransparency = 1 welcome.Position = UDim2.new(0.193, 0, 0, 0) welcome.Size = UDim2.new(0, 279, 0, 31) welcome.Font = Enum.Font.Highway welcome.Text = "Flee The Facility GUI" welcome.TextColor3 = Color3.fromRGB(255,255,255) welcome.TextSize = 26 welcome.TextStrokeTransparency = 0 welcome.TextWrapped = true close.Name = "Close" close.Parent = holder close.BackgroundColor3 = Color3.fromRGB(255, 0, 0) close.BorderSizePixel = 0 close.Position = UDim2.new(0.932, 0, 0, 0) close.Size = UDim2.new(0, 31, 0, 31) close.Font = Enum.Font.Highway close.Text = "X" close.TextColor3 = Color3.fromRGB(255,255,255) close.TextSize = 24 close.TextStrokeTransparency = 0 close.TextWrapped = true menu.Name = "Menu" menu.Parent = holder menu.BackgroundColor3 = Color3.fromRGB(102,102,102) menu.BackgroundTransparency = 0.2 menu.BorderSizePixel = 0 menu.Position = UDim2.new(0, 0, 1, 0) menu.Size = UDim2.new(0, 455, 0, 266) choosemap.Name = "ChooseMap" choosemap.Parent = menu choosemap.BackgroundTransparency = 1 choosemap.Position = UDim2.new(0.336, 0, 0.023, 0) choosemap.Size = UDim2.new(0, 149, 0, 25) choosemap.Font = Enum.Font.Highway choosemap.Text = "Choose the map:" choosemap.TextColor3 = Color3.fromRGB(255,255,255) choosemap.TextScaled = true choosemap.TextStrokeTransparency = 0 choosemap.TextWrapped = true abandonedfacility.Name = "AbandonedFacility" abandonedfacility.Parent = menu abandonedfacility.BackgroundColor3 = Color3.fromRGB(49,49,49) abandonedfacility.BorderSizePixel = 0 abandonedfacility.Position = UDim2.new(0.037, 0, 0.143, 0) abandonedfacility.Size = UDim2.new(0, 121, 0, 41) abandonedfacility.Font = Enum.Font.Highway abandonedfacility.Text = "Abandoned Facility" abandonedfacility.TextColor3 = Color3.fromRGB(255,255,255) abandonedfacility.TextSize = 20 abandonedfacility.TextStrokeTransparency = 0 abandonedfacility.TextWrapped = true abandonedprison.Name = "AbandonedPrison" abandonedprison.Parent = menu abandonedprison.BackgroundColor3 = Color3.fromRGB(49,49,49) abandonedprison.BorderSizePixel = 0 abandonedprison.Position = UDim2.new(0.367, 0, 0.143, 0) abandonedprison.Size = UDim2.new(0, 121, 0, 41) abandonedprison.Font = Enum.Font.Highway abandonedprison.Text = "Abandoned Prison" abandonedprison.TextColor3 = Color3.fromRGB(255,255,255) abandonedprison.TextSize = 20 abandonedprison.TextStrokeTransparency = 0 abandonedprison.TextWrapped = true facility0.Name = "AbandonedPrison" facility0.Parent = menu facility0.BackgroundColor3 = Color3.fromRGB(49,49,49) facility0.BorderSizePixel = 0 facility0.Position = UDim2.new(0.701, 0, 0.143, 0) facility0.Size = UDim2.new(0, 121, 0, 41) facility0.Font = Enum.Font.Highway facility0.Text = "Facility_0" facility0.TextColor3 = Color3.fromRGB(255,255,255) facility0.TextSize = 20 facility0.TextStrokeTransparency = 0 facility0.TextWrapped = true tptocomp.Name = "TpToComputer" tptocomp.Parent = menu tptocomp.BackgroundColor3 = Color3.fromRGB(49,49,49) tptocomp.BorderSizePixel = 0 tptocomp.Position = UDim2.new(0.053, 0, 0.483, 0) tptocomp.Size = UDim2.new(0, 164, 0, 23) tptocomp.Font = Enum.Font.Highway tptocomp.Text = "TP to the computer" tptocomp.TextColor3 = Color3.fromRGB(255,255,255) tptocomp.TextSize = 20 tptocomp.TextStrokeTransparency = 0 tptocomp.TextWrapped = true tpfrombeast.Name = "TpFromBeast" tpfrombeast.Parent = menu tpfrombeast.BackgroundColor3 = Color3.fromRGB(49,49,49) tpfrombeast.BorderSizePixel = 0 tpfrombeast.Position = UDim2.new(0.052, 0, 0.607, 0) tpfrombeast.Size = UDim2.new(0, 164, 0, 23) tpfrombeast.Font = Enum.Font.Highway tpfrombeast.Text = "TP from beast" tpfrombeast.TextColor3 = Color3.fromRGB(255,255,255) tpfrombeast.TextSize = 20 tpfrombeast.TextStrokeTransparency = 0 tpfrombeast.TextWrapped = true playername.Name = "PlayerName" playername.Parent = menu playername.BackgroundColor3 = Color3.fromRGB(49,49,49) playername.BorderSizePixel = 0 playername.Position = UDim2.new(0.589, 0, 0.483, 0) playername.Size = UDim2.new(0, 164, 0, 23) playername.Font = Enum.Font.Highway playername.Text = "Player Name" playername.TextColor3 = Color3.fromRGB(255,255,255) playername.TextSize = 20 playername.TextStrokeTransparency = 0 playername.TextWrapped = true tptoplayer.Name = "TpToPlayer" tptoplayer.Parent = menu tptoplayer.BackgroundColor3 = Color3.fromRGB(49,49,49) tptoplayer.BorderSizePixel = 0 tptoplayer.Position = UDim2.new(0.589, 0, 0.607, 0) tptoplayer.Size = UDim2.new(0, 164, 0, 23) tptoplayer.Font = Enum.Font.Highway tptoplayer.Text = "TP to player" tptoplayer.TextColor3 = Color3.fromRGB(255,255,255) tptoplayer.TextSize = 20 tptoplayer.TextStrokeTransparency = 0 tptoplayer.TextWrapped = true tptoexit.Name = "TpToExit" tptoexit.Parent = menu tptoexit.BackgroundColor3 = Color3.fromRGB(49,49,49) tptoexit.BorderSizePixel = 0 tptoexit.Position = UDim2.new(0.053, 0, 0.729, 0) tptoexit.Size = UDim2.new(0, 164, 0, 23) tptoexit.Font = Enum.Font.Highway tptoexit.Text = "TP to an exit" tptoexit.TextColor3 = Color3.fromRGB(255,255,255) tptoexit.TextSize = 20 tptoexit.TextStrokeTransparency = 0 tptoexit.TextWrapped = true currentmap.Name = "CurrentMap" currentmap.Parent = menu currentmap.BackgroundTransparency = 1 currentmap.Position = UDim2.new(0.303, 0, 0.883, 0) currentmap.Size = UDim2.new(0, 179, 0, 23) currentmap.Font = Enum.Font.Highway currentmap.Text = "Map: None" currentmap.TextColor3 = Color3.fromRGB(255,255,255) currentmap.TextScaled = true currentmap.TextStrokeTransparency = 0 currentmap.TextWrapped = true currentmapvalue.Name = "Map" currentmapvalue.Parent = currentmap discord.Name = "Discord" discord.Parent = menu discord.BackgroundTransparency = 1 discord.Position = UDim2.new(0.301, 0, 0.35, 0) discord.Size = UDim2.new(0, 179, 0, 23) discord.Font = Enum.Font.Highway discord.Text = "RemoSpy#2520" discord.TextColor3 = Color3.fromRGB(255,255,255) discord.TextScaled = true discord.TextStrokeTransparency = 0 discord.TextWrapped = true close.MouseButton1Down:connect(function() gui:Destroy() end) abandonedfacility.MouseButton1Down:connect(function() currentmapvalue.Value = "Abandoned Facility by iiGalaxyKoala, Vexhins, and cyrda" currentmap.Text = "Map: Abandoned Facility" end) abandonedprison.MouseButton1Down:connect(function() currentmapvalue.Value = "Abandoned Prison by AtomixKing and Duck_Ify" currentmap.Text = "Map: Abandoned Prison" end) facility0.MouseButton1Down:connect(function() currentmapvalue.Value = "Facility_0 by MrWindy" currentmap.Text = "Map: Facility_0" end) tptocomp.MouseButton1Down:connect(function() local pc = game.Workspace:FindFirstChild(currentmapvalue.Value):FindFirstChild("ComputerTable") if pc.Screen.BrickColor == BrickColor.new("Dark green") then pc.Name = "HackedPC" return end if pc.Screen.BrickColor == BrickColor.new("Bright blue") or pc.Screen.BrickColor == BrickColor.new("Bright red") then if currentmapvalue.Value == "Abandoned Facility by iiGalaxyKoala, Vexhins, and cyrda" then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(pc.BasePart.Position.X, pc.BasePart.Position.Y + 6, pc.BasePart.Position.Z) elseif currentmapvalue.Value == "Facility_0 by MrWindy" or currentmapvalue.Value == "Abandoned Prison by AtomixKing and Duck_Ify" then pc.ClearWall.CanCollide = false game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(pc.BasePart.Position.X, pc.BasePart.Position.Y + 6, pc.BasePart.Position.Z) end end end) tpfrombeast.MouseButton1Down:connect(function() local collide = game.Workspace:FindFirstChild(currentmapvalue.Value):FindFirstChild("FreezePod"):GetChildren() local tp = game.Workspace:FindFirstChild(currentmapvalue.Value):FindFirstChild("FreezePod") collide.CanCollide = false game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(tp.BasePart.Position.X, tp.BasePart.Position.Y + 3, tp.BasePart.Position.Z) end) tptoexit.MouseButton1Down:connect(function() local exit = game.Workspace:FindFirstChild(currentmapvalue.Value):FindFirstChild("ExitDoor") local exdoorpos = exit.Light.Position local humrootpart = game.Players.LocalPlayer.Character.HumanoidRootPart humrootpart.CFrame = CFrame.new(exdoorpos.X, exdoorpos.Y - 4.5, exdoorpos.Z) end) tptoplayer.MouseButton1Down:connect(function() game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace:FindFirstChild(playername.Text).HumanoidRootPart.Position) end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement