Advertisement
debanhiescobar171

Flee The Facility Script 26/11/2024"

Nov 26th, 2024
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.96 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wizard"))()
  2.  
  3. -- Crear la ventana principal
  4. local PhantomWindow = Library:NewWindow("Flee The Facility 2024")
  5.  
  6. -- Variables y servicios principales
  7. local Players = game:GetService("Players")
  8. local RunService = game:GetService("RunService")
  9. local LocalPlayer = Players.LocalPlayer
  10. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  11.  
  12. -- Configuración global
  13. getgenv().Settings = {
  14.     ESP = {
  15.         Players = false,
  16.         Computers = false,
  17.         Beast = false
  18.     },
  19.     Movement = {
  20.         SpeedEnabled = false,
  21.         SpeedValue = 23,
  22.         NoclipEnabled = false
  23.     },
  24.     Game = {
  25.         AutoHack = false,
  26.         AutoRescue = false,
  27.         GodMode = false
  28.     }
  29. }
  30.  
  31. -- Crear las pestañas principales
  32. local MainTab = PhantomWindow:NewSection("Principal")
  33. local VisualTab = PhantomWindow:NewSection("Visuales")
  34. local MovementTab = PhantomWindow:NewSection("Movimiento")
  35. local MiscTab = PhantomWindow:NewSection("Extras")
  36.  
  37. -- Función ESP actualizada
  38. local function CreateESP(object, text, color)
  39.     local ESP = Drawing.new("Text")
  40.     ESP.Visible = false
  41.     ESP.Center = true
  42.     ESP.Outline = true
  43.     ESP.Font = 2
  44.     ESP.Color = color
  45.     ESP.Size = 13
  46.  
  47.     RunService.RenderStepped:Connect(function()
  48.         if object and object.Parent ~= nil then
  49.             local Vector, OnScreen = workspace.CurrentCamera:WorldToViewportPoint(object.Position)
  50.             if OnScreen then
  51.                 ESP.Position = Vector2.new(Vector.X, Vector.Y)
  52.                 ESP.Text = text
  53.                 ESP.Visible = true
  54.             else
  55.                 ESP.Visible = false
  56.             end
  57.         else
  58.             ESP.Visible = false
  59.             ESP:Remove()
  60.         end
  61.     end)
  62.     return ESP
  63. end
  64.  
  65. -- ESP Jugadores
  66. VisualTab:NewToggle("ESP Jugadores", "Ver a través de las paredes", function(state)
  67.     getgenv().Settings.ESP.Players = state
  68.     while getgenv().Settings.ESP.Players do
  69.         for _, player in pairs(Players:GetPlayers()) do
  70.             if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  71.                 CreateESP(player.Character.HumanoidRootPart, player.Name, Color3.fromRGB(255, 255, 255))
  72.             end
  73.         end
  74.         wait(1)
  75.     end
  76. end)
  77.  
  78. -- ESP Computadoras
  79. VisualTab:NewToggle("ESP Computadoras", "Ver computadoras", function(state)
  80.     getgenv().Settings.ESP.Computers = state
  81.     while getgenv().Settings.ESP.Computers do
  82.         for _, comp in pairs(workspace:GetDescendants()) do
  83.             if comp.Name == "Computer" then
  84.                 CreateESP(comp, "Computadora", Color3.fromRGB(0, 255, 0))
  85.             end
  86.         end
  87.         wait(1)
  88.     end
  89. end)
  90.  
  91. -- Velocidad
  92. MovementTab:NewToggle("Velocidad", "Aumentar velocidad", function(state)
  93.     getgenv().Settings.Movement.SpeedEnabled = state
  94.     while getgenv().Settings.Movement.SpeedEnabled do
  95.         if Character and Character:FindFirstChild("Humanoid") then
  96.             Character.Humanoid.WalkSpeed = getgenv().Settings.Movement.SpeedValue
  97.         end
  98.         wait()
  99.     end
  100. end)
  101.  
  102. -- Slider de velocidad
  103. MovementTab:NewSlider("Ajustar Velocidad", "Cambiar velocidad", 100, 16, function(value)
  104.     getgenv().Settings.Movement.SpeedValue = value
  105. end)
  106.  
  107. -- Auto Hack
  108. MainTab:NewToggle("Auto Hack", "Hackear automáticamente", function(state)
  109.     getgenv().Settings.Game.AutoHack = state
  110.     while getgenv().Settings.Game.AutoHack do
  111.         for _, comp in pairs(workspace:GetDescendants()) do
  112.             if comp.Name == "Computer" and comp:FindFirstChild("HackPart") then
  113.                 local distance = (comp.HackPart.Position - Character.HumanoidRootPart.Position).Magnitude
  114.                 if distance <= 10 then
  115.                     fireproximityprompt(comp.HackPart.ProximityPrompt)
  116.                 end
  117.             end
  118.         end
  119.         wait(0.1)
  120.     end
  121. end)
  122.  
  123. -- God Mode
  124. MiscTab:NewToggle("God Mode", "Inmunidad", function(state)
  125.     getgenv().Settings.Game.GodMode = state
  126.     while getgenv().Settings.Game.GodMode do
  127.         if Character and Character:FindFirstChild("Humanoid") then
  128.             Character.Humanoid.MaxHealth = math.huge
  129.             Character.Humanoid.Health = math.huge
  130.         end
  131.         wait(0.1)
  132.     end
  133. end)
  134.  
  135. -- Noclip
  136. MovementTab:NewToggle("Noclip", "Atravesar paredes", function(state)
  137.     getgenv().Settings.Movement.NoclipEnabled = state
  138.     RunService.Stepped:Connect(function()
  139.         if getgenv().Settings.Movement.NoclipEnabled then
  140.             for _, part in pairs(Character:GetDescendants()) do
  141.                 if part:IsA("BasePart") then
  142.                     part.CanCollide = false
  143.                 end
  144.             end
  145.         end
  146.     end)
  147. end)
  148.  
  149. -- Tecla para minimizar
  150. MainTab:NewKeybind("Minimizar GUI", "Ocultar/Mostrar menú", Enum.KeyCode.RightControl, function()
  151.     Library:ToggleUI()
  152. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement